/* Tablets (telas entre 768px e 1024px de largura) */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 15px;
    }

    div.tab-content div.tab-pane#dashboard div.parent {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: stretch;
        align-content: stretch;
        gap: 8px;
    }

    section[data-handler="home"] div.box-header:first-child {
        flex-wrap: wrap;
    }

    section[data-handler="home"] div.box-header:first-child ul.nav-tabs {
        padding: 0;
        margin-bottom: 1rem;
        display: inline-flex;
    }

    section[data-handler="home"] div.box-header:first-child ul.nav-tabs li:first-of-type button {
        width: 13rem !important;
    }

    section[data-handler="home"] div.box-header:first-child ul.nav-tabs li:nth-child(2) button {
        width: 17rem !important;
    }

    section[data-handler="home"] div.box-header:first-child div.btn-group:has(> div[data-toggle="buttons"]) {
        width: auto;
    }

    section[data-handler="home"] div.box-header:first-child div[data-toggle="buttons"] {
        display: inline !important;
    }

    section[data-handler="home"] div#home div.parent {
        display: block !important;
    }

    div.eq-height-row .right-col .login-form:nth-child(2){
        padding: 1rem;
    }
}
/* /Tablets (telas entre 768px e 1024px de largura) */

/* Modal responsivo: pesquisa avançada de produto */
@media (max-width: 1399px) {
    #gridViewProductModal .product-search-advanced-modal__body {
        overflow: hidden !important;
    }

    #gridViewProductModal .product-search-advanced-modal__content {
        grid-template-columns: minmax(0, 1fr) !important;
        overflow-x: hidden;
        overflow-y: auto;
        padding-right: 4px;
    }

    #gridViewProductModal .product-search-advanced-modal__list-panel,
    #gridViewProductModal .product-search-advanced-modal__preview-panel {
        min-width: 0;
        width: 100%;
    }

    #gridViewProductModal .product-search-advanced-modal__list-panel {
        flex: 0 0 auto;
        min-height: 320px;
    }

    #gridViewProductModal .product-search-advanced-modal__table-wrap {
        flex: 0 0 auto;
        height: 48vh;
        max-height: 520px;
        min-height: 320px;
        overflow: hidden !important;
    }

    #gridViewProductModal .product-search-advanced-modal__table-wrap .dataTables_wrapper {
        overflow: hidden !important;
    }

    #gridViewProductModal .product-search-advanced-modal__table-wrap .dataTables_scrollBody {
        max-width: 100%;
        overflow: auto !important;
    }

    #gridViewProductModal .product-search-advanced-modal__table-wrap .dataTables_scrollBody table.product-grid-view {
        overflow: visible !important;
    }

    #gridViewProductModal .product-search-advanced-modal__table-wrap .dataTables_wrapper > table.product-grid-view {
        max-width: 100%;
        overflow-x: auto !important;
    }

    #gridViewProductModal .product-search-advanced-modal__preview-panel {
        flex: 0 0 auto;
        overflow: visible;
    }

    #gridViewProductModal .product-search-advanced-modal__preview-media {
        max-width: 305px;
        width: 100%;
    }

    #gridViewProductModal .product-search-advanced-modal__preview-details {
        display: grid;
        flex: 0 0 auto;
        gap: 14px 22px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #gridViewProductModal .product-search-advanced-modal__preview-detail {
        align-items: flex-start;
        min-width: 0;
    }

    #gridViewProductModal .product-search-advanced-modal__preview-value {
        max-width: 60%;
        overflow-wrap: anywhere;
        white-space: normal;
    }
}

@media (max-width: 991px) {
    #gridViewProductModal .product-search-advanced-dialog {
        height: calc(100vh - 24px);
        margin: 12px auto;
        max-height: calc(100vh - 24px);
        width: calc(100vw - 24px);
    }

    #gridViewProductModal .product-search-advanced-modal__table-wrap {
        height: 42vh;
        min-height: 300px;
    }

    #gridViewProductModal .product-search-advanced-modal__footer {
        flex: 0 0 auto;
    }
}

@media (max-width: 767px) {
    #gridViewProductModal .product-search-advanced-modal__header {
        padding: 20px 16px 0;
    }

    #gridViewProductModal .product-search-advanced-modal__header .modal-title {
        font-size: 24px;
        line-height: 30px;
        padding-right: 36px;
        white-space: normal;
    }

    #gridViewProductModal .product-search-advanced-modal__body {
        padding: 28px 16px 0;
    }

    #gridViewProductModal .product-search-advanced-modal__filters {
        gap: 12px;
        margin-bottom: 14px;
    }

    #gridViewProductModal .product-search-advanced-modal__field,
    #gridViewProductModal .product-search-advanced-modal__field--product {
        flex: 1 1 100%;
        max-width: 100%;
    }

    #gridViewProductModal .product-search-advanced-modal__content {
        gap: 14px;
        padding-bottom: 14px;
    }

    #gridViewProductModal .product-search-advanced-modal__table-wrap {
        height: 44vh;
        min-height: 280px;
    }

    #gridViewProductModal .product-search-advanced-modal__preview-details {
        grid-template-columns: 1fr;
    }

    #gridViewProductModal .product-search-advanced-modal__preview-value {
        max-width: 58%;
    }

    #gridViewProductModal .product-search-advanced-modal__footer {
        padding: 0 16px 16px;
    }

    #gridViewProductModal .product-search-advanced-modal__footer-actions {
        gap: 10px;
        grid-template-columns: 1fr;
        width: 100%;
    }

    #gridViewProductModal .product-search-advanced-modal__footer-button {
        font-size: 16px;
        height: 46px;
        line-height: 20px;
    }

    #gridViewProductModal .product-search-advanced-modal__footer-button.fsl {
        font-size: 16px !important;
    }
}

@media (max-width: 575px) {
    #gridViewProductModal .product-search-advanced-dialog {
        height: calc(100vh - 16px);
        margin: 8px auto;
        max-height: calc(100vh - 16px);
        width: calc(100vw - 16px);
    }

    #gridViewProductModal .product-search-advanced-modal__table-wrap {
        height: 40vh;
        min-height: 260px;
    }

    #gridViewProductModal .product-search-advanced-modal__preview-media,
    #gridViewProductModal .product-search-advanced-modal__preview-picture,
    #gridViewProductModal .product-search-advanced-modal__preview-image {
        width: 100%;
    }

    #gridViewProductModal .product-search-advanced-modal__preview-image[src$="pos-no-picture.svg"] {
        height: 70px;
        width: 70px;
    }
}
/* /Modal responsivo: pesquisa avançada de produto */

/* Telas móveis (telas entre 480px e 767px de largura) */
@media (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 10px;
    }
}
/* /Telas móveis (telas entre 480px e 767px de largura) */

@media (max-width: 991px) {
    .sell-return-summary-bar {
        gap: 8px 16px;
    }

    .sell-return-summary-total {
        flex-basis: 100%;
        margin-left: 0;
        text-align: right;
    }
}

@media (max-width: 575px) {
    .sell-return-summary-footer {
        padding: 10px;
    }

    .sell-return-summary-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .sell-return-summary-total {
        text-align: left;
    }

    .sell-return-footer-actions-inner {
        flex-direction: column-reverse;
    }

    .sell-return-action {
        width: 100%;
    }
}

/* Modal moderno: troca/devolução PDV */
@media (max-width: 1199px) {
    .sell-return-modern-dialog {
        max-width: calc(100vw - 20px);
        width: calc(100vw - 20px);
    }

    .sell-return-modern-form-card {
        padding: 12px 14px;
    }

    .sell-return-modern-top-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sell-return-modern-mode {
        justify-content: flex-start;
    }

    .sell-return-modern-product-grid {
        grid-template-columns: minmax(300px, 1.4fr) repeat(3, minmax(130px, 0.7fr));
    }

    .sell-return-modern-actions-field {
        grid-column: 1 / -1;
    }

    .sell-return-modern-balance {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sell-return-modern-balance-intro,
    .sell-return-modern-balance > .sell-return-modern-balance-item:nth-child(6) {
        border-right: 0;
        padding-right: 0;
    }

    .sell-return-modern-balance-operator {
        display: none;
    }
}

@media (max-width: 991px) {
    .sell-return-modern-modal-body {
        max-height: calc(100vh - 150px);
    }

    .sell-return-modern-top-grid,
    .sell-return-modern-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sell-return-modern-product-grid {
        row-gap: 12px;
    }

    .sell-return-modern-tables {
        grid-template-columns: 1fr;
        row-gap: 14px;
    }

    .sell-return-modern-table-wrap {
        min-height: 0;
    }

    .sell-return-modern-table tbody {
        max-height: 180px;
    }

    .sell-return-modern-table tbody tr.no-record-row,
    .sell-return-modern-table tbody tr.no-record-row td {
        min-height: 180px;
    }

    .sell-return-modern-footer {
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .sell-return-modern-dialog {
        margin: 0.5rem auto;
        width: calc(100vw - 12px);
    }

    .sell-return-modern-header {
        min-height: 54px;
        padding: 16px 14px 6px;
    }

    .sell-return-modern-title {
        font-size: 20px;
    }

    .sell-return-modern-modal-body {
        max-height: calc(100vh - 142px);
        padding: 8px 14px 12px;
    }

    .sell-return-modern-form-card {
        padding: 12px;
    }

    .sell-return-modern-form-row {
        grid-template-columns: 1fr !important;
        row-gap: 12px;
    }

    .sell-return-modern-actions-field {
        grid-column: auto;
    }

    .sell-return-modern-actions-inline {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .sell-return-modern-orders {
        margin-left: 0;
        width: 100%;
    }

    .sell-return-modern-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .sell-return-modern-summary span:nth-child(3) {
        border-left: 0;
        border-top: 1px solid #EBEEF2;
    }

    .sell-return-modern-summary span:nth-child(4) {
        border-top: 1px solid #EBEEF2;
    }

    .sell-return-modern-footer {
        grid-template-columns: 1fr;
        padding: 0 14px 16px;
    }
}

@media (max-width: 575px) {
    .sell-return-modern-balance {
        grid-template-columns: 1fr;
    }

    .sell-return-modern-balance-intro {
        justify-content: center;
        text-align: center;
    }

    .sell-return-modern-cancel,
    .sell-return-modern-finish {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-height: 800px) {
    .sell-return-modern-dialog {
        margin: 0.25rem auto;
        width: calc(100vw - 24px);
    }

    .sell-return-modern-header {
        min-height: 64px;
        padding: 20px 24px 10px;
    }

    .sell-return-modern-title {
        font-size: 22px;
    }

    .sell-return-modern-modal-body {
        padding-bottom: 12px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .sell-return-modern-body {
        gap: 12px;
    }

    .sell-return-modern-form-card {
        padding: 12px 18px;
    }

    .sell-return-modern-form-card label {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .sell-return-modern-form-card .form-control,
    .sell-return-modern-form-card .select2-container--default .select2-selection--single {
        font-size: 13px;
        height: 32px;
        min-height: 32px;
        padding-bottom: 6px;
        padding-top: 6px;
    }

    .sell-return-modern-form-card .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 30px;
    }

    .sell-return-modern-search .input-group-addon,
    .sell-return-step-btn,
    .sell-return-modern-orders {
        height: 32px;
    }

    .sell-return-step-btn {
        font-size: 22px;
        width: 31px;
    }

    .sell-return-modern-orders {
        font-size: 13px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .sell-return-modern-mode {
        min-height: 50px;
    }

    .sell-return-modern-panel {
        min-height: 300px;
    }

    .sell-return-modern-panel-header {
        min-height: 50px;
        padding: 14px 14px 8px;
    }

    .sell-return-modern-panel-header h5 {
        font-size: 16px;
    }

    .sell-return-modern-table-wrap {
        min-height: 0;
    }

    .sell-return-modern-table tbody {
        max-height: 140px;
    }

    .sell-return-modern-table tbody tr.no-record-row,
    .sell-return-modern-table tbody tr.no-record-row td {
        min-height: 140px;
    }

    .sell-return-modern-summary {
        margin-bottom: 16px;
        margin-top: 16px;
        min-height: 62px;
    }

    .sell-return-modern-summary span {
        font-size: 12px;
        gap: 6px;
    }

    .sell-return-modern-summary strong,
    .sell-return-modern-summary span:last-child strong {
        font-size: 15px;
    }

    .sell-return-modern-balance {
        min-height: 100px;
        padding-bottom: 6px;
        padding-top: 6px;
    }

    .sell-return-modern-balance-icon,
    .sell-return-modern-balance-operator {
        flex-basis: 34px;
        height: 34px;
        width: 34px;
    }

    .sell-return-modern-balance strong,
    .sell-return-modern-client-result strong {
        font-size: 12px;
    }

    .sell-return-modern-balance span,
    .sell-return-modern-client-result span {
        font-size: 17px;
    }

    .sell-return-modern-balance small,
    .sell-return-modern-client-result small {
        font-size: 10px;
    }

    .sell-return-modern-client-result {
        min-height: 82px;
    }

    .sell-return-modern-footer {
        padding-bottom: 14px;
        padding-top: 4px;
    }

    .sell-return-modern-cancel,
    .sell-return-modern-finish {
        font-size: 16px;
        height: 49px;
    }
}
/* /Modal moderno: troca/devolução PDV */

/* Telas muito pequenas (dispositivos móveis menores que 480px) */
@media (max-width: 480px) {
    /* PDV Responsive */
    div.page-body div.container-x1 div.row-pos-body {
        display: block;
        height: 100vdh;
        overflow: auto;
    }

    div.page-body div.container-x1 div.row-pos-body .content .content-header {
        display: inline-block;
        width: 100%;
    }

    div.page-body div.container-x1 div.row-pos-body .content .content-header span {
        font-size: 12px;
    }

    div.page-body div.container-x1 div.row-pos-body .content .content-header div:nth-child(3) {
        font-size: normal;
    }

    div.page-body div.container-x1 div.row-pos-body .content .content-header .select-wrapper {
        margin-right: 0 !important;
    }

    div.page-body div.container-x1 div.row-pos-body .content .content-header .select-wrapper button {
       width: 15rem;
       top: auto;
     }

    div.page-body div.container-x1 div.row-pos-body .content .content-body .tab-content label[for="insert_auto"] {
        justify-content: end;
    }

    div.page-body div.container-x1 div.row-pos-body .content .content-body ul.nav-tabs {
        gap: 0.5rem;
    }

    div.page-body div.container-x1 div.row-pos-body .content .content-body .invoice-col {
        display: flex;
        justify-content: center;
    }

    div.page-body div.container-x1 div.row-pos-body .content .content-body .product__picture {
        width: 40%;
    }

    div.page-body div.stick-bottom .pos-footer button {
        width: max-content;
        font-size: 10px !important;
    }
    div.page-body div.stick-bottom .pos-footer a {
        width: max-content;
        font-size: 10px !important;
    }
    /* /PDV Responsive */
}
/* /Telas muito pequenas (dispositivos móveis menores que 480px) */

/* Extra pequenas telas (pequenos dispositivos móveis, com menos de 360px) */
@media (max-width: 360px) {
    .container {
        max-width: 100%;
        padding: 5px;
    }
}
/* /Extra pequenas telas (pequenos dispositivos móveis, com menos de 360px) */

/* Consulta de pedidos do PDV */
@media (prefers-reduced-motion: reduce) {
    .pos-modern-page #posOffcanvasEnd {
        transition-duration: 0.01ms;
    }
}

@media (max-width: 1199.98px) {
    .pos-modern-page #posOffcanvasEnd .offcanvas-body {
        gap: 14px;
        grid-template-columns: minmax(0, 1fr) minmax(330px, 38%);
        padding: 14px 14px 0 !important;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-browser {
        grid-template-rows: 40px auto minmax(0, 1fr);
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-toolbar {
        gap: 10px;
        grid-template-columns: minmax(200px, 1fr) minmax(160px, 190px) 90px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-filter {
        font-size: 13px;
        padding: 0 10px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-summary {
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-summary-card {
        gap: 8px;
        padding: 8px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-details {
        gap: 10px;
        grid-template-rows: 55px 90px minmax(0, 1fr) 144px;
        padding: 10px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-number {
        font-size: 17px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-actions {
        flex: 0 0 auto;
        gap: 6px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-actions .btn {
        font-size: 11px;
        gap: 5px;
        min-width: 0;
        padding: 0 7px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-actions .btn svg {
        height: 18px;
        width: 18px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-actions #edit_pos_sale {
        width: 84px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-actions .invoice_actions {
        width: 100px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-meta > div {
        gap: 7px;
        padding: 0 8px;
    }

    .pos-modern-page #posOffcanvasEnd .offcanvas-footer {
        gap: 14px;
        grid-template-columns: minmax(180px, 230px) minmax(300px, 520px);
        padding: 0 14px !important;
    }
}

@media (max-width: 991.98px) {
    .pos-modern-page #posOffcanvasEnd {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .pos-modern-page #posOffcanvasEnd .offcanvas-content {
        display: block;
        min-height: 100%;
    }

    .pos-modern-page #posOffcanvasEnd .offcanvas-body {
        display: block;
        overflow: visible;
        padding: 16px !important;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-browser {
        grid-template-rows: 40px auto minmax(380px, 1fr);
        min-height: 680px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-recent {
        min-height: 380px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-details {
        gap: 14px;
        grid-template-rows: 55px 90px minmax(180px, 1fr) 144px;
        margin-top: 16px;
        min-height: 545px;
        padding: 14px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-actions {
        gap: 8px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-actions .btn {
        font-size: 13px;
        gap: 8px;
        padding: 0 12px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-actions .btn svg {
        height: 20px;
        width: 20px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-actions #edit_pos_sale {
        width: 120px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-actions .invoice_actions {
        width: 140px;
    }

    .pos-modern-page #posOffcanvasEnd .offcanvas-footer {
        bottom: 0 !important;
        grid-template-columns: minmax(180px, 259px) minmax(280px, 585px);
        height: 84px;
        padding: 16px !important;
        position: sticky !important;
        z-index: 2;
    }
}

@media (max-width: 767.98px) {
    .pos-modern-page #posOffcanvasEnd .pos-orders-toolbar {
        grid-template-columns: minmax(0, 1fr) 110px;
        height: auto;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-search {
        grid-column: 1 / -1;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-filter {
        grid-column: 2;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-browser {
        grid-template-rows: auto auto minmax(380px, 1fr);
        min-height: 730px;
    }

    .pos-modern-page #posOffcanvasEnd .container-order-list {
        max-width: 100%;
        overflow-x: auto;
    }

    .pos-modern-page #posOffcanvasEnd #off-list-orders-table {
        min-width: 620px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-details-header {
        align-items: center;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-meta > div {
        gap: 10px;
        padding: 0 12px;
    }

    .pos-modern-page #posOffcanvasEnd .offcanvas-footer {
        grid-template-columns: minmax(160px, 220px) minmax(240px, 1fr);
    }
}

@media (max-width: 575.98px) {
    .pos-modern-page #posOffcanvasEnd .offcanvas-body {
        padding: 10px !important;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-toolbar {
        grid-template-columns: minmax(0, 1fr);
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-search,
    .pos-modern-page #posOffcanvasEnd .pos-orders-filter {
        grid-column: 1;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-summary {
        grid-template-columns: minmax(0, 1fr);
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-browser {
        min-height: 960px;
        row-gap: 14px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-recent {
        padding: 0 8px 8px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-details {
        grid-template-rows: auto auto minmax(180px, 1fr) 144px;
        padding: 10px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-details-header {
        align-items: stretch;
        flex-direction: column;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-actions {
        width: 100%;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-actions #edit_pos_sale,
    .pos-modern-page #posOffcanvasEnd .pos-order-actions .invoice_actions {
        flex: 1 1 50%;
        width: auto;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-meta {
        grid-template-columns: minmax(0, 1fr);
        padding: 0;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-meta > div {
        min-height: 64px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-meta > div + div {
        border-left: 0;
        border-top: 1px solid #d4e2f3;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-items .table-responsive {
        max-width: 100%;
    }

    .pos-modern-page #posOffcanvasEnd #pos_orders_table {
        min-width: 420px;
    }

    .pos-modern-page #posOffcanvasEnd .offcanvas-footer {
        gap: 8px;
        grid-template-columns: minmax(0, 1fr);
        height: auto;
        padding: 10px !important;
    }

    .pos-modern-page #posOffcanvasEnd .offcanvas-footer .btn {
        height: 46px;
    }
}

@media (min-width: 1440px) {
    .pos-modern-page #posOffcanvasEnd {
        height: calc(100vh - 96px) !important;
        top: 96px;
    }

    .pos-modern-page #posOffcanvasEnd .offcanvas-content {
        grid-template-rows: minmax(0, 1fr) 126px;
    }

    .pos-modern-page #posOffcanvasEnd .offcanvas-body {
        gap: 30px;
        grid-template-columns: minmax(0, 1.52fr) minmax(0, 1fr);
        padding: 30px 30px 0 !important;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-browser {
        grid-template-rows: 40px 110px minmax(0, 1fr);
        row-gap: 30px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-toolbar {
        gap: 30px;
        grid-template-columns: minmax(0, 1fr) 365px 151px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-summary {
        gap: 20px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-summary-card {
        border-radius: 10px;
        gap: 16px;
        padding: 18px 16px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-summary-icon {
        flex-basis: 42px;
        height: 42px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-summary-content {
        font-size: 14px;
        line-height: 20px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-summary-content strong {
        font-size: 18px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-summary-content small {
        font-size: 12px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-recent {
        border-radius: 10px;
        grid-template-rows: 56px minmax(0, 1fr);
        margin-top: 0;
        padding: 0 20px 20px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-recent h3 {
        font-size: 16px;
    }

    .pos-modern-page #posOffcanvasEnd #off-list-orders-table {
        border-spacing: 0 10px;
        margin-top: -10px;
    }

    .pos-modern-page #posOffcanvasEnd #off-list-orders-table tbody td {
        font-size: 12px;
        height: 66px;
        padding: 13px clamp(14px, 1.55vw, 30px) !important;
    }

    .pos-modern-page #posOffcanvasEnd #off-list-orders-table td small,
    .pos-modern-page #posOffcanvasEnd .pos-order-status {
        font-size: 10px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-row-number strong,
    .pos-modern-page #posOffcanvasEnd .pos-order-row-total strong {
        font-size: 14px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-details {
        border-radius: 10px;
        gap: 30px;
        grid-template-rows: 56px 114px minmax(0, 1fr) 144px;
        padding: 19px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-number {
        font-size: 24px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-created,
    .pos-modern-page #posOffcanvasEnd .pos-order-meta strong,
    .pos-modern-page #posOffcanvasEnd .pos-order-meta em,
    .pos-modern-page #posOffcanvasEnd .pos-order-meta small,
    .pos-modern-page #posOffcanvasEnd .pos-order-items h4,
    .pos-modern-page #posOffcanvasEnd #pos_orders_table th,
    .pos-modern-page #posOffcanvasEnd #pos_orders_table td,
    .pos-modern-page #posOffcanvasEnd .pos-order-totals > div {
        font-size: 12px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-items h4 {
        margin-bottom: 13px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-actions .btn {
        font-size: 15px;
        height: 40px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-actions #edit_pos_sale {
        width: 150px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-actions .invoice_actions {
        width: 170px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-meta {
        padding: 20px 0;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-meta > div {
        padding: 0 20px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-meta strong {
        margin-bottom: 12px;
    }

    .pos-modern-page #posOffcanvasEnd #pos_orders_table th {
        padding: 12px 10px;
    }

    .pos-modern-page #posOffcanvasEnd #pos_orders_table td {
        padding: 9px 10px;
    }

    .pos-modern-page #posOffcanvasEnd #pos_orders_table .product-thumbnail-small {
        height: 30px !important;
        width: 30px !important;
    }

    .pos-modern-page #posOffcanvasEnd #pos_orders_table img {
        height: 24px;
        width: 24px !important;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-totals > div {
        height: 33px;
        padding: 0 20px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-totals > .pos-order-total {
        height: 42px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-total strong {
        font-size: 20px;
    }

    .pos-modern-page #posOffcanvasEnd .offcanvas-footer {
        gap: 30px;
        grid-template-columns: 330px minmax(390px, 746px);
        padding: 30px !important;
    }

    .pos-modern-page #posOffcanvasEnd .offcanvas-footer .btn {
        border-radius: 8px;
        font-size: 20px;
        height: 66px;
    }
}

@media (min-width: 1440px) and (max-height: 800px) {
    .pos-modern-page #posOffcanvasEnd .offcanvas-content {
        grid-template-rows: minmax(0, 1fr) 84px;
    }

    .pos-modern-page #posOffcanvasEnd .offcanvas-body {
        gap: 20px;
        padding: 16px 20px 0 !important;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-browser {
        grid-template-rows: 40px 76px minmax(0, 1fr);
        row-gap: 16px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-toolbar {
        gap: 20px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-summary {
        gap: 12px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-summary-card {
        gap: 10px;
        padding: 9px 12px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-summary-icon {
        flex-basis: 36px;
        height: 36px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-summary-content {
        font-size: 12px;
        line-height: 16px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-summary-content strong {
        font-size: 15px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-summary-content small {
        font-size: 10px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-recent {
        grid-template-rows: 44px minmax(0, 1fr);
        padding: 0 14px 14px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-orders-recent h3 {
        font-size: 13px;
    }

    .pos-modern-page #posOffcanvasEnd #off-list-orders-table tbody td {
        height: 54px;
        padding-bottom: 8px !important;
        padding-top: 8px !important;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-details {
        gap: 12px;
        grid-template-rows: 50px 82px minmax(110px, 1fr) 119px;
        padding: 12px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-number {
        font-size: 20px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-meta {
        padding: 10px 0;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-meta > div {
        padding: 0 14px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-meta strong {
        margin-bottom: 6px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-items h4 {
        margin-bottom: 6px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-items .table-responsive {
        max-height: calc(100% - 18px);
    }

    .pos-modern-page #posOffcanvasEnd #pos_orders_table th {
        padding: 8px;
    }

    .pos-modern-page #posOffcanvasEnd #pos_orders_table td {
        padding: 6px 8px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-totals > div {
        height: 26px;
        padding: 0 14px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-totals > .pos-order-total {
        height: 38px;
    }

    .pos-modern-page #posOffcanvasEnd .pos-order-total strong {
        font-size: 18px;
    }

    .pos-modern-page #posOffcanvasEnd .offcanvas-footer {
        gap: 20px;
        padding: 14px 20px !important;
    }

    .pos-modern-page #posOffcanvasEnd .offcanvas-footer .btn {
        font-size: 17px;
        height: 56px;
    }
}
/* /Consulta de pedidos do PDV */

/* Tela principal do PDV */
@media (max-width: 1500px) {
    .pos-modern-page .pos-modern-brand {
        flex-basis: 282px;
        min-width: 282px;
    }

    .pos-modern-page .pos-modern-brand a {
        font-size: 24px;
    }

    .pos-modern-page .pos-modern-order {
        flex-basis: 190px;
        font-size: 22px;
        padding-left: 20px;
    }

    .pos-modern-page .pos-footer-actions {
        grid-template-columns: minmax(200px, 260px) minmax(200px, 260px) minmax(300px, 1fr);
    }
}

@media (max-width: 1199.98px) {
    .pos-modern-page .pos-modern-header {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .pos-modern-page .pos-modern-brand {
        flex-basis: 230px;
        min-width: 230px;
    }

    .pos-modern-page .pos-modern-brand svg {
        flex-basis: 60px;
        height: 38px;
        width: 60px;
    }

    .pos-modern-page .pos-modern-brand a {
        font-size: 20px;
    }

    .pos-modern-page .pos-modern-order {
        flex-basis: 150px;
        font-size: 18px;
        margin-left: 10px;
        padding-left: 0;
    }

    .pos-modern-page .pos-register-status {
        flex-basis: 115px;
        gap: 7px;
        min-width: 115px;
    }

    .pos-modern-page .pos-register-status strong {
        font-size: 12px;
    }

    .pos-modern-page .pos-register-status small {
        font-size: 10px;
    }

    .pos-modern-page .pos-header-status {
        flex-basis: 140px;
        margin-left: 12px;
    }

    .pos-modern-page .pos-modern-icon-btn {
        flex-basis: 50px;
        margin-left: 12px;
        margin-right: 12px;
    }

    .pos-modern-page .pos-header-user {
        flex-basis: 150px;
        min-width: 150px;
    }

    .pos-modern-page .pos-header-user-avatar {
        flex-basis: 44px;
        height: 44px;
        width: 44px;
    }

    .pos-modern-page .content-body > .col-md-12 > .row {
        gap: 8px;
    }

    .pos-modern-page .pos-products-panel {
        flex-basis: calc(48% - 4px) !important;
        max-width: calc(48% - 4px) !important;
        width: calc(48% - 4px) !important;
    }

    .pos-modern-page .pos-items-panel {
        max-width: calc(52% - 4px) !important;
        width: calc(52% - 4px) !important;
    }

    .pos-modern-page .pos-products-panel .pos-product-main-controls > .row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .pos-modern-page .pos-products-panel .pos-product-main-controls > .row > .col-sm-4:nth-child(3) {
        grid-column: 1 / -1;
    }

    .pos-modern-page .pos-products-panel #product > .mb-3:nth-of-type(3) .form-group-sb {
        gap: 0 16px;
        grid-template-columns: minmax(170px, 42%) minmax(0, 1fr);
    }

    .pos-modern-page .pos-products-panel #product > .mb-3:nth-of-type(3) .invoice-col,
    .pos-modern-page div.row-pos-body > div.content > div.content-body div.product__picture {
        max-width: 100%;
        width: 100% !important;
    }

    .pos-modern-page .pos-products-panel #product > .row:last-child > .pos-product-entry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .pos-modern-page .pos-products-panel .pos-product-entry-grid > .pos-entry-quantity {
        grid-column: 1;
        grid-row: 1;
    }

    .pos-modern-page .pos-products-panel .pos-product-entry-grid > .pos-entry-unit-price {
        grid-column: 2;
        grid-row: 1;
    }

    .pos-modern-page .pos-products-panel .pos-product-entry-grid > .pos-entry-discount {
        grid-column: 1;
        grid-row: 2;
    }

    .pos-modern-page .pos-products-panel .pos-product-entry-grid > .pos-entry-subtotal {
        grid-column: 2;
        grid-row: 2;
    }

    .pos-modern-page .pos-products-panel .pos-product-entry-grid > .pos-entry-notes {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .pos-modern-page .pos-products-panel .pos-product-entry-grid > .pos-exchange-value-field {
        grid-column: 1;
        grid-row: 4;
    }

    .pos-modern-page .pos-items-card-header {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .pos-modern-page .pos-items-card-header h3 {
        font-size: 17px !important;
    }

    .pos-modern-page .pos-items-card-actions {
        gap: 8px;
    }

    .pos-modern-page .pos-items-price-btn {
        min-width: 145px;
    }

    .pos-modern-page .pos-footer-actions {
        gap: 12px;
        grid-template-columns: minmax(160px, 220px) minmax(160px, 220px) minmax(260px, 1fr);
    }

    .pos-modern-page .pos-footer .btn {
        gap: 10px;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

@media (max-width: 991.98px) {
    .pos-modern-page .page-body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .pos-modern-page .container-x1,
    .pos-modern-page .container-x1 > .row,
    .pos-modern-page .container-x1 > .row > [class*="col-"],
    .pos-modern-page .container-x1 > .content,
    .pos-modern-page .container-x1 .content.overflow-auto,
    .pos-modern-page .container-x1 .content.overflow-auto > .row,
    .pos-modern-page .container-x1 .content.overflow-auto > .row > .row,
    .pos-modern-page div.row-pos-body,
    .pos-modern-page div.row-pos-body > div.content,
    .pos-modern-page .content-body,
    .pos-modern-page .content-body > .col-md-12,
    .pos-modern-page .content-body > .col-md-12 > .row {
        height: auto;
    }

    .pos-modern-page .content-body > .col-md-12 > .row {
        flex-direction: column;
    }

    .pos-modern-page .pos-products-panel,
    .pos-modern-page .pos-items-panel {
        flex-basis: auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .pos-modern-page .pos-products-panel {
        min-height: 600px;
    }

    .pos-modern-page .pos-items-panel {
        min-height: 480px;
    }

    .pos-modern-page .pos-footer-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1440px) {
    .pos-modern-page .pos-page-header,
    .pos-modern-page .pos-modern-header,
    .pos-modern-page .pos-modern-header-inner {
        height: 96px;
        min-height: 96px !important;
    }

    .pos-modern-page .pos-page-header {
        flex-basis: 96px;
    }

    .pos-modern-page .pos-modern-header {
        padding: 0 30px !important;
    }

    .pos-modern-page .pos-modern-brand {
        flex: 0 0 361px;
        gap: 20px;
        height: 46px;
        min-width: 361px;
    }

    .pos-modern-page .pos-modern-brand svg {
        flex-basis: 86px;
        height: 52px;
        width: 86px;
    }

    .pos-modern-page .pos-modern-brand a {
        font-size: 28px;
        font-weight: 600;
    }

    .pos-modern-page .pos-modern-order {
        align-items: center;
        color: #006bff;
        display: inline-flex;
        flex: 0 0 192px;
        font-size: 25px;
        font-weight: 700;
        height: 58px;
        justify-content: center;
        margin-left: 19px;
        white-space: nowrap;
    }

    .pos-modern-page .pos-modern-header-spacer {
        min-width: 32px;
    }

    .pos-modern-page .pos-register-status {
        flex: 0 0 141px;
        gap: 12px;
        min-width: 141px;
    }

    .pos-modern-page .pos-register-dot {
        flex-basis: 15px;
        height: 15px;
        width: 15px;
    }

    .pos-modern-page .pos-register-status strong {
        font-size: 14px;
        line-height: 22px;
    }

    .pos-modern-page .pos-register-status small {
        font-size: 13px;
        line-height: 16px;
    }

    .pos-modern-page .pos-header-status {
        flex: 0 0 210px;
        margin-left: 54px;
    }

    .pos-modern-page .pos-header-status .select2-container--default .select2-selection--single {
        border-radius: 10px !important;
        height: 50px;
        min-height: 50px;
    }

    .pos-modern-page .pos-header-status .select2-selection__rendered {
        color: rgba(0, 0, 0, 0.7) !important;
        font-size: 15px;
        line-height: 48px !important;
    }

    .pos-modern-page .pos-header-status .select2-selection__arrow {
        height: 48px !important;
        right: 14px !important;
    }

    .pos-modern-page .pos-modern-icon-btn {
        border-left-width: 0 !important;
        border-right-width: 0 !important;
        box-shadow: inset 1px 0 0 #e7edf5, inset -1px 0 0 #e7edf5;
        flex: 0 0 58px;
        font-size: 19px;
        height: 46px;
        margin: 0 23px 0 30px;
    }

    .pos-modern-page .pos-header-user {
        flex: 0 0 197px;
        gap: 20px;
        min-width: 197px;
    }

    .pos-modern-page .pos-header-user-avatar {
        flex-basis: 70px;
        height: 70px;
        width: 70px;
    }

    .pos-modern-page .pos-header-user-copy strong {
        font-size: 15px;
        line-height: 23px;
    }

    .pos-modern-page .pos-header-user-copy small {
        font-size: 14px;
        line-height: 21px;
    }

    .pos-modern-page .page-body {
        padding: 16px 16px 0 !important;
    }

    .pos-modern-page.pos-orders-open .pos-products-panel .pos-product-main-controls .form-control,
    .pos-modern-page.pos-orders-open .pos-products-panel .pos-product-main-controls .select2-selection__rendered {
        font-size: 15px !important;
    }

    .pos-modern-page.pos-orders-open .pos-products-panel .pos-product-main-controls .pos-auto-insert-label,
    .pos-modern-page.pos-orders-open .pos-products-panel .pos-product-main-controls .toggle-message {
        font-size: 14px !important;
        line-height: 17px;
    }

    .pos-modern-page.pos-orders-open div.row-pos-body > div.content > div.content-body input#search_product {
        font-size: 16px;
        height: 50px;
    }

    .pos-modern-page.pos-orders-open div.row-pos-body > div.content > div.content-body input#search_product + span.input-group-addon {
        height: 50px;
        min-width: 48px;
    }

    .pos-modern-page.pos-orders-open .pos-products-panel .another__elements a {
        font-size: 13px;
    }

    .pos-modern-page.pos-orders-open div.row-pos-body > div.content > div.content-body div.product__description {
        font-size: 21px;
        line-height: 25px;
    }

    .pos-modern-page.pos-orders-open .pos-product-preview-code {
        font-size: 12px;
        padding: 5px 10px;
    }

    .pos-modern-page.pos-orders-open div.row-pos-body > div.content > div.content-body div.ps__unit_price {
        font-size: 26px;
        line-height: 31px;
    }

    .pos-modern-page.pos-orders-open .pos-products-panel .pos-product-main-controls label,
    .pos-modern-page.pos-orders-open .pos-products-panel .pos-product-main-controls .custom-switch,
    .pos-modern-page.pos-orders-open .pos-products-panel .pos-product-entry-grid label {
        font-size: 14px;
        font-weight: 500;
        line-height: 17px;
        margin-bottom: 6px;
    }

    .pos-modern-page.pos-orders-open .pos-products-panel .pos-product-entry-grid .form-control {
        font-size: 14px;
        padding: 12px 14px;
    }

    .pos-modern-page.pos-orders-open .pos-products-panel .pos-product-entry-grid .input-group .p-addon0x-7x,
    .pos-modern-page.pos-orders-open .pos-products-panel .pos-product-entry-grid .pos-field-edit-icon {
        flex-basis: 40px;
        min-width: 40px;
    }

    .pos-modern-page.pos-orders-open .pos-items-card-header h3 {
        font-size: 21px !important;
        line-height: 25px;
    }

    .pos-modern-page.pos-orders-open .pos-items-card-actions {
        gap: 14px;
    }

    .pos-modern-page.pos-orders-open .pos-items-price-btn {
        padding: 0 15px;
    }

    .pos-modern-page.pos-orders-open .pos-items-price-btn .select2-container {
        width: 118px !important;
    }

    .pos-modern-page.pos-orders-open .pos-items-price-btn .select2-selection__rendered {
        font-size: 14px;
        line-height: 42px !important;
    }

    .pos-modern-page.pos-orders-open .pos-items-price-btn > i,
    .pos-modern-page.pos-orders-open .pos-items-price-btn span {
        font-size: 14px;
    }

    .pos-modern-page.pos-orders-open table#pos_table thead th {
        font-size: 14px;
        font-weight: 600;
        height: 50px;
        padding: 0 12px;
    }

    .pos-modern-page.pos-orders-open table#pos_table thead th:first-child {
        padding-left: 20px !important;
        width: 41%;
    }

    .pos-modern-page.pos-orders-open table#pos_table tbody tr.product_row td {
        font-size: 14px;
        padding: 22px 12px !important;
    }

    .pos-modern-page.pos-orders-open table#pos_table tbody tr.product_row td:first-child {
        padding-left: 20px !important;
    }

    .pos-modern-page.pos-orders-open table#pos_table tbody tr.product_row .pos-product-cell {
        gap: 20px;
    }

    .pos-modern-page.pos-orders-open table#pos_table tbody tr.product_row .pos-product-image-trigger,
    .pos-modern-page.pos-orders-open table#pos_table tbody tr.product_row .pos-product-thumbnail {
        flex-basis: 50px;
    }

    .pos-modern-page.pos-orders-open table#pos_table tbody tr.product_row .pos-product-thumbnail {
        height: 50px !important;
        width: 50px !important;
    }

    .pos-modern-page.pos-orders-open table#pos_table tbody tr.product_row .product_description {
        font-size: 15px;
        line-height: 18px;
    }

    .pos-modern-page.pos-orders-open table#pos_table tbody tr.product_row .pos-product-code {
        font-size: 12px;
        line-height: 15px;
        margin-top: 6px;
    }

    .pos-modern-page.pos-orders-open table#pos_table tbody tr.product_row .pos_quantity,
    .pos-modern-page.pos-orders-open table#pos_table tbody tr.product_row .pos_unit_price_inc_tax,
    .pos-modern-page.pos-orders-open table#pos_table tbody tr.product_row .pos_line_total,
    .pos-modern-page.pos-orders-open table#pos_table tbody tr.product_row .pos_line_discount {
        font-size: 14px;
    }

    .pos-modern-page.pos-orders-open table#pos_table tbody tr.product_row .pos_edit_row,
    .pos-modern-page.pos-orders-open table#pos_table tbody tr.product_row .pos_remove_row {
        height: 30px;
        min-height: 30px;
        width: 30px;
    }

    .pos-modern-page.pos-orders-open .pos-items-summary {
        padding: 0 23px;
    }

    .pos-modern-page.pos-orders-open .pos-items-summary span {
        font-size: 13px;
        font-weight: 600;
    }

    .pos-modern-page.pos-orders-open .pos-items-summary strong {
        font-size: 16px;
        line-height: 19px;
    }

    .pos-modern-page.pos-orders-open .pos-items-summary .pos-summary-total strong,
    .pos-modern-page.pos-orders-open .pos-items-summary .pos-summary-total b {
        font-size: 35px;
        line-height: 42px;
    }

    .pos-modern-page.pos-orders-open .pos-footer-actions {
        grid-template-columns: 330px 352px minmax(0, 746px);
        justify-content: space-between;
    }

    .pos-modern-page.pos-orders-open .pos-footer .btn {
        font-size: 20px !important;
        font-weight: 600;
    }
}

@media (min-width: 1440px) and (max-height: 800px) {
    .pos-modern-page .page-body {
        padding: 12px 16px 0 !important;
    }

    .pos-modern-page .pos-products-panel .pos-product-selection-content {
        padding: 12px !important;
    }

    .pos-modern-page .pos-products-panel .pos-product-main-controls,
    .pos-modern-page.pos-orders-open .pos-products-panel .pos-product-main-controls {
        gap: 10px !important;
    }

    .pos-modern-page .pos-products-panel .pos-product-main-controls .pos-customer-row,
    .pos-modern-page .pos-products-panel .pos-product-main-controls > .row,
    .pos-modern-page.pos-orders-open .pos-products-panel .pos-product-main-controls .pos-customer-row,
    .pos-modern-page.pos-orders-open .pos-products-panel .pos-product-main-controls > .row {
        gap: 10px !important;
    }

    .pos-modern-page .pos-products-panel .pos-product-main-controls .pos-customer-search,
    .pos-modern-page .pos-products-panel .pos-product-main-controls .pos-customer-row .input-group-addon,
    .pos-modern-page .pos-products-panel .pos-product-main-controls .pos-customer-row .select2-container--default .select2-selection--single,
    .pos-modern-page .pos-products-panel .pos-product-main-controls .select-pt .form-control,
    .pos-modern-page .pos-products-panel .pos-product-main-controls .select-pt .select2-container--default .select2-selection--single {
        height: 40px !important;
        min-height: 40px !important;
    }

    .pos-modern-page .pos-products-panel .pos-product-main-controls .select2-selection__rendered {
        line-height: 38px !important;
    }

    .pos-modern-page div.row-pos-body > div.content > div.content-body input#search_product,
    .pos-modern-page div.row-pos-body > div.content > div.content-body input#search_product + span.input-group-addon,
    .pos-modern-page.pos-orders-open div.row-pos-body > div.content > div.content-body input#search_product,
    .pos-modern-page.pos-orders-open div.row-pos-body > div.content > div.content-body input#search_product + span.input-group-addon {
        height: 38px;
    }

    .pos-modern-page .pos-products-panel .another__elements {
        min-height: 22px;
    }

    .pos-modern-page .pos-products-panel #product > .mb-3:nth-of-type(3) {
        margin-top: 10px;
    }

    .pos-modern-page .pos-products-panel #product > .mb-3:nth-of-type(3) .form-group-sb,
    .pos-modern-page.pos-orders-open .pos-products-panel #product > .mb-3:nth-of-type(3) .form-group-sb {
        gap: 0 16px;
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .pos-modern-page .pos-products-panel #product > .mb-3:nth-of-type(3) .invoice-col,
    .pos-modern-page.pos-orders-open .pos-products-panel #product > .mb-3:nth-of-type(3) .invoice-col {
        max-width: 180px;
        width: 180px !important;
    }

    .pos-modern-page div.row-pos-body > div.content > div.content-body div.product__picture,
    .pos-modern-page.pos-orders-open div.row-pos-body > div.content > div.content-body div.product__picture {
        height: 132px;
        max-width: 180px;
        width: 180px !important;
    }

    .pos-modern-page .pos-products-panel #product > .mb-3:nth-of-type(3) .invoice-col + .col-sm-6,
    .pos-modern-page.pos-orders-open .pos-products-panel #product > .mb-3:nth-of-type(3) .invoice-col + .col-sm-6 {
        padding-top: 12px !important;
    }

    .pos-modern-page .pos-products-panel #product > .row:last-child,
    .pos-modern-page.pos-orders-open .pos-products-panel #product > .row:last-child {
        margin-top: 18px;
    }

    .pos-modern-page .pos-products-panel #product > .row:last-child > .pos-product-entry-grid,
    .pos-modern-page.pos-orders-open .pos-products-panel #product > .row:last-child > .pos-product-entry-grid {
        gap: 10px 14px;
    }

    .pos-modern-page .pos-products-panel .pos-product-entry-grid .form-control,
    .pos-modern-page .pos-products-panel .pos-product-entry-grid .input-group-addon,
    .pos-modern-page .pos-products-panel .pos-product-entry-grid textarea#product_notes,
    .pos-modern-page.pos-orders-open .pos-products-panel .pos-product-entry-grid .form-control,
    .pos-modern-page.pos-orders-open .pos-products-panel .pos-product-entry-grid .input-group-addon,
    .pos-modern-page.pos-orders-open .pos-products-panel .pos-product-entry-grid textarea#product_notes {
        height: 38px !important;
        min-height: 38px !important;
    }

    .pos-modern-page .pos-items-card-header,
    .pos-modern-page.pos-orders-open .pos-items-card-header {
        align-items: center;
        flex-basis: 52px;
        height: 52px !important;
        padding: 0 16px !important;
    }

    .pos-modern-page .pos-items-icon-btn,
    .pos-modern-page .pos-items-price-btn,
    .pos-modern-page.pos-orders-open .pos-items-icon-btn,
    .pos-modern-page.pos-orders-open .pos-items-price-btn {
        height: 38px !important;
        min-height: 38px !important;
    }

    .pos-modern-page .pos-items-summary,
    .pos-modern-page.pos-orders-open .pos-items-summary {
        flex-basis: 68px;
        height: 68px;
    }

    .pos-modern-page table#pos_table thead th,
    .pos-modern-page.pos-orders-open table#pos_table thead th {
        height: 40px;
    }

    .pos-modern-page table#pos_table tbody tr.product_row td,
    .pos-modern-page.pos-orders-open table#pos_table tbody tr.product_row td {
        padding-bottom: 12px !important;
        padding-top: 12px !important;
    }

    .pos-modern-page .stick-bottom {
        flex-basis: 90px;
        height: 90px;
        padding: 15px 16px !important;
    }

    .pos-modern-page .pos-footer,
    .pos-modern-page .pos-footer .btn,
    .pos-modern-page.pos-orders-open .pos-footer,
    .pos-modern-page.pos-orders-open .pos-footer .btn {
        height: 60px !important;
    }

    .pos-modern-page .pos-footer .btn,
    .pos-modern-page.pos-orders-open .pos-footer .btn {
        font-size: 17px !important;
    }

    .pos-modern-page.pos-orders-open .pos-off-before {
        height: calc(100% + 78px);
    }

    .pos-modern-page.pos-orders-open div.row-pos-body div.pos-off-before div.pos-cards-header {
        height: 56px;
        min-height: 56px !important;
        padding-top: 8px !important;
    }

    .pos-modern-page.pos-orders-open div.row-pos-body div.pos-off-before div.pos-cards-body {
        height: calc(100% - 56px) !important;
        padding: 12px !important;
    }
}
/* /Tela principal do PDV */

/* Modal de recebimento do PDV */
@media (max-width: 1500px) {
    .pos-receipt-payment-dialog {
        max-width: calc(100% - 32px);
    }

    .pos-receipt-payment-footer .pos-receipt-footer-actions {
        grid-template-columns: minmax(200px, 260px) minmax(200px, 260px) minmax(300px, 1fr);
    }
}

@media (min-width: 1440px) {
    .pos-receipt-payment-dialog {
        max-width: 1730px;
    }

    .pos-receipt-payment-footer .pos-receipt-footer-actions {
        grid-template-columns: 330px 352px minmax(0, 1fr);
        justify-content: space-between;
    }
}

@media (min-width: 1200px) and (max-height: 900px) {
    .pos-receipt-payment-dialog {
        margin: 4px auto;
        max-width: calc(100% - 24px);
    }

    .pos-receipt-payment-dialog .pos-receipt-payment-content,
    .pos-receipt-payment-modal .modal-dialog-scrollable .pos-receipt-payment-content {
        max-height: calc(100vh - 8px);
    }

    .pos-receipt-payment-header {
        min-height: 60px;
        padding: 16px 22px 8px;
    }

    .pos-receipt-payment-header .modal-title {
        font-size: 24px;
        line-height: 30px;
    }

    .pos-receipt-payment-header .pos-receipt-payment-close {
        font-size: 30px;
    }

    .pos-receipt-payment-body {
        padding: 0 22px 12px;
    }

    .pos-receipt-metrics {
        min-height: 86px;
    }

    .pos-receipt-metric {
        min-height: 86px;
        padding: 10px 18px 8px;
    }

    .pos-receipt-metric + .pos-receipt-metric:before {
        bottom: 14px;
        top: 14px;
    }

    .pos-receipt-metric-label {
        font-size: 11px;
    }

    .pos-receipt-metric-control {
        height: 34px;
        margin-top: 2px;
    }

    .pos-receipt-metric-control svg {
        flex: 0 0 42px;
        height: 42px;
        width: 42px;
    }

    .pos-receipt-money-input,
    .pos-receipt-form-input,
    .pos-receipt-currency-prefix {
        font-size: 21px;
        line-height: 27px;
    }

    .pos-receipt-shortcut {
        font-size: 11px;
        margin-left: 46px;
        padding: 5px 7px;
    }

    .pos-receipt-payment-cards {
        margin: 12px 0;
    }

    .pos-receipt-payment-cards .pos-card {
        gap: 10px;
        min-height: 56px;
        padding: 0 8px;
    }

    .pos-receipt-payment-cards .pos-card strong {
        font-size: 12px;
    }

    .pos-receipt-payment-main > .pos-receipt-summary-column,
    .pos-receipt-config-box {
        min-height: 330px;
    }

    .pos-receipt-config-box,
    .pos-receipt-summary-box {
        padding: 12px;
    }

    .pos-receipt-summary-column .pos-receipt-summary-box:first-child {
        flex-basis: 165px;
    }

    .pos-receipt-summary-box + .pos-receipt-summary-box {
        margin-top: 10px;
    }

    .pos-receipt-empty-state {
        height: 252px;
    }

    .pos-receipt-empty-state i {
        font-size: 28px;
        height: 60px;
        margin-bottom: 12px;
        width: 60px;
    }

    .pos-receipt-summary-table th,
    .pos-receipt-summary-table td {
        font-size: 10px;
        padding: 5px;
    }

    .pos-receipt-financial-row {
        font-size: 12px;
        padding: 3px 0;
    }

    .pos-receipt-financial-balance {
        margin-top: 6px;
        padding-top: 8px;
    }

    .pos-receipt-payment-footer {
        padding: 0 22px 16px;
    }

    .pos-receipt-payment-footer .pos-receipt-footer,
    .pos-receipt-payment-footer .btn {
        height: 58px !important;
    }

    .pos-receipt-payment-footer .pos-receipt-footer-actions {
        gap: 18px;
        grid-template-columns: 300px 300px minmax(0, 1fr);
    }

    .pos-receipt-payment-footer .btn {
        font-size: 15px;
        gap: 14px;
    }
}

@media (min-width: 1440px) and (max-height: 800px) {
    .pos-receipt-payment-header {
        min-height: 56px;
        padding-bottom: 6px;
        padding-top: 14px;
    }

    .pos-receipt-payment-body {
        padding-bottom: 10px;
    }

    .pos-receipt-metrics {
        min-height: 78px;
    }

    .pos-receipt-metric {
        min-height: 78px;
        padding-bottom: 7px;
        padding-top: 9px;
    }

    .pos-receipt-metric-control svg {
        flex-basis: 38px;
        height: 38px;
        width: 38px;
    }

    .pos-receipt-payment-cards .pos-card {
        min-height: 50px;
    }

    .pos-receipt-payment-main > .pos-receipt-summary-column,
    .pos-receipt-config-box {
        min-height: 300px;
    }

    .pos-receipt-summary-column .pos-receipt-summary-box:first-child {
        flex-basis: 145px;
    }

    .pos-receipt-empty-state {
        height: 220px;
    }

    .pos-receipt-payment-footer {
        padding-bottom: 12px;
    }

    .pos-receipt-payment-footer .pos-receipt-footer,
    .pos-receipt-payment-footer .btn {
        height: 52px !important;
    }
}

@media (max-width: 1199.98px) {
    .pos-receipt-payment-dialog {
        max-width: calc(100% - 32px);
    }

    .pos-receipt-payment-body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pos-receipt-metrics {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .pos-receipt-metric:nth-child(4):before {
        display: none !important;
    }

    .pos-receipt-payment-cards {
        grid-template-columns: repeat(8, minmax(130px, 1fr));
    }

    .pos-receipt-payment-main > .pos-receipt-config-box {
        width: 60%;
    }

    .pos-receipt-payment-main > .pos-receipt-summary-column {
        width: 40%;
    }

    .pos-receipt-payment-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pos-receipt-payment-footer .pos-receipt-footer-actions {
        gap: 12px;
        grid-template-columns: minmax(160px, 220px) minmax(160px, 220px) minmax(260px, 1fr);
    }

    .pos-receipt-payment-footer .btn {
        gap: 10px;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

@media (max-width: 991.98px) {
    .pos-receipt-payment-main {
        flex-direction: column;
        gap: 14px;
        margin-left: 0;
        margin-right: 0;
    }

    .pos-receipt-payment-main > .pos-receipt-config-box,
    .pos-receipt-payment-main > .pos-receipt-summary-column {
        min-height: 0;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .pos-receipt-config-box {
        min-height: 300px;
    }

    .pos-receipt-empty-state {
        height: 220px;
    }

    .pos-receipt-payment-footer .pos-receipt-footer-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .pos-receipt-payment-dialog {
        margin: 8px auto;
        max-width: none;
        width: calc(100% - 16px);
    }

    .pos-receipt-payment-header {
        min-height: 64px;
        padding: 16px;
    }

    .pos-receipt-payment-header .modal-title {
        font-size: 22px;
        line-height: 28px;
    }

    .pos-receipt-payment-body {
        padding: 0 16px 14px;
    }

    .pos-receipt-metrics {
        grid-template-columns: minmax(0, 1fr);
    }

    .pos-receipt-metric {
        min-height: 82px;
        padding: 12px 16px;
    }

    .pos-receipt-metric + .pos-receipt-metric:before {
        bottom: auto;
        display: block !important;
        height: 1px;
        left: 16px;
        right: 16px;
        top: 0;
        width: auto;
    }

    .pos-receipt-metric-control svg {
        flex-basis: 40px;
        height: 40px;
        width: 40px;
    }

    .pos-receipt-payment-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow-x: hidden;
    }

    .pos-receipt-payment-cards .pos-card {
        border-bottom: 1px solid #edf2f7 !important;
        min-height: 56px;
    }

    .pos-receipt-payment-footer .pos-receipt-footer {
        height: auto;
    }

    .pos-receipt-payment-footer .pos-receipt-footer-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .pos-receipt-payment-footer .btn {
        height: 52px !important;
    }
}

@media (max-width: 575.98px) {
    .pos-receipt-payment-header,
    .pos-receipt-payment-body,
    .pos-receipt-payment-footer {
        padding-left: 12px;
        padding-right: 12px;
    }

    .pos-receipt-payment-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .pos-receipt-payment-footer .btn {
        font-size: 14px;
    }
}
/* /Modal de recebimento do PDV */

/* Modal de observação do PDV */
@media (max-width: 1199.98px) {
    .pos-observation-modal-dialog {
        max-width: calc(100% - 32px);
    }
}

@media (min-width: 768px) and (max-height: 800px) {
    .pos-observation-modal-header {
        min-height: 82px;
        padding-bottom: 12px;
        padding-top: 12px;
    }

    .pos-observation-modal-heading svg {
        flex-basis: 48px;
        height: 48px;
        width: 48px;
    }

    .pos-observation-modal-body {
        padding-bottom: 18px;
        padding-top: 18px;
    }

    .pos-observation-text-field {
        margin-top: 18px;
    }

    .pos-observation-textarea {
        height: 104px;
        min-height: 104px;
    }

    .pos-observation-modal-footer {
        min-height: 76px;
        padding-bottom: 16px;
        padding-top: 16px;
    }
}

@media (max-width: 767.98px) {
    .pos-observation-modal-dialog {
        margin: 12px auto;
        width: calc(100% - 24px);
    }

    .pos-observation-modal-header {
        min-height: 82px;
        padding: 14px 20px;
    }

    .pos-observation-modal-heading {
        gap: 16px;
    }

    .pos-observation-modal-heading svg {
        flex-basis: 48px;
        height: 48px;
        width: 48px;
    }

    .pos-observation-modal-title {
        font-size: 22px;
    }

    button.pos-observation-modal-close {
        font-size: 30px;
    }

    .pos-observation-modal-body {
        padding: 20px;
    }

    .pos-observation-top-grid {
        gap: 16px;
        grid-template-columns: minmax(0, 1fr);
    }

    .pos-observation-print-option {
        justify-self: stretch;
    }

    .pos-observation-text-field {
        margin-top: 20px;
    }

    .pos-observation-textarea {
        height: 112px;
        min-height: 112px;
    }

    .pos-observation-modal-footer {
        gap: 16px;
        min-height: 84px;
        padding: 20px;
    }

    .pos-observation-modal-footer .btn {
        flex: 1 1 50%;
        font-size: 15px;
        height: 44px;
        width: auto;
    }
}

@media (max-width: 575.98px) {
    .pos-observation-modal-dialog {
        margin: 8px auto;
        width: calc(100% - 16px);
    }

    .pos-observation-modal-header {
        padding: 14px 16px;
    }

    .pos-observation-modal-heading {
        gap: 12px;
    }

    .pos-observation-modal-heading svg {
        flex-basis: 40px;
        height: 40px;
        width: 40px;
    }

    .pos-observation-modal-title {
        font-size: 20px;
    }

    .pos-observation-modal-body {
        padding: 16px;
    }

    .pos-observation-modal-footer {
        gap: 12px;
        min-height: 76px;
        padding: 16px;
    }

    .pos-observation-modal-footer .btn {
        font-size: 14px;
        height: 42px;
    }

    .pos-observation-save-button {
        gap: 8px;
    }
}
/* /Modal de observação do PDV */
