@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

.posx-app.posx-mode-retail,
.posx-app.posx-mode-butchery,
.posx-app.posx-mode-fastfood {
    padding: 18px;
    background:
        radial-gradient(circle at top right, rgba(191, 21, 36, 0.04), transparent 26%),
        linear-gradient(180deg, #f4f2ef 0%, #ebe8e3 100%);
    font-family: "Manrope", "Segoe UI", sans-serif;
}

.posx-app.posx-mode-retail .posx-shell,
.posx-app.posx-mode-butchery .posx-shell,
.posx-app.posx-mode-fastfood .posx-shell {
    display: none;
}

.posx-svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.posx-mode-product-art .posx-svg,
.posx-mode-order-thumb .posx-svg {
    width: 74px;
    height: 74px;
    stroke-width: 1.5;
}

.posx-mode-product-art-fastfood .posx-svg {
    width: 82px;
    height: 82px;
}

.posx-mode-media-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.posx-mode-shell {
    display: grid;
    min-height: 100%;
    gap: 16px;
}

.posx-mode-shell-retail {
    grid-template-columns: 74px minmax(0, 1fr);
}

.posx-mode-board {
    min-width: 0;
    min-height: 0;
}

.posx-mode-board-retail,
.posx-mode-board-fastfood {
    display: grid;
    gap: 14px;
    border: 1px solid rgba(25, 21, 18, 0.06);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 28px 70px rgba(19, 14, 10, 0.08);
}

.posx-mode-board-retail {
    padding: 14px;
    border-radius: 28px;
}

.posx-mode-board-fastfood {
    padding: 14px;
    border-radius: 26px;
}

.posx-mode-header,
.posx-mode-catalog-panel,
.posx-mode-order-panel,
.posx-mode-product-card,
.posx-mode-chip,
.posx-mode-date-pill,
.posx-mode-avatar-pill,
.posx-mode-brand-pill,
.posx-mode-inline-action,
.posx-mode-primary-action,
.posx-mode-secondary-action,
.posx-mode-mini-action,
.posx-mode-filter,
.posx-mode-search-box,
.posx-mode-promo-card,
.posx-mode-summary-card,
.posx-mode-order-title,
.posx-mode-payment-shortcut-primary,
.posx-mode-payment-shortcut-secondary,
.posx-mode-order-item,
.posx-mode-order-remove,
.posx-mode-product-expand,
.posx-mode-rail {
    border-radius: 22px;
}

.posx-mode-rail {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 14px 8px;
    background: linear-gradient(180deg, #111214 0%, #1f2125 100%);
    box-shadow: 0 24px 56px rgba(12, 12, 14, 0.22);
}

.posx-mode-rail-brand,
.posx-mode-rail-user,
.posx-mode-rail-btn {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    display: grid;
    place-items: center;
}

.posx-mode-rail-brand {
    background: linear-gradient(145deg, #f0ffb8 0%, #d9f06a 100%);
    color: #1b1e10;
}

.posx-mode-rail-stack {
    display: grid;
    gap: 10px;
}

.posx-mode-rail-btn {
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
}

.posx-mode-rail-btn.is-active {
    background: linear-gradient(145deg, #dc2939 0%, #8a0d17 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
}

.posx-mode-rail-user {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.78);
}

.posx-mode-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.posx-mode-header-copy h1 {
    margin: 4px 0 0;
    color: #191614;
    font-size: 31px;
    line-height: 1.05;
    font-weight: 700;
}

.posx-mode-header-copy-fastfood h1 {
    font-size: 17px;
    font-weight: 700;
}

.posx-mode-kicker,
.posx-mode-panel-label {
    color: #8d867f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.posx-mode-header-actions,
.posx-mode-header-cluster,
.posx-mode-summary-pills,
.posx-mode-payment-choice,
.posx-mode-order-strip,
.posx-mode-table-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.posx-mode-chip,
.posx-mode-date-pill,
.posx-mode-avatar-pill,
.posx-mode-brand-pill {
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid rgba(24, 20, 17, 0.08);
    background: #ffffff;
    color: #171513;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(18, 12, 9, 0.04);
}

.posx-mode-chip-quiet {
    background: #faf7f3;
}

.posx-mode-chip-icon {
    width: 44px;
    padding: 0;
}

.posx-mode-chip-profile {
    padding-right: 12px;
}

.posx-mode-chip-profile-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #131417 0%, #383b42 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
}

.posx-mode-avatar-group {
    display: inline-flex;
    align-items: center;
    padding-right: 6px;
}

.posx-mode-avatar-group span {
    width: 32px;
    height: 32px;
    margin-left: -8px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #1c1d21 0%, #4a4b50 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
}

.posx-mode-avatar-group span:first-child {
    margin-left: 0;
}

.posx-mode-brand-pill {
    padding: 0 14px;
    background: #f3efe7;
    color: #161412;
    text-transform: lowercase;
    font-weight: 800;
}

.posx-mode-date-pill {
    background: rgba(255, 255, 255, 0.92);
}

.posx-mode-main-retail,
.posx-mode-main-fastfood {
    display: grid;
    gap: 14px;
    min-height: 0;
}

.posx-mode-main-retail {
    grid-template-columns: minmax(0, 1fr) 378px;
}

.posx-mode-main-fastfood {
    grid-template-columns: minmax(0, 1.35fr) 438px;
}

.posx-mode-catalog-panel,
.posx-mode-order-panel {
    min-height: 0;
    border: 1px solid rgba(24, 20, 17, 0.06);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(18, 12, 9, 0.05);
}

.posx-mode-catalog-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    padding: 14px;
}

.posx-mode-order-panel {
    display: grid;
    gap: 12px;
    padding: 14px;
}

.posx-mode-order-panel-retail {
    grid-template-rows: auto minmax(0, 1fr) auto auto auto auto auto;
}

.posx-mode-order-panel-fastfood {
    grid-template-rows: auto minmax(0, 1fr) auto auto auto auto auto;
}

.posx-mode-toolbar {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

.posx-mode-toolbar-fastfood {
    grid-template-columns: minmax(210px, 320px) minmax(0, 1fr);
    align-items: center;
}

.posx-mode-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.posx-mode-filter {
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(24, 20, 17, 0.06);
    background: #ffffff;
    color: #26211e;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
}

.posx-mode-filter small {
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: #f1ede7;
    color: #726961;
    font-size: 10px;
    font-weight: 800;
}

.posx-mode-filter.is-active {
    background: #fff3f4;
    color: #ae1122;
    border-color: rgba(174, 17, 34, 0.12);
}

.posx-mode-filter.is-active small {
    background: linear-gradient(145deg, #de2938 0%, #8d0d17 100%);
    color: #ffffff;
}

.posx-mode-search-box {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(24, 20, 17, 0.06);
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(18, 12, 9, 0.04);
}

.posx-mode-search-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #7f7870;
    margin-right: 10px;
}

.posx-mode-retail #posx-search-input,
.posx-mode-butchery #posx-search-input,
.posx-mode-fastfood #posx-search-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    color: #191614;
    font-size: 14px;
    font-weight: 600;
}

.posx-mode-retail #posx-search-input::placeholder,
.posx-mode-butchery #posx-search-input::placeholder,
.posx-mode-fastfood #posx-search-input::placeholder {
    color: #a39b93;
}

.posx-mode-retail .posx-search-results,
.posx-mode-butchery .posx-search-results,
.posx-mode-fastfood .posx-search-results {
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    border: 1px solid rgba(24, 20, 17, 0.06);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 26px 54px rgba(18, 12, 9, 0.1);
    max-height: 340px;
}

.posx-mode-retail .posx-search-item,
.posx-mode-retail .posx-search-empty,
.posx-mode-butchery .posx-search-item,
.posx-mode-butchery .posx-search-empty,
.posx-mode-fastfood .posx-search-item,
.posx-mode-fastfood .posx-search-empty {
    border-bottom: 1px solid rgba(24, 20, 17, 0.06);
    color: #26211e;
}

.posx-mode-retail .posx-search-item:hover,
.posx-mode-butchery .posx-search-item:hover,
.posx-mode-fastfood .posx-search-item:hover {
    background: #faf6f1;
}

.posx-mode-retail .posx-search-item.is-active,
.posx-mode-butchery .posx-search-item.is-active,
.posx-mode-fastfood .posx-search-item.is-active {
    background: #fff3f4;
    outline: 1px solid rgba(174, 17, 34, 0.1);
}

.posx-mode-catalog-grid {
    display: grid;
    gap: 14px;
    min-height: 0;
    overflow: auto;
}

.posx-mode-catalog-grid-retail {
    grid-template-columns: repeat(auto-fill, minmax(208px, 1fr));
}

.posx-mode-catalog-grid-fastfood {
    grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
}

.posx-mode-product-card {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(24, 20, 17, 0.05);
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(18, 12, 9, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.posx-mode-product-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(18, 12, 9, 0.08);
}

.posx-mode-product-card.is-in-cart {
    border-color: rgba(174, 17, 34, 0.12);
}

.posx-mode-product-card.is-selected {
    border-color: rgba(19, 19, 19, 0.14);
}

.posx-mode-product-badge,
.posx-mode-product-count {
    position: absolute;
    top: 10px;
    z-index: 2;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #16171a;
    color: #fcf5f1;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.posx-mode-product-badge {
    left: 10px;
}

.posx-mode-product-count {
    right: 10px;
    background: linear-gradient(145deg, #de2938 0%, #8d0d17 100%);
}

.posx-mode-product-thumb {
    min-height: 162px;
    border: 1px solid rgba(24, 20, 17, 0.05);
    background: linear-gradient(180deg, #f7f3ee 0%, #f3efe8 100%);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.posx-mode-product-expand {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(24, 20, 17, 0.06);
    background: rgba(255, 255, 255, 0.96);
    color: #66615a;
    display: grid;
    place-items: center;
}

.posx-mode-product-art {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #26221f;
}

.posx-mode-art-0 {
    background: linear-gradient(145deg, #fdfbf8 0%, #eee6dc 100%);
}

.posx-mode-art-1 {
    background: linear-gradient(145deg, #fbfaf7 0%, #e6e2db 100%);
}

.posx-mode-art-2 {
    background: linear-gradient(145deg, #fffaf6 0%, #ead9cb 100%);
}

.posx-mode-art-3 {
    background: linear-gradient(145deg, #fffaf8 0%, #ead6d8 100%);
}

.posx-mode-art-4 {
    background: linear-gradient(145deg, #fcfbfb 0%, #e7dfdb 100%);
}

.posx-mode-art-5 {
    background: linear-gradient(145deg, #fcfbf7 0%, #e7dfd1 100%);
}

.posx-mode-product-copy {
    display: grid;
    gap: 4px;
}

.posx-mode-product-copy strong {
    color: #191614;
    font-size: 16px;
    line-height: 1.24;
    font-weight: 700;
}

.posx-mode-product-copy p {
    margin: 0;
    color: #8f867d;
    font-size: 11px;
    line-height: 1.45;
}

.posx-mode-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.posx-mode-product-price {
    color: #191614;
    font-size: 16px;
    font-weight: 700;
}

.posx-mode-product-add {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(174, 17, 34, 0.1);
    background: #ffffff;
    color: #1e1a18;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
}

.posx-mode-product-add .posx-svg {
    width: 14px;
    height: 14px;
    color: #ad1223;
}

.posx-mode-product-add-square {
    width: 38px;
    min-width: 38px;
    padding: 0;
    border-radius: 12px;
    background: #1b1c20;
    color: #ffffff;
    border-color: #1b1c20;
}

.posx-mode-product-add-square .posx-svg {
    color: #ffffff;
}

.posx-mode-product-card-fastfood .posx-mode-product-thumb {
    min-height: 156px;
}

.posx-mode-product-card-fastfood .posx-mode-product-copy strong {
    font-size: 14px;
}

.posx-mode-order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.posx-mode-order-header strong {
    display: block;
    margin-top: 4px;
    color: #1a1715;
    font-size: 19px;
    font-weight: 700;
}

.posx-mode-order-topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
}

.posx-mode-order-title {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(24, 20, 17, 0.06);
    background: #ffffff;
    color: #1b1715;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
}

.posx-mode-cart-body {
    min-height: 0;
    background: transparent;
    padding-right: 4px;
}

.posx-mode-cart-body .posx-empty {
    min-height: 180px;
    border: 1px dashed rgba(24, 20, 17, 0.08);
    background: rgba(255, 255, 255, 0.75);
    color: #8f867d;
    font-size: 17px;
    border-radius: 18px;
}

.posx-mode-order-item {
    position: relative;
    padding: 10px;
    border: 1px solid rgba(24, 20, 17, 0.05);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(18, 12, 9, 0.04);
}

.posx-mode-order-main.posx-cart-row {
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 0;
    border: none;
    background: transparent;
    align-items: center;
}

.posx-mode-order-main div {
    text-align: left;
}

.posx-mode-order-thumb {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    color: #28231f;
}

.posx-mode-order-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.posx-mode-order-copy strong {
    color: #1b1715;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.22;
}

.posx-mode-order-copy span,
.posx-mode-order-copy small {
    color: #8a8279;
    font-size: 11px;
}

.posx-mode-order-total {
    color: #1b1715;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.posx-mode-order-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.posx-mode-order-control {
    min-width: 36px;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid rgba(24, 20, 17, 0.08);
    background: #fbf8f4;
    color: #1d1916;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.posx-mode-order-control .posx-svg {
    width: 14px;
    height: 14px;
}

.posx-mode-order-control.is-value {
    min-width: 74px;
    background: #ffffff;
}

.posx-mode-order-control.is-accent {
    background: #fff3f4;
    color: #ad1223;
}

.posx-mode-order-control.is-icon {
    pointer-events: none;
    color: #8b847c;
}

.posx-mode-order-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(174, 17, 34, 0.12);
    background: #fff2f3;
    color: #b11425;
    display: grid;
    place-items: center;
    z-index: 2;
}

.posx-mode-order-remove-fastfood {
    width: 38px;
    height: 38px;
    background: #ff6d76;
    color: #ffffff;
    border-color: rgba(177, 25, 39, 0.18);
}

.posx-mode-order-item-fastfood .posx-mode-order-main.posx-cart-row {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: stretch;
}

.posx-mode-order-item-fastfood .posx-mode-order-controls {
    margin-top: 8px;
    justify-content: flex-end;
}

.posx-mode-order-controls-fastfood {
    grid-column: 2;
}

.posx-mode-promo-card {
    width: 100%;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid rgba(24, 20, 17, 0.06);
    background: #faf7f3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
}

.posx-mode-promo-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #ffffff;
    color: #191614;
    box-shadow: 0 8px 18px rgba(18, 12, 9, 0.05);
}

.posx-mode-promo-copy {
    flex: 1 1 auto;
    display: grid;
    gap: 2px;
}

.posx-mode-promo-copy strong {
    color: #1a1715;
    font-size: 13px;
    font-weight: 700;
}

.posx-mode-promo-copy small {
    color: #90877e;
    font-size: 11px;
}

.posx-mode-promo-action {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #ffe7ea;
    color: #b11425;
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 800;
}

.posx-mode-summary-card {
    padding: 14px;
    background: linear-gradient(180deg, #fffdfa 0%, #f8f2ec 100%);
}

.posx-mode-status-stack {
    flex-direction: row;
    justify-content: flex-start;
    min-width: 0;
    padding-bottom: 0;
}

.posx-mode-status-stack .posx-status-badge {
    min-height: 28px;
    font-size: 10px;
    letter-spacing: 0.06em;
}

.posx-mode-summary-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 10px;
    color: #6f675f;
    font-size: 13px;
    font-weight: 600;
}

.posx-mode-summary-grid .posx-total-label,
.posx-mode-summary-grid .posx-total-value {
    color: #171513;
    font-size: 26px;
}

.posx-mode-summary-grid-fastfood .posx-total-label,
.posx-mode-summary-grid-fastfood .posx-total-value {
    font-size: 24px;
}

.posx-mode-summary-pills .posx-currency-pill,
.posx-mode-summary-pills .posx-exchange-pill {
    align-self: auto;
}

.posx-mode-payment-choice {
    display: grid;
    gap: 10px;
}

.posx-mode-payment-shortcut-primary,
.posx-mode-payment-shortcut-secondary {
    width: 100%;
    border: 1px solid rgba(24, 20, 17, 0.06);
    background: #ffffff;
    color: #191614;
    box-shadow: 0 10px 24px rgba(18, 12, 9, 0.04);
}

.posx-mode-payment-shortcut-primary {
    min-height: 54px;
    padding: 0 14px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.posx-mode-payment-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #fff0f2;
    color: #b11425;
}

.posx-mode-payment-copy {
    flex: 1 1 auto;
    display: grid;
    gap: 2px;
    text-align: left;
}

.posx-mode-payment-copy strong {
    font-size: 13px;
    font-weight: 700;
}

.posx-mode-payment-copy small {
    color: #938b82;
    font-size: 11px;
}

.posx-mode-payment-shortcut-primary .posx-key {
    color: #b11425;
    font-size: 11px;
    font-weight: 800;
}

.posx-mode-payment-shortcut-secondary {
    min-height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.posx-mode-payment-choice-fastfood {
    grid-template-columns: minmax(0, 1fr);
}

.posx-mode-payment-choice-fastfood .posx-mode-payment-shortcut-primary {
    background: #faf7f3;
}

.posx-mode-primary-action,
.posx-mode-secondary-action,
.posx-mode-inline-action,
.posx-mode-mini-action {
    min-height: 48px;
    border: 1px solid rgba(24, 20, 17, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(18, 12, 9, 0.04);
}

.posx-mode-primary-action {
    background: linear-gradient(145deg, #de2938 0%, #8d0d17 100%);
    color: #ffffff;
    border-color: rgba(174, 17, 34, 0.16);
    font-size: 14px;
    font-weight: 800;
}

.posx-mode-secondary-action,
.posx-mode-inline-action,
.posx-mode-mini-action {
    background: #ffffff;
    color: #191614;
}

.posx-mode-inline-action-wide {
    width: 100%;
}

.posx-mode-actions-grid-retail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.posx-mode-actions-grid-fastfood {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.posx-mode-mini-action-danger {
    background: #fff0f2;
    color: #b11425;
}

.posx-mode-mini-action.is-disabled,
.posx-mode-mini-action[disabled] {
    opacity: 0.38;
    cursor: not-allowed;
}

@media (max-width: 1400px) {
    .posx-mode-main-retail {
        grid-template-columns: minmax(0, 1fr) 356px;
    }

    .posx-mode-main-fastfood {
        grid-template-columns: minmax(0, 1fr) 390px;
    }
}

@media (max-width: 1180px) {
    .posx-mode-shell-retail {
        grid-template-columns: 1fr;
    }

    .posx-mode-rail {
        flex-direction: row;
        justify-content: space-between;
    }

    .posx-mode-rail-stack {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (max-width: 1080px) {
    .posx-app.posx-mode-retail,
    .posx-app.posx-mode-fastfood {
        height: auto;
    }

    .posx-mode-main-retail,
    .posx-mode-main-fastfood {
        grid-template-columns: 1fr;
    }

    .posx-mode-toolbar-fastfood {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .posx-app.posx-mode-retail,
    .posx-app.posx-mode-fastfood {
        padding: 12px;
    }

    .posx-mode-board-retail,
    .posx-mode-board-fastfood,
    .posx-mode-catalog-panel,
    .posx-mode-order-panel {
        padding: 12px;
    }

    .posx-mode-header {
        flex-direction: column;
        align-items: stretch;
    }

    .posx-mode-header-actions,
    .posx-mode-header-cluster {
        justify-content: flex-start;
    }

    .posx-mode-catalog-grid-retail,
    .posx-mode-catalog-grid-fastfood {
        grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
    }

    .posx-mode-actions-grid-retail,
    .posx-mode-actions-grid-fastfood {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .posx-mode-order-topbar {
        grid-template-columns: 1fr;
    }

    .posx-mode-table-row {
        display: grid;
        grid-template-columns: 1fr;
    }
}

.posx-app.posx-mode-retail {
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(191, 21, 36, 0.05), transparent 24%),
        linear-gradient(180deg, #efede9 0%, #e5e0d8 100%);
}

.posx-app.posx-mode-retail .posx-mode-shell-retail,
.posx-app.posx-mode-fastfood .posx-mode-shell-fastfood {
    max-width: 1580px;
    width: 100%;
    margin: 0 auto;
}

.posx-app.posx-mode-retail .posx-mode-board-retail {
    padding: 16px 18px 18px;
    border: 5px solid #1a1715;
    border-radius: 30px;
    background: #ffffff;
    box-shadow:
        0 30px 64px rgba(20, 14, 10, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.posx-app.posx-mode-retail .posx-mode-rail {
    padding: 14px 10px;
    border-radius: 28px;
    background: linear-gradient(180deg, #101114 0%, #1a1b1f 100%);
    box-shadow: 0 26px 48px rgba(17, 12, 10, 0.2);
}

.posx-app.posx-mode-retail .posx-mode-rail-brand,
.posx-app.posx-mode-retail .posx-mode-rail-user,
.posx-app.posx-mode-retail .posx-mode-rail-btn {
    width: 40px;
    height: 40px;
    border-radius: 14px;
}

.posx-app.posx-mode-retail .posx-mode-rail-brand {
    background: linear-gradient(180deg, #ff8691 0%, #d31e30 100%);
    color: #ffffff;
}

.posx-app.posx-mode-retail .posx-mode-rail-stack {
    gap: 9px;
}

.posx-app.posx-mode-retail .posx-mode-rail-btn {
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.posx-app.posx-mode-retail .posx-mode-rail-btn.is-active {
    background: linear-gradient(180deg, #ff7f8b 0%, #d31d2f 100%);
    box-shadow: 0 10px 18px rgba(177, 20, 37, 0.28);
}

.posx-app.posx-mode-retail .posx-mode-header {
    padding: 2px 2px 6px;
}

.posx-app.posx-mode-retail .posx-mode-header-copy h1 {
    margin-top: 2px;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.posx-app.posx-mode-retail .posx-mode-kicker {
    font-size: 10px;
    letter-spacing: 0.09em;
}

.posx-app.posx-mode-retail .posx-mode-chip,
.posx-app.posx-mode-retail .posx-mode-date-pill {
    min-height: 42px;
    border-radius: 15px;
    border-color: rgba(24, 20, 17, 0.07);
    box-shadow: 0 8px 18px rgba(18, 12, 9, 0.04);
}

.posx-app.posx-mode-retail .posx-mode-chip-icon {
    width: 42px;
}

.posx-app.posx-mode-retail .posx-mode-avatar-group span {
    width: 28px;
    height: 28px;
    font-size: 9px;
}

.posx-app.posx-mode-retail .posx-mode-main-retail {
    grid-template-columns: minmax(0, 1fr) 356px;
    gap: 16px;
}

.posx-app.posx-mode-retail .posx-mode-catalog-panel {
    padding: 12px;
    border-radius: 24px;
    border-color: rgba(24, 20, 17, 0.05);
    background: #fbfaf8;
    box-shadow: none;
}

.posx-app.posx-mode-retail .posx-mode-toolbar {
    grid-template-columns: minmax(0, 1fr) 214px;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.posx-app.posx-mode-retail .posx-mode-filters {
    gap: 8px;
    min-width: 0;
}

.posx-app.posx-mode-retail .posx-mode-filter {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 12px;
    border-color: rgba(24, 20, 17, 0.05);
    background: #ffffff;
    font-size: 11px;
    font-weight: 700;
    box-shadow: none;
}

.posx-app.posx-mode-retail .posx-mode-filter small {
    min-width: 18px;
    height: 18px;
    font-size: 9px;
    background: #f3f0eb;
}

.posx-app.posx-mode-retail .posx-mode-filter.is-active {
    background: #ffffff;
    color: #201b18;
    border-color: rgba(177, 20, 37, 0.12);
}

.posx-app.posx-mode-retail .posx-mode-filter.is-active small {
    background: linear-gradient(180deg, #ff7c88 0%, #d41f30 100%);
    box-shadow: 0 8px 16px rgba(177, 20, 37, 0.18);
}

.posx-app.posx-mode-retail .posx-mode-search-box {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 14px;
    box-shadow: none;
}

.posx-app.posx-mode-retail .posx-mode-search-glyph {
    margin-right: 8px;
}

.posx-app.posx-mode-retail .posx-mode-catalog-grid-retail {
    grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
    gap: 12px;
}

.posx-app.posx-mode-retail .posx-mode-product-card-retail {
    gap: 8px;
    padding: 8px 8px 10px;
    border-radius: 18px;
    border-color: rgba(24, 20, 17, 0.04);
    box-shadow: 0 10px 22px rgba(18, 12, 9, 0.04);
}

.posx-app.posx-mode-retail .posx-mode-product-badge,
.posx-app.posx-mode-retail .posx-mode-product-count {
    top: 8px;
    min-height: 20px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 9px;
}

.posx-app.posx-mode-retail .posx-mode-product-badge {
    left: 8px;
}

.posx-app.posx-mode-retail .posx-mode-product-count {
    right: 8px;
}

.posx-app.posx-mode-retail .posx-mode-product-thumb {
    min-height: 110px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f5f3ef 0%, #f0ece5 100%);
}

.posx-app.posx-mode-retail .posx-mode-product-art .posx-svg,
.posx-app.posx-mode-retail .posx-mode-order-thumb .posx-svg {
    width: 66px;
    height: 66px;
}

.posx-app.posx-mode-retail .posx-mode-product-copy {
    gap: 3px;
}

.posx-app.posx-mode-retail .posx-mode-product-copy strong {
    font-size: 13px;
    line-height: 1.28;
}

.posx-app.posx-mode-retail .posx-mode-product-copy p {
    font-size: 10px;
    line-height: 1.42;
}

.posx-app.posx-mode-retail .posx-mode-product-price {
    font-size: 14px;
}

.posx-app.posx-mode-retail .posx-mode-product-add {
    min-height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    color: #151210;
    font-size: 10px;
    font-weight: 700;
}

.posx-app.posx-mode-retail .posx-mode-product-add .posx-svg {
    width: 12px;
    height: 12px;
}

.posx-app.posx-mode-retail .posx-mode-order-panel-retail {
    gap: 10px;
    padding: 14px;
    border-radius: 24px;
    border-color: rgba(24, 20, 17, 0.05);
    background: #fbfaf8;
    box-shadow: none;
}

.posx-app.posx-mode-retail .posx-mode-order-header strong {
    margin-top: 3px;
    font-size: 16px;
}

.posx-app.posx-mode-retail .posx-mode-cart-body {
    padding-right: 0;
}

.posx-app.posx-mode-retail .posx-mode-order-item {
    padding: 11px;
    border-radius: 18px;
    border-color: rgba(24, 20, 17, 0.04);
    box-shadow: 0 8px 20px rgba(18, 12, 9, 0.04);
}

.posx-app.posx-mode-retail .posx-mode-order-main.posx-cart-row {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 10px;
}

.posx-app.posx-mode-retail .posx-mode-order-thumb {
    width: 56px;
    height: 56px;
    border-radius: 14px;
}

.posx-app.posx-mode-retail .posx-mode-order-remove {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 12px;
}

.posx-app.posx-mode-retail .posx-mode-order-copy strong {
    font-size: 13px;
}

.posx-app.posx-mode-retail .posx-mode-order-copy span,
.posx-app.posx-mode-retail .posx-mode-order-copy small {
    font-size: 10px;
}

.posx-app.posx-mode-retail .posx-mode-order-total {
    font-size: 13px;
}

.posx-app.posx-mode-retail .posx-mode-order-controls {
    gap: 6px;
    margin-top: 8px;
}

.posx-app.posx-mode-retail .posx-mode-order-control {
    min-width: 32px;
    min-height: 32px;
    border-radius: 11px;
}

.posx-app.posx-mode-retail .posx-mode-order-control.is-value {
    min-width: 60px;
}

.posx-app.posx-mode-retail .posx-mode-promo-card,
.posx-app.posx-mode-retail .posx-mode-summary-card,
.posx-app.posx-mode-retail .posx-mode-payment-shortcut-primary,
.posx-app.posx-mode-retail .posx-mode-payment-shortcut-secondary {
    border-color: rgba(24, 20, 17, 0.05);
    box-shadow: 0 8px 18px rgba(18, 12, 9, 0.04);
}

.posx-app.posx-mode-retail .posx-mode-promo-card {
    min-height: 56px;
    padding: 10px 12px;
    background: #ffffff;
}

.posx-app.posx-mode-retail .posx-mode-promo-action {
    min-height: 30px;
    padding: 0 11px;
    background: #fff2f4;
    color: #b11425;
}

.posx-app.posx-mode-retail .posx-mode-summary-card {
    padding: 14px 14px 12px;
    background: #ffffff;
}

.posx-app.posx-mode-retail .posx-mode-summary-grid {
    margin-top: 10px;
    gap: 7px 10px;
    font-size: 12px;
}

.posx-app.posx-mode-retail .posx-mode-summary-grid .posx-total-label,
.posx-app.posx-mode-retail .posx-mode-summary-grid .posx-total-value {
    font-size: 28px;
    line-height: 1.05;
}

.posx-app.posx-mode-retail .posx-mode-payment-choice {
    gap: 8px;
}

.posx-app.posx-mode-retail .posx-mode-payment-shortcut-primary {
    min-height: 50px;
    padding: 0 13px;
    border-radius: 17px;
}

.posx-app.posx-mode-retail .posx-mode-payment-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(180deg, #fff2f4 0%, #ffe4e8 100%);
}

.posx-app.posx-mode-retail .posx-mode-payment-copy strong {
    font-size: 12px;
}

.posx-app.posx-mode-retail .posx-mode-primary-action {
    min-height: 52px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ff7581 0%, #d72134 100%);
    box-shadow: 0 16px 26px rgba(177, 20, 37, 0.2);
}

.posx-app.posx-mode-retail .posx-mode-actions-grid-retail {
    gap: 8px;
}

.posx-app.posx-mode-retail .posx-mode-mini-action {
    min-height: 42px;
    padding: 0 10px;
    border-radius: 14px;
    box-shadow: none;
    font-size: 11px;
}

.posx-app.posx-mode-butchery {
    height: 100vh;
    max-height: 100vh;
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(191, 21, 36, 0.05), transparent 24%),
        linear-gradient(180deg, #efede9 0%, #e5e0d8 100%);
    font-family: "Manrope", "Segoe UI", sans-serif;
    overflow: hidden;
}

.posx-app.posx-mode-butchery .posx-mode-shell-butchery {
    grid-template-columns: 74px minmax(0, 1fr);
    height: 100%;
    min-height: 0;
    max-width: 1580px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.posx-app.posx-mode-butchery .posx-mode-board-butchery {
    display: grid;
    gap: 14px;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    padding: 12px;
    border: 5px solid #1a1715;
    border-radius: 30px;
    background: #ffffff;
    box-shadow:
        0 30px 64px rgba(20, 14, 10, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.84);
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
}

.posx-app.posx-mode-butchery .posx-mode-rail {
    padding: 14px 10px;
    border-radius: 28px;
    background: linear-gradient(180deg, #101114 0%, #1a1b1f 100%);
    box-shadow: 0 26px 48px rgba(17, 12, 10, 0.2);
}

.posx-app.posx-mode-butchery .posx-mode-rail-brand,
.posx-app.posx-mode-butchery .posx-mode-rail-user,
.posx-app.posx-mode-butchery .posx-mode-rail-btn {
    width: 40px;
    height: 40px;
    border-radius: 14px;
}

.posx-app.posx-mode-butchery .posx-mode-rail-brand {
    background: linear-gradient(180deg, #ff8691 0%, #d31e30 100%);
    color: #ffffff;
}

.posx-app.posx-mode-butchery .posx-mode-rail-stack {
    gap: 9px;
}

.posx-app.posx-mode-butchery .posx-mode-rail-btn {
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.posx-app.posx-mode-butchery .posx-mode-rail-btn.is-active {
    background: linear-gradient(180deg, #ff7f8b 0%, #d31d2f 100%);
    box-shadow: 0 10px 18px rgba(177, 20, 37, 0.28);
}

.posx-app.posx-mode-butchery .posx-mode-header {
    display: grid;
    grid-template-columns: max-content minmax(260px, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 2px 2px 6px;
}

.posx-app.posx-mode-butchery .posx-mode-header-copy {
    min-width: 176px;
}

.posx-app.posx-mode-butchery .posx-mode-header-copy h1 {
    margin-top: 2px;
    font-size: 25px;
    line-height: 1.05;
}

.posx-app.posx-mode-butchery .posx-mode-kicker {
    font-size: 10px;
    letter-spacing: 0.09em;
}

.posx-app.posx-mode-butchery .posx-mode-header-actions {
    flex-wrap: nowrap;
    justify-content: flex-end;
    min-width: 0;
}

.posx-app.posx-mode-butchery .posx-mode-chip,
.posx-app.posx-mode-butchery .posx-mode-date-pill {
    min-height: 42px;
    border-radius: 15px;
    border-color: rgba(24, 20, 17, 0.07);
    box-shadow: 0 8px 18px rgba(18, 12, 9, 0.04);
}

.posx-app.posx-mode-butchery .posx-mode-chip-icon {
    width: 42px;
}

.posx-app.posx-mode-butchery .posx-mode-avatar-group span {
    width: 28px;
    height: 28px;
    font-size: 9px;
}

.posx-app.posx-mode-butchery .posx-mode-search-box-butchery {
    min-height: 48px;
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(18, 12, 9, 0.035);
}

.posx-app.posx-mode-butchery .posx-mode-main-butchery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 10px;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    align-items: stretch;
}

.posx-app.posx-mode-butchery .posx-mode-catalog-panel-butchery {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 8px;
    overflow: hidden;
    background: #fbfaf8;
    border-color: rgba(24, 20, 17, 0.06);
    grid-template-columns: minmax(0, 1fr);
    box-sizing: border-box;
}

.posx-app.posx-mode-butchery .posx-mode-toolbar {
    display: block;
    margin-bottom: 10px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    grid-column: 1 / -1;
    overflow-x: hidden;
    overflow-y: visible;
}

.posx-app.posx-mode-butchery .posx-mode-filters {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 6px;
    padding: 1px 2px 4px;
    overflow: visible;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.posx-app.posx-mode-butchery .posx-mode-filter {
    min-height: 28px;
    padding: 0 9px;
    border-radius: 11px;
    border-color: rgba(24, 20, 17, 0.05);
    background: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    box-shadow: none;
    white-space: nowrap;
    flex: 0 0 auto;
    gap: 6px;
}

.posx-app.posx-mode-butchery .posx-mode-filter small {
    min-width: 18px;
    height: 18px;
    font-size: 9px;
    background: #f3f0eb;
}

.posx-app.posx-mode-butchery .posx-mode-filter.is-active {
    background: #ffffff;
    color: #201b18;
    border-color: rgba(177, 20, 37, 0.12);
}

.posx-app.posx-mode-butchery .posx-mode-filter.is-active small {
    background: linear-gradient(180deg, #ff7c88 0%, #d41f30 100%);
    box-shadow: 0 8px 16px rgba(177, 20, 37, 0.18);
}

.posx-app.posx-mode-butchery .posx-mode-catalog-grid-butchery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: minmax(176px, auto);
    gap: 8px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    align-content: start;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
    padding-right: 6px;
    box-sizing: border-box;
    justify-self: stretch;
    grid-column: 1 / -1;
}

.posx-app.posx-mode-butchery .posx-mode-product-card-butchery {
    display: grid;
    width: auto;
    max-width: none;
    min-width: 0;
    min-height: 176px;
    height: auto;
    overflow: hidden;
    align-content: start;
    grid-template-rows: 90px minmax(40px, auto) auto;
    gap: 5px;
    padding: 6px 6px 8px;
    border-radius: 13px;
}

.posx-app.posx-mode-butchery .posx-mode-product-badge,
.posx-app.posx-mode-butchery .posx-mode-product-count {
    top: 7px;
    min-height: 18px;
    padding: 0 7px;
    border-radius: 7px;
    font-size: 8px;
}

.posx-app.posx-mode-butchery .posx-mode-product-badge {
    left: 7px;
}

.posx-app.posx-mode-butchery .posx-mode-product-count {
    right: 7px;
}

.posx-app.posx-mode-butchery .posx-mode-product-thumb {
    min-height: 90px;
    height: 90px;
    border-radius: 11px;
}

.posx-app.posx-mode-butchery .posx-mode-product-art .posx-svg {
    width: 48px;
    height: 48px;
}

.posx-app.posx-mode-butchery .posx-mode-product-copy {
    min-width: 0;
    gap: 2px;
    overflow: hidden;
}

.posx-app.posx-mode-butchery .posx-mode-product-copy strong {
    min-height: 28px;
    font-size: 11px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.posx-app.posx-mode-butchery .posx-mode-product-copy p {
    min-height: 20px;
    font-size: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.posx-app.posx-mode-butchery .posx-mode-product-footer {
    min-width: 0;
    gap: 4px;
}

.posx-app.posx-mode-butchery .posx-mode-product-price {
    font-size: 12px;
    white-space: nowrap;
}

.posx-app.posx-mode-butchery .posx-mode-product-add {
    min-height: 26px;
    font-size: 0;
}

.posx-app.posx-mode-butchery .posx-mode-product-add span {
    display: none;
}

.posx-app.posx-mode-butchery .posx-mode-product-add .posx-svg {
    width: 16px;
    height: 16px;
}

.posx-app.posx-mode-butchery .posx-mode-order-panel-butchery {
    position: relative;
    z-index: 2;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 8px;
    width: 100%;
    min-width: 0;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(192, 24, 42, 0.98) 0%, rgba(152, 14, 31, 0.98) 78px, #fff7f8 78px, #fffafa 100%);
    border-color: rgba(177, 20, 37, 0.28);
    box-shadow: 0 22px 42px rgba(177, 20, 37, 0.22);
}

.posx-app.posx-mode-butchery .posx-mode-order-panel-butchery .posx-mode-order-header {
    margin: -2px -2px 2px;
    padding: 8px 8px 10px;
    color: #ffffff;
}

.posx-app.posx-mode-butchery .posx-mode-order-panel-butchery .posx-mode-panel-label {
    color: rgba(255, 255, 255, 0.72);
}

.posx-app.posx-mode-butchery .posx-mode-order-panel-butchery .posx-mode-order-header strong {
    color: #ffffff;
}

.posx-app.posx-mode-butchery .posx-mode-order-panel-butchery .posx-mode-chip-quiet {
    border-color: rgba(255, 255, 255, 0.3);
    background: #ffffff;
    color: #9e1223;
    box-shadow: 0 12px 24px rgba(82, 6, 16, 0.16);
}

.posx-app.posx-mode-butchery .posx-mode-cart-body {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 2px;
    scrollbar-gutter: stable;
}

.posx-app.posx-mode-butchery .posx-mode-order-item {
    min-width: 0;
    padding: 9px;
    border-radius: 14px;
    border-color: rgba(177, 20, 37, 0.1);
    box-shadow: 0 10px 22px rgba(177, 20, 37, 0.07);
}

.posx-app.posx-mode-butchery .posx-mode-order-main.posx-cart-row {
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 8px;
    min-width: 0;
}

.posx-app.posx-mode-butchery .posx-mode-order-thumb {
    width: 50px;
    height: 50px;
    border-radius: 11px;
}

.posx-app.posx-mode-butchery .posx-mode-order-copy strong {
    font-size: 12px;
    line-height: 1.2;
}

.posx-app.posx-mode-butchery .posx-mode-order-copy span,
.posx-app.posx-mode-butchery .posx-mode-order-copy small {
    font-size: 9px;
}

.posx-app.posx-mode-butchery .posx-mode-order-controls {
    margin-top: 6px;
}

.posx-app.posx-mode-butchery .posx-mode-butchery-checkout-dock {
    display: grid;
    gap: 7px;
    min-height: 0;
    padding: 8px;
    border: 1px solid rgba(177, 20, 37, 0.1);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 10px 24px rgba(177, 20, 37, 0.08);
}

.posx-app.posx-mode-butchery .posx-mode-summary-card {
    padding: 10px 11px;
    border-radius: 14px;
    border-color: rgba(177, 20, 37, 0.1);
    background: linear-gradient(180deg, #ffffff 0%, #fff5f6 100%);
}

.posx-app.posx-mode-butchery .posx-mode-status-stack {
    display: none;
}

.posx-app.posx-mode-butchery .posx-mode-summary-grid {
    margin-top: 0;
    gap: 4px 8px;
    font-size: 11px;
}

.posx-app.posx-mode-butchery .posx-mode-summary-grid .posx-total-label,
.posx-app.posx-mode-butchery .posx-mode-summary-grid .posx-total-value {
    font-size: 20px;
}

.posx-app.posx-mode-butchery .posx-mode-summary-pills {
    margin-top: 6px;
}

.posx-app.posx-mode-butchery .posx-mode-payment-choice {
    display: none;
}

.posx-app.posx-mode-butchery .posx-mode-payment-shortcut-primary {
    min-height: 42px;
    border-radius: 13px;
}

.posx-app.posx-mode-butchery .posx-mode-payment-shortcut-secondary {
    display: none;
}

.posx-app.posx-mode-butchery .posx-mode-butchery-pay-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 8px;
}

.posx-app.posx-mode-butchery #posx-pay-btn {
    min-height: 56px;
    border-radius: 16px;
    background: linear-gradient(180deg, #2fbf6b 0%, #128247 100%);
    border-color: rgba(18, 130, 71, 0.3);
    box-shadow: 0 16px 26px rgba(18, 130, 71, 0.22);
    font-size: 15px;
}

.posx-app.posx-mode-butchery #posx-void-btn {
    min-height: 56px;
    border-radius: 16px;
    font-size: 12px;
    color: #b11425;
    border-color: rgba(177, 20, 37, 0.14);
    background: #fff0f2;
}

.posx-app.posx-mode-butchery .posx-mode-order-strip-butchery,
.posx-app.posx-mode-butchery .posx-mode-actions-grid-butchery {
    display: none;
}

.posx-app.posx-mode-butchery .posx-mode-mini-action {
    min-height: 38px;
    padding: 0 8px;
    border-radius: 12px;
    font-size: 10px;
}

@media (max-width: 1280px) {
    .posx-app.posx-mode-butchery .posx-mode-main-butchery {
        grid-template-columns: minmax(0, 1fr) 282px;
        gap: 8px;
    }

    .posx-app.posx-mode-butchery .posx-mode-catalog-grid-butchery {
        grid-auto-rows: minmax(168px, auto);
        gap: 7px;
    }

    .posx-app.posx-mode-butchery .posx-mode-product-card-butchery {
        min-height: 168px;
        grid-template-rows: 84px minmax(40px, auto) auto;
    }

    .posx-app.posx-mode-butchery .posx-mode-product-thumb {
        min-height: 84px;
        height: 84px;
    }
}

@media (max-width: 1080px) {
    .posx-app.posx-mode-butchery .posx-mode-main-butchery {
        grid-template-columns: 1fr;
    }

    .posx-app.posx-mode-butchery .posx-mode-header {
        grid-template-columns: 1fr;
    }

    .posx-app.posx-mode-butchery .posx-mode-header-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 760px) {
    .posx-app.posx-mode-butchery .posx-mode-catalog-grid-butchery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

.posx-app.posx-mode-fastfood {
    padding: 20px;
    background:
        radial-gradient(circle at top left, rgba(191, 21, 36, 0.035), transparent 22%),
        linear-gradient(180deg, #f5f2ee 0%, #efebe6 100%);
}

.posx-app.posx-mode-fastfood .posx-mode-board-fastfood {
    padding: 14px 16px 16px;
    border-radius: 28px;
    border-color: #ebe5df;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 44px rgba(22, 14, 10, 0.06);
    min-height: calc(100vh - 40px);
    grid-template-rows: auto minmax(0, 1fr);
}

.posx-app.posx-mode-fastfood .posx-mode-header {
    gap: 12px;
    padding-bottom: 2px;
}

.posx-app.posx-mode-fastfood .posx-mode-brand-pill,
.posx-app.posx-mode-fastfood .posx-mode-chip,
.posx-app.posx-mode-fastfood .posx-mode-date-pill {
    min-height: 42px;
    border-radius: 14px;
    border-color: #ebe5df;
    box-shadow: 0 8px 18px rgba(18, 12, 9, 0.035);
}

.posx-app.posx-mode-fastfood .posx-mode-chip-icon {
    width: 42px;
}

.posx-app.posx-mode-fastfood .posx-mode-brand-pill {
    background: #f4efe8;
}

.posx-app.posx-mode-fastfood .posx-mode-header-copy-fastfood h1 {
    font-size: 15px;
    line-height: 1.15;
}

.posx-app.posx-mode-fastfood .posx-mode-main-fastfood {
    grid-template-columns: minmax(0, 1.38fr) 344px;
    gap: 12px;
    height: 100%;
}

.posx-app.posx-mode-fastfood .posx-mode-catalog-panel-fastfood {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.posx-app.posx-mode-fastfood .posx-mode-toolbar-fastfood {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.posx-app.posx-mode-fastfood .posx-mode-search-box-fastfood {
    order: 2;
    justify-self: end;
    width: 44px;
    min-width: 44px;
    min-height: 42px;
    border-radius: 14px;
    border-color: #ebe5df;
    box-shadow: none;
    overflow: hidden;
    transition: width 0.18s ease, box-shadow 0.18s ease;
}

.posx-app.posx-mode-fastfood .posx-mode-search-box-fastfood:hover,
.posx-app.posx-mode-fastfood .posx-mode-search-box-fastfood:focus-within {
    width: 250px;
    box-shadow: 0 10px 22px rgba(18, 12, 9, 0.05);
}

.posx-app.posx-mode-fastfood .posx-mode-filters-fastfood {
    order: 1;
    gap: 8px;
}

.posx-app.posx-mode-fastfood .posx-mode-search-box-fastfood:not(:focus-within) #posx-search-input::placeholder {
    color: transparent;
}

.posx-app.posx-mode-fastfood .posx-mode-filter {
    min-height: 32px;
    padding: 0 11px;
    border-radius: 12px;
    border-color: #ebe5df;
    background: #ffffff;
    font-size: 11px;
    font-weight: 700;
    box-shadow: none;
}

.posx-app.posx-mode-fastfood .posx-mode-filter small {
    min-width: 18px;
    height: 18px;
    font-size: 9px;
}

.posx-app.posx-mode-fastfood .posx-mode-filter.is-active {
    background: #fff7f8;
    color: #b11425;
    border-color: rgba(177, 20, 37, 0.12);
}

.posx-app.posx-mode-fastfood .posx-mode-filter.is-active small {
    background: linear-gradient(180deg, #ff7d88 0%, #d82134 100%);
}

.posx-app.posx-mode-fastfood .posx-mode-catalog-grid-fastfood {
    grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
    gap: 12px;
}

.posx-app.posx-mode-fastfood .posx-mode-product-card-fastfood {
    gap: 8px;
    padding: 6px 6px 10px;
    border-radius: 18px;
    border-color: #ece6df;
    box-shadow: none;
}

.posx-app.posx-mode-fastfood .posx-mode-product-card-fastfood:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(18, 12, 9, 0.05);
}

.posx-app.posx-mode-fastfood .posx-mode-product-expand {
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 10px;
    border-color: rgba(24, 20, 17, 0.05);
    box-shadow: 0 8px 16px rgba(18, 12, 9, 0.04);
}

.posx-app.posx-mode-fastfood .posx-mode-product-thumb {
    min-height: 148px;
    border-radius: 14px;
    border-color: rgba(24, 20, 17, 0.04);
    background: linear-gradient(180deg, #f5f2ed 0%, #f0ece7 100%);
}

.posx-app.posx-mode-fastfood .posx-mode-product-art-fastfood .posx-svg {
    width: 78px;
    height: 78px;
}

.posx-app.posx-mode-fastfood .posx-mode-product-copy strong {
    font-size: 12px;
    line-height: 1.24;
}

.posx-app.posx-mode-fastfood .posx-mode-product-price {
    font-size: 13px;
}

.posx-app.posx-mode-fastfood .posx-mode-product-add-square {
    width: 36px;
    min-width: 36px;
    height: 36px;
    border-radius: 11px;
    box-shadow: 0 10px 16px rgba(17, 17, 20, 0.12);
}

.posx-app.posx-mode-fastfood .posx-mode-order-panel-fastfood {
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 0;
    height: calc(100vh - 76px);
    padding: 10px 12px 10px;
    border-radius: 24px;
    border-color: #ebe5df;
    background: #ffffff;
    box-shadow: none;
    overflow: hidden;
    position: sticky;
    top: 18px;
    align-self: start;
    max-height: calc(100vh - 76px);
}

.posx-app.posx-mode-fastfood .posx-mode-order-title,
.posx-app.posx-mode-fastfood .posx-mode-order-topbar .posx-mode-chip {
    min-height: 42px;
    border-radius: 14px;
    border-color: #ebe5df;
    box-shadow: none;
}

.posx-app.posx-mode-fastfood .posx-mode-order-topbar {
    grid-template-columns: 40px minmax(0, 1fr) auto auto;
    gap: 6px;
}

.posx-app.posx-mode-fastfood .posx-mode-cart-body-fastfood .posx-empty {
    min-height: 124px;
    border-style: solid;
    border-color: #efe8e1;
    background: #faf8f4;
    font-size: 14px;
}

.posx-app.posx-mode-fastfood .posx-mode-cart-body-fastfood {
    min-height: 0;
    overflow: auto;
    padding-right: 4px;
    padding-bottom: 8px;
}

.posx-app.posx-mode-fastfood .posx-mode-order-item-fastfood {
    padding: 2px;
    border-radius: 8px;
    border-color: #ece6df;
    box-shadow: none;
}

.posx-app.posx-mode-fastfood .posx-mode-order-item-fastfood.is-selected {
    background: #f3efe8;
    border-color: #ddd1c4;
}

.posx-app.posx-mode-fastfood .posx-mode-order-item-fastfood + .posx-mode-order-item-fastfood {
    margin-top: 1px;
}

.posx-app.posx-mode-fastfood .posx-mode-order-item-fastfood .posx-mode-order-main.posx-cart-row {
    grid-template-columns: 18px minmax(0, 1fr) auto;
    grid-template-areas: "thumb copy controls";
    column-gap: 6px;
    row-gap: 0;
    align-items: center;
}

.posx-app.posx-mode-fastfood .posx-mode-order-main.posx-cart-row {
    gap: 3px;
}

.posx-app.posx-mode-fastfood .posx-mode-order-main.posx-cart-row.is-selected {
    background: rgba(226, 217, 207, 0.42);
    border-radius: 6px;
}

.posx-app.posx-mode-fastfood .posx-mode-order-thumb {
    grid-area: thumb;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    align-self: center;
}

.posx-app.posx-mode-fastfood .posx-mode-order-copy strong {
    font-size: 8px;
    line-height: 1.05;
}

.posx-app.posx-mode-fastfood .posx-mode-order-copy span,
.posx-app.posx-mode-fastfood .posx-mode-order-copy small {
    font-size: 6px;
    line-height: 1;
}

.posx-app.posx-mode-fastfood .posx-mode-order-copy {
    grid-area: copy;
    gap: 1px;
    min-width: 0;
}

.posx-app.posx-mode-fastfood .posx-mode-order-controls {
    gap: 4px;
    margin-top: 0;
}

.posx-app.posx-mode-fastfood .posx-mode-order-controls-fastfood {
    grid-area: controls;
    justify-self: end;
    align-items: center;
    align-self: center;
    margin-right: 12px;
}

.posx-app.posx-mode-fastfood .posx-mode-order-control {
    min-width: 22px;
    min-height: 22px;
    padding: 0 5px;
    border-radius: 6px;
    background: #ffffff;
    border-color: #ebe5df;
    box-shadow: none;
    font-size: 12px;
    font-weight: 700;
}

.posx-app.posx-mode-fastfood .posx-mode-order-control .posx-svg {
    width: 12px;
    height: 12px;
}

.posx-app.posx-mode-fastfood .posx-mode-order-control.is-value {
    min-width: 18px;
    padding: 0;
    background: transparent;
    border-color: transparent;
    font-size: 12px;
    font-weight: 800;
}

.posx-app.posx-mode-fastfood .posx-mode-order-remove-fastfood {
    top: 3px;
    right: 3px;
    width: 14px;
    height: 14px;
    border: none;
    border-radius: 4px;
    background: linear-gradient(180deg, #ff7c88 0%, #ef4454 100%);
    box-shadow: 0 3px 6px rgba(239, 68, 84, 0.1);
}

.posx-app.posx-mode-fastfood .posx-mode-order-remove-fastfood .posx-svg {
    width: 6px;
    height: 6px;
}

.posx-app.posx-mode-fastfood .posx-mode-order-footer {
    display: grid;
    gap: 6px;
    padding-top: 6px;
    border-top: 1px solid #efe9e2;
    background: #ffffff;
}

.posx-app.posx-mode-fastfood .posx-mode-order-dock-fastfood {
    display: grid;
    gap: 8px;
    padding-top: 2px;
    position: sticky;
    bottom: 0;
    z-index: 3;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 14px, #ffffff 100%);
}

.posx-app.posx-mode-fastfood .posx-mode-summary-card-fastfood {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.posx-app.posx-mode-fastfood .posx-mode-summary-grid-fastfood {
    margin-top: 0;
    gap: 5px 8px;
    font-size: 11px;
    color: #5d5650;
}

.posx-app.posx-mode-fastfood .posx-mode-summary-totalbar {
    margin-top: 6px;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    background: #f3f1ee;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
}

.posx-app.posx-mode-fastfood .posx-mode-summary-totalbar .posx-total-label {
    font-size: 12px;
    color: #1d1815;
}

.posx-app.posx-mode-fastfood .posx-mode-summary-totalbar .posx-total-value {
    font-size: 16px;
    font-weight: 800;
    color: #1d1815;
}

.posx-app.posx-mode-fastfood .posx-mode-status-stack,
.posx-app.posx-mode-fastfood .posx-mode-summary-pills {
    display: none;
}

.posx-app.posx-mode-fastfood .posx-mode-order-strip-fastfood {
    gap: 8px;
    padding-top: 0;
}

.posx-app.posx-mode-fastfood .posx-mode-inline-action-wide,
.posx-app.posx-mode-fastfood .posx-mode-secondary-action,
.posx-app.posx-mode-fastfood .posx-mode-payment-shortcut-primary,
.posx-app.posx-mode-fastfood .posx-mode-payment-shortcut-secondary {
    border-color: #ebe5df;
    box-shadow: none;
}

.posx-app.posx-mode-fastfood .posx-mode-inline-action-wide,
.posx-app.posx-mode-fastfood .posx-mode-secondary-action {
    min-height: 40px;
    border-radius: 14px;
    background: #faf7f3;
}

.posx-app.posx-mode-fastfood .posx-mode-inline-action-wide {
    min-height: auto;
    padding: 0;
    border: none;
    background: transparent;
    justify-content: flex-start;
    box-shadow: none;
    color: #5f5952;
    font-size: 11px;
    font-weight: 700;
}

.posx-app.posx-mode-fastfood .posx-mode-table-row-fastfood {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
}

.posx-app.posx-mode-fastfood .posx-mode-table-row {
    gap: 8px;
}

.posx-app.posx-mode-fastfood .posx-mode-table-label {
    color: #1c1714;
    font-size: 11px;
    font-weight: 700;
}

.posx-app.posx-mode-fastfood .posx-mode-select-pill {
    min-height: 24px;
    padding: 0 12px;
    border: none;
    border-radius: 999px;
    background: #1e1f22;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
}

.posx-app.posx-mode-fastfood .posx-mode-payment-choice-fastfood {
    display: none;
}

.posx-app.posx-mode-fastfood .posx-mode-pay-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 100px;
    gap: 8px;
}

.posx-app.posx-mode-fastfood .posx-mode-payment-shortcut-primary {
    min-height: 50px;
    border-radius: 16px;
    background: #faf7f3;
}

.posx-app.posx-mode-fastfood .posx-mode-payment-icon {
    width: 30px;
    height: 30px;
}

.posx-app.posx-mode-fastfood .posx-mode-primary-action {
    min-height: 42px;
    border-radius: 14px;
    background: #22a05a;
    border-color: #1d8d4f;
    box-shadow: 0 10px 18px rgba(34, 160, 90, 0.18);
}

.posx-app.posx-mode-fastfood .posx-mode-secondary-action-openbill {
    min-height: 42px;
    padding: 0 14px;
    background: #ffffff;
}

.posx-app.posx-mode-fastfood .posx-mode-actions-grid-fastfood {
    gap: 6px;
}

.posx-app.posx-mode-fastfood .posx-mode-mini-action {
    min-height: 34px;
    padding: 0 8px;
    border-radius: 10px;
    box-shadow: none;
    font-size: 10px;
}

.posx-app.posx-mode-fastfood .posx-mode-header-fastfood {
    position: relative;
}

.posx-app.posx-mode-fastfood .posx-mode-header-cluster-fastfood {
    gap: 8px;
}

.posx-app.posx-mode-fastfood .posx-mode-header-actions {
    gap: 8px;
}

.posx-app.posx-mode-fastfood .posx-mode-lock-control {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
}

@media (max-width: 1400px) {
    .posx-app.posx-mode-retail .posx-mode-main-retail {
        grid-template-columns: minmax(0, 1fr) 338px;
    }

    .posx-app.posx-mode-fastfood .posx-mode-main-fastfood {
        grid-template-columns: minmax(0, 1fr) 330px;
    }
}

@media (max-width: 1400px) and (min-width: 1081px) {
    .posx-app.posx-mode-butchery .posx-mode-main-butchery {
        grid-template-columns: minmax(0, 1fr) 282px;
        gap: 8px;
    }

    .posx-app.posx-mode-butchery .posx-mode-catalog-grid-butchery {
        grid-auto-rows: minmax(168px, auto);
        gap: 7px;
    }

    .posx-app.posx-mode-butchery .posx-mode-product-card-butchery {
        min-height: 168px;
        grid-template-rows: 84px minmax(40px, auto) auto;
    }

    .posx-app.posx-mode-butchery .posx-mode-product-thumb {
        min-height: 84px;
        height: 84px;
    }
}

@media (max-width: 1080px) {
    .posx-app.posx-mode-retail .posx-mode-toolbar,
    .posx-app.posx-mode-fastfood .posx-mode-toolbar-fastfood {
        grid-template-columns: 1fr;
    }

    .posx-app.posx-mode-fastfood .posx-mode-search-box-fastfood {
        order: 0;
        width: 100%;
    }

    .posx-app.posx-mode-fastfood .posx-mode-pay-row {
        grid-template-columns: 1fr;
    }

    .posx-app.posx-mode-fastfood .posx-mode-board-fastfood {
        min-height: auto;
    }

    .posx-app.posx-mode-fastfood .posx-mode-order-panel-fastfood {
        position: static;
        max-height: none;
    }
}
