@media (min-width: 992px) {
    .header {
        height: 130px;
    }
}


/* Toolbar */


/* Card */

.card {
    border-color: #E5EBF0;
}

.card .card-header {
    min-height: 60px !important;
}

@media (max-width: 992px) {
    .card .card-header {
        min-height: 50px !important;
        padding: 0 1.75rem !important;
    }

    .card .card-body {
        padding: 1.5rem 1.75rem !important;
    }
}


/* Update 20230717 */

.rounded-xl {
    border-radius: 2rem;
}

.s-product-category .s-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    border-bottom: 1px solid #eee;
}

.s-product-category .s-title {
    font-size: 1.125rem;
    line-height: 1.25rem;
    padding: 0.75rem 1.25rem;
    height: 2.75rem;
    background: #ccc;
    color: #fff;
    display: inline-flex;
    align-items: center;
    position: relative;
    margin-bottom: -1px;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.25rem;
    flex-shrink: 0;
}

.s-product-category .s-title:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 2.75rem 0 0 2.75rem;
    border-color: transparent transparent transparent #ccc;
    position: absolute;
    right: -2.65rem;
    bottom: 0;
}

.s-product-category .s-title.facebook {
    background: #1877F2;
}

.s-product-category .s-title.facebook:after {
    border-color: transparent transparent transparent #1877F2;
}

.s-product-category .s-title.google {
    background: #CAE5FF;
    color: #000;
}

.s-product-category .s-title.google:after {
    border-color: transparent transparent transparent #CAE5FF;
}

.s-product-category .s-title.twitter {
    background: #1D9BF0;
}

.s-product-category .s-title.twitter:after {
    border-color: transparent transparent transparent #1D9BF0;
}

.s-product-category .s-header .nav-s-header {
    margin-bottom: -1px;
    position: relative;
    padding-right: 2.5rem;
    margin-left: 2.5rem;
    min-width: 2.5rem;
    display: flex;
    justify-content: end;
}

.s-product-category .s-header .nav-s-header .nav-item .nav-link {
    padding-left: 0;
    padding-right: 0;
    margin: 0 5px;
    color: #666;
    border-bottom: 3px solid rgba(255, 255, 255, 0);
}

.s-product-category .s-header .nav-s-header .nav-item .nav-link:hover {
    border-color: #50cd89;
    color: #50cd89;
}

.s-product-category .s-header .nav-s-header .nav-item.item-more {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 2.5rem;
}

.s-product-category .s-header .nav-s-header .nav-item.item-more a {
    display: block;
    text-align: center;
    border-bottom: 3px solid #eee;
}


/* Product Category Block */

.product-category-block {
    border-radius: 0.75rem;
}

.product-category-block .block-header {
    background-color: rgba(255, 255, 255, 0);
}

.product-category-block .block-title {
    padding: 0.75rem 1rem;
    font-size: 1.125rem;
    font-weight: bold;
    background: #eee;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid #ccc;
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
    border-bottom: 0;
}

.product-category-block .block-title .icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    margin-top: -0.75rem;
    width: 1.5em;
    height: 1.5em;
    background-color: #fff;
    border-radius: 50%;
    padding: 0 !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.product-category-block .block-title .icon i {
    padding: 0 !important;
}

.product-category-block .block-title.collapsed {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    background-color: #666;
    color: #fff;
    border-color: #666;
    border-bottom: 1px solid #666;
}

.product-category-block .block-title.collapsed .icon i::before {
    content: '\F282';
}

.product-category-block .block-content {
    border: 1px solid #ccc;
    border-top: 0;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}


/* Remove Arow on Datatable sorting */

table.dataTable>thead .sorting::after,
table.dataTable>thead .sorting_asc::after,
table.dataTable>thead .sorting_asc_disabled::after,
table.dataTable>thead .sorting_desc::after,
table.dataTable>thead .sorting_desc_disabled::after {
    content: '';
}


/* Payment */

.btn-payment {
    padding-left: 3rem !important;
    position: relative;
}

.btn-payment .icon {
    width: 16px;
    height: 16px;
    position: absolute;
    left: 0.75rem;
    top: 50%;
    margin-top: -8px;
}


/* Nav Header Product Menu* */

.header-product-menu-container {
    position: relative;
    width: 100%;
}

.header-fixed[data-kt-sticky-header="on"] .header-product-menu-container {
    display: none;
}

.header-product-menu-container .btn-toggle {
    position: absolute;
    right: 2.25rem;
    top: 2rem;
    margin-top: -1rem;
    width: 1.75em;
    height: 1.75em;
    background-color: #fff;
    border-radius: 50%;
    padding: 0 !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.header-product-menu-container .btn-toggle:hover {
    border: 1px solid rgba(0, 0, 0, 0.3) !important;
}

.header-product-menu-container .btn-toggle i {
    padding: 0 !important;
}

.header-product-menu-container .btn-toggle.active {
    border-color: #50cd89 !important;
    color: #50cd89 !important;
    background-color: #50cd8920;
}

.header-product-menu-container .btn-toggle.active i {
    transform: rotate(180deg);
}

.nav-header-product-menu {
    display: flex;
    align-items: stretch;
}

.nav-header-product-menu .nav-item {
    font-size: 1.125rem;
    position: relative;
    width: 20%;
}


.nav-header-product-menu .nav-item>.nav-link {
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 0.125rem;
}


.nav-header-product-menu .nav-item .nav-link.dropdown-toggle:after {
    right: 0.5rem;
    top: 50%;
    margin-top: -0.125rem;
    position: absolute;
}

.nav-header-product-menu .nav-item .nav-link.dropdown-toggle[aria-expanded=true] {
    color: rgba(0, 0, 0, .5) !important;
}

.nav-header-product-menu .nav-item .nav-link.dropdown-toggle[aria-expanded=true] img {
    filter: grayscale(1);
}

.nav-header-product-menu .nav-item .icon {
    width: 18px;
    height: 18px;
}

.nav-header-product-menu .dropdown-menu {
    width: 100%;
}

.nav-header-product-menu .dropdown-menu .dropdown-item {
    font-size: 1.125rem;
    position: relative;
    padding-left: 2.125rem;
}

.nav-header-product-menu .dropdown-menu .dropdown-item:before {
    content: '';
    width: 0.25em;
    height: 0.25em;
    position: absolute;
    left: 1em;
    top: 50%;
    margin-top: -0.125rem;
    background-color: #ccc;
}

.nav-header-product-menu .dropdown-menu .dropdown-item:hover:before {
    background-color: #50cd89;
}

.header {
    height: auto;
}


@media (max-width: 1200px) {
    .nav-header-product-menu .nav-item {
        font-size: 1rem;
    }

    .nav-header-product-menu {
        background-position: 0 0.35rem;
        background-size: 20px 20px;
    }
}

@media (max-width: 992px) {
    .header {
        flex-direction: column;
    }

    .header-product-menu-container {
        border-top: 1px solid #eee;
    }

    .header-product-menu-container .btn-toggle {
        right: 1.25rem;
        top: 2rem;
        width: 1.75rem;
        height: 1.75rem;
    }

    .nav-header-product-menu .nav-item {
        width: 25%;
    }
}

@media (max-width: 758px) {
    .nav-header-product-menu {
        padding-left: 0 !important;
        background: none;
    }

    .nav-header-product-menu .nav-item {
        width: 33.33%;
    }


}

@media (max-width: 540px) {
    .nav-header-product-menu .nav-item {
        width: 50%;
    }

    .header.expanded .nav-header-product-menu .nav-item .dropdown-menu {
        position: relative !important;
        margin: 5px 0 15px !important;
        transform: translate3d(0, 0, 0) !important;
    }
}

@media (max-width: 320px) {
    .nav-header-product-menu .nav-item {
        width: 20%;
    }

    .nav-header-product-menu .nav-item .nav-link span {
        display: none;
    }

    .header.expanded .nav-header-product-menu .nav-item .dropdown-menu {
        position: relative !important;
        margin: 5px 0 15px !important;
        transform: translate3d(0, 0, 0) !important;
    }
}

.w-40px {
    width: 32px;
}

.h-40px {
    height: 32px;
}