.cursor-pointer {
    cursor: pointer;
}

:root {
    --theme-primary: #4A7FC1;
    --theme-primary-dark: #3A6BA8;
    --theme-primary-darker: #326192;
    --theme-primary-light: rgba(74, 127, 193, 0.2);
    --theme-primary-soft: #EEF4FB;
}
.text-right {
    text-align: right;
}
.min-height-780 {
    min-height: 780px !important;
}
/*custom*/
.img-div {
    width: 200px;
    margin-right: 30px;
    margin-bottom: 5px;
}
.image-add {
    border: 1px #4A7FC1 dashed;
    height: 200px;
    position: relative;
    border-radius: 10px;
}
.image-add:hover {
    cursor: pointer;
}
.image-add span {
    color: #b0bec5;
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}
.input-image,
#image-holder-banner,
#image-holder,
#image-holder2,
#image-holder3,
#image-holder4,
#image-holder5,
#image-holder6,
#image-holder7,
#image-holder8 {
    display: none;
}
#image-holder-banner:hover,
#image-holder1:hover,
#image-holder2:hover,
#image-holder3:hover,
#image-holder4:hover,
#image-holder5:hover,
#image-holder6:hover,
#image-holder7:hover,
#image-holder8:hover {
    cursor: pointer;
}
#upload-demo {
    width: 100%;
    height: 350px;
    padding-bottom: 25px;
}
.deleteItemTD,
.editItemTD {
    cursor: pointer;
}
.deleteItemTD {
    color: red;
}
.editItemTD {
    color: #ffa87d;
}

/* Pre Save */
.save-wrapper {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(24, 24, 24, 0.85);
    z-index: 9990;
}
.save-wrapper.show {
    display: flex;
}
.product-search-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
}
.product-search-wrapper > select {
    width: fit-content;
    border-radius: 0.25rem 0 0 0.25rem;
}
.product-search-wrapper > .input-search-wrapper {
    padding: 0;
    flex: 1;
}
.product-search-wrapper input[type="text"] {
    border-radius: 0 0.25rem 0.25rem 0;
    margin-left: -1px;
    padding-right: 85px;
}
.product-search-wrapper button {
    right: 0;
    border-radius: 0 0.25rem 0.25rem 0;
}
.dollar:before {
    content: "$";
}
.text-prewrap {
    white-space: pre-wrap;
}
.nav-pills .nav-link {
    color: #7a7a7a !important;
}
.nav-pills .nav-link:hover {
    color: #000000 !important;
}
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
    color: white !important;
    background-color: #4A7FC1 !important;
}
.layout-navbar-fixed .wrapper .brand-link span {
    font-weight: 400 !important;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: white !important;
}

.nav-pills .nav-link.menu-open > ul > li a.active {
    color: black !important;
}

.form-border {
    position: relative;
    border: 1px solid #6c757d;
    padding: 1rem;
    margin-top: 1rem;
}
.form-border > span {
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    background-color: #343a40;
    margin-top: -30px;
    margin-left: -0.5rem;
    padding: 3px 10px;
}

.form-border > .del-contact {
    position: absolute;
    top: 5px;
    right: 7px;
    cursor: pointer;
    z-index: 1;
}
.form-border > .del-contact::before {
    content: "\f2ed";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    cursor: pointer;
}

.file-card {
    margin-top: 1.5rem;
}
.file-card > button {
    margin-bottom: 1rem;
}

.paginate_button.page-item.active a {
    background-color: #4A7FC1 !important;
}

.text-bold {
    font-weight: bolder;
}
.float-right {
    float: right;
}
.mbb-5 {
    margin-bottom: 3rem;
}
.font075 {
    font-size: 0.75rem;
}
#paymentfilter {
    position: absolute;
    left: 1vw;
    width: 25%;
}
.pll-2 {
    padding-left: 1.5rem;
}
#div_category_main,
#div_category_sub1 {
    display: none;
}

/* Select2 - make it match form-control everywhere */
.select2-container {
    width: 100% !important;
}
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
    min-height: calc(2.25rem + 2px);
}
.select2-container--default .select2-selection--single {
    background-color: #fff !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #495057;
    line-height: calc(2.25rem + 2px);
    padding-left: 0.75rem;
    padding-right: 2.25rem;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(2.25rem + 2px);
    right: 0.5rem;
}
.select2-container--default .select2-selection--multiple {
    padding: 0.15rem 0.5rem 0.25rem 0.5rem;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: rgba(59, 183, 126, 0.15);
    border: 1px solid rgba(59, 183, 126, 0.35);
    color: #1b5b43;
    border-radius: 999px;
    padding: 2px 8px;
    margin-top: 0.25rem;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #1b5b43;
    margin-right: 6px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #4A7FC1 !important;
}
.select2-dropdown {
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
    overflow: hidden;
}
.select2-search--dropdown .select2-search__field {
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
    padding: 0.375rem 0.75rem !important;
}
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--multiple {
    border-color: #4A7FC1 !important;
    box-shadow: 0 0 0 0.2rem rgba(59, 183, 126, 0.15) !important;
}

/* Global typography — Tahoma + ขนาดใหญ่ขึ้น (เสริมจาก assets/css/main.css) */
.material-icons {
    font-family: "Material Icons Round" !important;
}

.form-control,
.btn,
.dropdown-menu,
.dropdown-item,
.nav-link,
.modal-title,
.modal-body,
.alert,
.breadcrumb,
.pagination .page-link,
.input-group-text,
.list-group-item,
.card-body {
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}

table.dataTable tbody td,
table.dataTable thead th {
    font-size: 15px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    font-size: 16px !important;
}

small,
.small {
    font-size: 0.9375rem !important;
}

/* หน้าที่ใช้ layouts.app (forgot-password ฯลฯ) — ทับ Nunito */
body.layout-app {
    font-family: Tahoma, "Segoe UI", Arial, sans-serif !important;
    font-size: 1rem !important;
}

body.layout-app .navbar,
body.layout-app .card,
body.layout-app .dropdown-menu {
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}

.navbar-aside .aside-top .brand-wrap {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 44px);
}

.navbar-aside .aside-top .shop-brand-logo {
    width: auto !important;
    min-width: 0 !important;
    max-width: min(72%, 150px) !important;
    max-height: 48px;
    height: auto;
    object-fit: contain;
    display: block;
    margin-top: 0;
}

.locale-flag-icon,
.user-avatar-fallback {
    display: block;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    object-fit: cover;
    border-radius: 50%;
}

@media (max-width: 991.98px) {
    .navbar-aside .aside-top .shop-brand-logo {
        max-width: 140px !important;
        max-height: 44px;
    }
}

/* iPad / tablet portrait — collapsed icon sidebar */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .btn-mobile {
        display: none !important;
    }

    .main-wrap {
        margin-left: 80px !important;
    }

    .navbar-aside {
        max-width: 80px !important;
        overflow: visible !important;
        position: fixed !important;
        min-height: 100%;
        transform: none !important;
        visibility: visible !important;
        z-index: 10 !important;
    }

    .navbar-aside .aside-top {
        text-align: center;
        justify-content: center;
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }

    .navbar-aside .aside-top .brand-wrap,
    .navbar-aside .aside-top .logo,
    .navbar-aside .aside-top .shop-brand-logo {
        display: none !important;
    }

    .navbar-aside .aside-top > div {
        flex-grow: 1;
    }

    .menu-aside .menu-link {
        text-align: center;
        justify-content: center;
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }

    .menu-aside .menu-link .text {
        display: none !important;
    }

    .menu-aside .menu-link .icon {
        margin-right: 0 !important;
    }

    .menu-aside .menu-item {
        position: relative;
    }

    .menu-aside .menu-item.has-submenu .menu-link:after {
        display: none !important;
    }

    .menu-aside .submenu {
        border: 1px solid #eee;
        border-radius: 0 10px 10px 0;
        background-color: #fff;
        margin-left: 16px;
        padding: 10px;
        position: absolute;
        left: 100%;
        top: 5px;
        min-width: 180px;
        z-index: 20;
    }

    .main-header .col-nav {
        width: auto !important;
        margin-bottom: 0 !important;
        order: unset !important;
    }

    .main-header .col-search {
        flex-grow: unset !important;
        width: auto !important;
    }
}

/* ---- DataTables: อ่านง่าย คอนทราสต์ชัด ---- */
div.dataTables_wrapper {
    color: #111827;
}

div.dataTables_wrapper div.dataTables_filter label,
div.dataTables_wrapper div.dataTables_length label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

div.dataTables_wrapper div.dataTables_filter input {
    border: 1px solid #94a3b8 !important;
    background: #fff !important;
    color: #111827 !important;
    border-radius: 10px !important;
    min-height: 40px;
    padding: 0.45rem 0.8rem !important;
    min-width: min(100%, 240px);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}

div.dataTables_wrapper div.dataTables_filter input:focus {
    border-color: #4A7FC1 !important;
    box-shadow: 0 0 0 3px rgba(74, 127, 193, 0.18) !important;
    outline: none;
}

div.dataTables_wrapper div.dataTables_length select {
    border: 1px solid #94a3b8;
    border-radius: 8px;
    min-height: 38px;
    color: #111827;
    background: #fff;
}

table.dataTable {
    border-collapse: separate !important;
    border-spacing: 0;
}

table.dataTable thead th {
    background: #e8f0fa !important;
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    border-bottom: 2px solid #c5d9f0 !important;
    padding: 0.72rem 0.8rem !important;
    vertical-align: middle !important;
}

table.dataTable tbody td {
    color: #111827 !important;
    font-size: 0.94rem !important;
    line-height: 1.45;
    padding: 0.7rem 0.8rem !important;
    border-bottom: 1px solid #e8edf3 !important;
    vertical-align: middle !important;
}

table.dataTable tbody tr:nth-child(even) td {
    background-color: #f8fafc;
}

table.dataTable tbody tr:hover td {
    background-color: #eef5fd !important;
}

table.dataTable tbody a {
    color: #2f5880 !important;
    font-weight: 600;
    text-decoration: none;
}

table.dataTable tbody a:hover {
    color: #234f8f !important;
    text-decoration: underline;
}

table.dataTable tbody .text-bold,
table.dataTable tbody .text-bold a {
    font-weight: 700 !important;
}

table.dataTable tbody td.usdollar,
table.dataTable tbody .usdollar {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: #0f172a !important;
}

table.dataTable td.dt-control:before {
    background-color: #4A7FC1 !important;
    border-color: #fff !important;
    box-shadow: 0 1px 4px rgba(74, 127, 193, 0.35) !important;
}

table.dataTable tr.dt-hasChild td.dt-control:before {
    background-color: #3A6BA8 !important;
}

div.dataTables_wrapper div.dataTables_info {
    color: #475569 !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding-top: 0.75rem !important;
}

div.dataTables_wrapper div.dataTables_paginate {
    padding-top: 0.35rem !important;
}

div.dataTables_wrapper div.dataTables_paginate .pagination {
    gap: 0.3rem;
}

div.dataTables_wrapper div.dataTables_paginate .page-link {
    border-radius: 8px !important;
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    background: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 !important;
}

div.dataTables_wrapper div.dataTables_paginate .page-item.active .page-link {
    background: #4A7FC1 !important;
    border-color: #4A7FC1 !important;
    color: #fff !important;
}

div.dataTables_wrapper div.dataTables_paginate .page-item.disabled .page-link {
    color: #94a3b8 !important;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

@media (max-width: 767.98px) {
    div.dataTables_wrapper div.dataTables_filter,
    div.dataTables_wrapper div.dataTables_length {
        margin-bottom: 0.75rem;
    }

    div.dataTables_wrapper div.dataTables_filter input {
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 0.35rem;
    }

    table.dataTable thead th,
    table.dataTable tbody td {
        font-size: 0.88rem !important;
        padding: 0.6rem 0.65rem !important;
    }
}

/* ---- รายการเอกสาร: การ์ดบนมือถือ ---- */
.doc-list-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.doc-list-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.doc-list-card-type {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.doc-list-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 0.6rem;
}

.doc-list-card-id-wrap {
    min-width: 0;
    flex: 1;
}

.doc-list-card-id-label {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 0.15rem;
}

.doc-list-card-id {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    word-break: break-word;
}

.doc-list-card-meta {
    display: grid;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: #4b5563;
    margin-bottom: 0.75rem;
}

.doc-list-card-meta strong {
    color: #111827;
    font-weight: 600;
}

.doc-list-card-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.doc-list-card-actions .btn-primary {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 40px;
    font-weight: 600;
}

.doc-list-card-actions .btn-light {
    min-width: 40px;
    min-height: 40px;
    padding: 0.35rem;
    border: 1px solid #e2e8f0;
}

.doc-list-empty {
    text-align: center;
    color: #94a3b8;
    padding: 2rem 1rem;
}

.list-table-desktop .dataTables_wrapper {
    width: 100%;
}

/* ---- POS header: แท็บเต็มความกว้างบนมือถือ ---- */
.pos-header {
    flex-direction: column;
    align-items: stretch;
    padding: 0 !important;
    background: #fff;
    border-bottom: 1px solid #e8edf3;
}

.pos-header-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 56px;
    padding: 0.4rem 0.65rem;
}

.pos-header-sidebar-btn {
    flex: 0 0 auto;
}

.pos-header-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pos-header-nav-desktop {
    flex: 1 1 auto;
    justify-content: center;
}

.pos-header-nav-desktop .nav {
    justify-content: center;
    flex-wrap: nowrap;
}

.pos-header-nav-desktop .nav-link {
    font-weight: 600;
    color: #4b5563;
    padding: 0.45rem 0.85rem;
    white-space: nowrap;
}

.pos-header-nav-desktop .nav-link.active {
    color: #4A7FC1;
}

.pos-header-user {
    flex: 0 0 auto;
    margin-left: auto;
}

.pos-header-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.pos-header-nav-mobile {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid #eef2f7;
    background: #f8fafc;
}

.pos-nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 62px;
    padding: 0.45rem 0.35rem;
    text-align: center;
    text-decoration: none !important;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.2;
    border-bottom: 3px solid transparent;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.pos-nav-tab .material-icons {
    font-size: 1.25rem !important;
    line-height: 1;
}

.pos-nav-tab span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pos-nav-tab:hover {
    color: #4A7FC1;
    background: #fff;
}

.pos-nav-tab.active {
    color: #4A7FC1;
    background: #fff;
    border-bottom-color: #4A7FC1;
}

@media (min-width: 768px) {
    .pos-header {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0.45rem 1rem !important;
    }

    .pos-header-row {
        width: 100%;
        padding: 0;
        min-height: 48px;
    }

    .pos-header-sidebar-btn {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    body.layout-pos .pos-page-title-dupe .content-title {
        display: none !important;
    }

    body.layout-pos .pos-page-title-dupe.content-header:has(.content-title:only-child),
    body.layout-pos .pos-page-title-dupe.content-header > div:only-child:has(.content-title) {
        display: none !important;
    }

    body.layout-pos .pos-right-panel {
        top: 118px;
    }

    .pos-nav-tab span {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.15;
    }
}

/* ---- ใบเสร็จย้อนหลัง: การ์ดกะทัดรัดบนมือถือ ---- */
.receipt-list-cards {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.receipt-list-search {
    margin-bottom: 0.65rem;
}

.receipt-list-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.6rem 0.7rem;
    background: #fff;
}

.receipt-list-card-top {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.3rem;
}

.receipt-list-card-no {
    font-weight: 700;
    color: #2563eb;
    font-size: 0.92rem;
    text-decoration: none;
}

.receipt-list-card-total {
    margin-left: auto;
    font-size: 0.92rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}

.receipt-list-card-top .badge {
    font-size: 0.68rem;
    padding: 0.2rem 0.45rem;
    white-space: nowrap;
}

.receipt-list-card-bottom {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.receipt-list-card-info {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.35;
}

.receipt-list-card-info span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.receipt-list-card-view {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
}

.receipt-list-card-view .material-icons {
    font-size: 1.05rem !important;
}

.receipt-list-card.is-hidden {
    display: none !important;
}

/* ---- รายการสินค้า: การ์ดกะทัดรัดบนมือถือ ---- */
.product-list-page .card-header {
    padding: 0.85rem 1rem;
}

.product-list-cards {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-list-search {
    margin-bottom: 0.65rem;
}

.product-list-card {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.6rem 0.7rem;
    background: #fff;
}

.product-list-card-thumb {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
}

.product-list-card-thumb img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e8edf3;
}

.product-list-card-body {
    flex: 1 1 auto;
    min-width: 0;
}

.product-list-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.15rem;
}

.product-list-card-sku {
    font-size: 0.8rem;
    font-weight: 700;
    color: #2563eb;
}

.product-list-card-price {
    font-size: 0.92rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}

.product-list-card-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-list-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.3rem;
}

.product-list-card-tags .badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
}

.product-list-card-status {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.product-list-card-status span {
    white-space: nowrap;
}

.product-list-card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

.product-list-card-edit {
    min-height: 32px;
    padding: 0.25rem 0.65rem !important;
    font-size: 0.8rem !important;
    display: inline-flex !important;
    align-items: center;
    gap: 0.2rem;
}

.product-list-card-actions .btn-light {
    min-width: 32px;
    min-height: 32px;
    padding: 0.25rem;
}

.product-list-card.is-hidden {
    display: none !important;
}

@media (max-width: 767.98px) {
    .product-list-page #tableData_filter {
        position: static !important;
        top: auto !important;
        right: auto !important;
        margin-bottom: 0.75rem;
    }

    .product-list-page .card-header .col-6:empty,
    .product-list-page .card-header .input-group:empty {
        display: none;
    }

    .product-list-page .card-header .col-md-3,
    .product-list-page .card-header .col-12 {
        width: 100%;
        max-width: 100%;
    }
}
