/* fallback */
@font-face {
    font-family: 'MyFont';
    font-style: normal;
    font-weight: 400;
    src: url(../font/Poppins-Regular.ttf) format('truetype'), url(../font/Poppins-Black.ttf) format('truetype'), url(../font/Poppins-ExtraBold.ttf) format('truetype'), url(../font/Poppins-ExtraLight.ttf) format('truetype'), url(../font/Poppins-ExtraLightItalic.ttf) format('truetype'), url(../font/Poppins-Light.ttf) format('truetype'), url(../font/Poppins-Medium.ttf) format('truetype'), url(../font/Poppins-SemiBold.ttf) format('truetype'), url(../font/Poppins-Thin.ttf) format('truetype');
}

body {
    background-color: #f5f5f5 !important;
}

p {
    font-size: 18px;
}

h4 {
    font-size: 36px;
}

h5 {
    font-size: 26px;
}

small {
    font-size: 15px;
}

body * {
    font-family: 'MyFont' !important;
}

/* flex system */

.d-flex {
    display: flex !important;
}

    .d-flex.a-center {
        align-items: center;
    }

    .d-flex.a-start {
        align-items: flex-start;
    }

    .d-flex.a-end {
        align-items: flex-end;
    }

    .d-flex.j-center {
        justify-content: center;
    }

    .d-flex.j-start {
        justify-content: flex-start;
    }

    .d-flex.j-end {
        justify-content: flex-end;
    }

    .d-flex.j-space-between {
        justify-content: space-between;
    }

    .d-flex.j-space-evenly {
        justify-content: space-evenly;
    }

    .d-flex.d-horizon {
        flex-direction: row;
    }

    .d-flex.d-vertical {
        flex-direction: column;
    }

    .d-flex.d-horizon.rtl {
        direction: rtl !important;
    }

    .d-flex.wrap {
        flex-wrap: wrap;
    }

    .d-flex.nowrap {
        flex-wrap: nowrap;
    }

.gap-0 {
    gap: 0 !important
}

.gap-1 {
    gap: .25rem !important
}

.gap-2 {
    gap: .5rem !important
}

.gap-3 {
    gap: 1rem !important
}

.gap-4 {
    gap: 1.5rem !important
}

.gap-5 {
    gap: 3rem !important
}

/* spacing system */

.m-0 {
    margin: 0 !important
}

.m-1 {
    margin: .25rem !important
}

.m-2 {
    margin: .5rem !important
}

.m-3 {
    margin: 1rem !important
}

.m-4 {
    margin: 1.5rem !important
}

.m-5 {
    margin: 3rem !important
}

.m-auto {
    margin: auto !important
}

.mx-0 {
    margin-right: 0 !important;
    margin-left: 0 !important
}

.mx-1 {
    margin-right: .25rem !important;
    margin-left: .25rem !important
}

.mx-2 {
    margin-right: .5rem !important;
    margin-left: .5rem !important
}

.mx-3 {
    margin-right: 1rem !important;
    margin-left: 1rem !important
}

.mx-4 {
    margin-right: 1.5rem !important;
    margin-left: 1.5rem !important
}

.mx-5 {
    margin-right: 3rem !important;
    margin-left: 3rem !important
}

.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important
}

.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important
}

.my-1 {
    margin-top: .25rem !important;
    margin-bottom: .25rem !important
}

.my-2 {
    margin-top: .5rem !important;
    margin-bottom: .5rem !important
}

.my-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important
}

.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important
}

.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important
}

.my-auto {
    margin-top: auto !important;
    margin-bottom: auto !important
}

.mt-0 {
    margin-top: 0 !important
}

.mt-1 {
    margin-top: .25rem !important
}

.mt-2 {
    margin-top: .5rem !important
}

.mt-3 {
    margin-top: 1rem !important
}

.mt-4 {
    margin-top: 1.5rem !important
}

.mt-5 {
    margin-top: 3rem !important
}

.mt-auto {
    margin-top: auto !important
}

.me-0 {
    margin-right: 0 !important
}

.me-1 {
    margin-right: .25rem !important
}

.me-2 {
    margin-right: .5rem !important
}

.me-3 {
    margin-right: 1rem !important
}

.me-4 {
    margin-right: 1.5rem !important
}

.me-5 {
    margin-right: 3rem !important
}

.me-auto {
    margin-right: auto !important
}

.mb-0 {
    margin-bottom: 0 !important
}

.mb-1 {
    margin-bottom: .25rem !important
}

.mb-2 {
    margin-bottom: .5rem !important
}

.mb-3 {
    margin-bottom: 1rem !important
}

.mb-4 {
    margin-bottom: 1.5rem !important
}

.mb-5 {
    margin-bottom: 3rem !important
}

.mb-auto {
    margin-bottom: auto !important
}

.ms-0 {
    margin-left: 0 !important
}

.ms-1 {
    margin-left: .25rem !important
}

.ms-2 {
    margin-left: .5rem !important
}

.ms-3 {
    margin-left: 1rem !important
}

.ms-4 {
    margin-left: 1.5rem !important
}

.ms-5 {
    margin-left: 3rem !important
}

.ms-auto {
    margin-left: auto !important
}

.p-0 {
    padding: 0 !important
}

.p-1 {
    padding: .25rem !important
}

.p-2 {
    padding: .5rem !important
}

.p-3 {
    padding: 1rem !important
}

.p-4 {
    padding: 1.5rem !important
}

.p-5 {
    padding: 3rem !important
}

.px-0 {
    padding-right: 0 !important;
    padding-left: 0 !important
}

.px-1 {
    padding-right: .25rem !important;
    padding-left: .25rem !important
}

.px-2 {
    padding-right: .5rem !important;
    padding-left: .5rem !important
}

.px-3 {
    padding-right: 1rem !important;
    padding-left: 1rem !important
}

.px-4 {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important
}

.px-5 {
    padding-right: 3rem !important;
    padding-left: 3rem !important
}

.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important
}

.py-1 {
    padding-top: .25rem !important;
    padding-bottom: .25rem !important
}

.py-2 {
    padding-top: .5rem !important;
    padding-bottom: .5rem !important
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important
}

.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important
}

.pt-0 {
    padding-top: 0 !important
}

.pt-1 {
    padding-top: .25rem !important
}

.pt-2 {
    padding-top: .5rem !important
}

.pt-3 {
    padding-top: 1rem !important
}

.pt-4 {
    padding-top: 1.5rem !important
}

.pt-5 {
    padding-top: 3rem !important
}

.pe-0 {
    padding-inline-end;
    : 0 !important
}

.pe-1 {
    padding-inline-end;
    : .25rem !important
}

.pe-2 {
    padding-inline-end;
    : .5rem !important
}

.pe-3 {
    padding-inline-end;
    : 1rem !important
}

.pe-4 {
    padding-inline-end;
    : 1.5rem !important
}

.pe-5 {
    padding-inline-end;
    : 3rem !important
}

.pb-0 {
    padding-bottom: 0 !important
}

.pb-1 {
    padding-bottom: .25rem !important
}

.pb-2 {
    padding-bottom: .5rem !important
}

.pb-3 {
    padding-bottom: 1rem !important
}

.pb-4 {
    padding-bottom: 1.5rem !important
}

.pb-5 {
    padding-bottom: 3rem !important
}

.ps-0 {
    padding-inline-start: 0 !important
}

.ps-1 {
    padding-inline-start: .25rem !important
}

.ps-2 {
    padding-inline-start: .5rem !important
}

.ps-3 {
    padding-inline-start: 1rem !important
}

.ps-4 {
    padding-inline-start: 1.5rem !important
}

.ps-5 {
    padding-inline-start: 3rem !important
}

/* border */

.no-border {
    border: none !important;
}

.border {
    border: 1px solid #ddd !important;
}

.border-top {
    border-top: 1px solid #ddd !important;
}

.border-right {
    border-right: 1px solid #ddd !important;
}

.border-left {
    border-left: 1px solid #ddd !important;
}

.border-bottom {
    border-bottom: 1px solid #ddd !important;
}

/* border darius */

.round-2 {
    border-radius: 2px !important;
}

.round-4 {
    border-radius: 4px !important;
}

.round-8 {
    border-radius: 8px !important;
}

.round-16 {
    border-radius: 16px !important;
}

.round-32 {
    border-radius: 32px !important;
}

.round-64 {
    border-radius: 64px !important;
}

/* overflow */

.no-scroll {
    overflow: hidden;
}

.no-horizontal-scroll {
    overflow-x: hidden;
}

.no-vertical-scroll {
    overflow-y: hidden;
}

/* custom */

::-webkit-scrollbar {
    width: 5px;
    height: 0;
}

::-webkit-scrollbar-track {
    background: #9b27b025;
}

::-webkit-scrollbar-thumb {
    background: #6a1b9a25;
}

.full-width {
    width: 100%;
}

.full-height {
    height: 100%;
}

.navbar {
    direction: ltr !important;
    position: fixed;
    background-color: white;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    box-shadow: 0px 0px 26px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 26px 0px rgba(0, 0, 0, 0.1);
    padding: 1rem 3rem !important;
}

.container {
    margin-top: 6rem;
    letter-spacing: 1px;
    min-height: calc(100vh - 9rem);
    width: 98%;
    overflow-x: hidden;
}

.card {
    box-shadow: 0px 8px 26px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 8px 26px 0px rgba(0, 0, 0, 0.1);
    transition: .3s;
    /* min-height: 160px; */
}

    .card.cover {
        background-image: url("") !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
        background-position-y: center !important;
        background-position-x: center !important;
        height: 300px;
    }

@media only screen and (max-width: 993px) {
    .card.cover {
        height: 200px;
    }
}

@media only screen and (max-width: 600px) {
    .card.cover {
        height: 100px;
    }
}

.card.cover:hover {
    transform: inherit;
    background-color: inherit !important;
}

.card .img-wrapper {
    width: 90px;
}

    .card .img-wrapper.main {
        width: 100px;
        height: auto;
    }

    .card .img-wrapper img {
        height: 90px;
        margin: auto;
        max-width: 90px;
        object-fit: cover;
    }

    .card .img-wrapper.main img {
        max-width: 100px;
        height: 100%;
        margin: auto 0;
        object-fit: contain;
    }

.card .d-flex.j-end ~ .d-flex.d-flex.d-vertical {
    max-height: 90px;
    overflow: hidden;
}

.swiper-row {
    width: 100vw;
    margin-left: -1vw;
    height: calc(146px + 3rem);
}

@media only screen and (min-width: 993px) {
    .container {
        max-width: unset;
        max-width: unset;
        width: 100%;
        padding: 0 3rem;
    }

    .swiper-row {
        width: 100vw;
        margin-left: -3rem;
    }
}

.card:hover {
    transform: translateY(-5px);
    background-color: #9b27b010;
}

input,
textarea,
.file-field input.file-path {
    box-sizing: border-box !important;
}

.file-field input.file-path {
    border-style: dashed !important;
}

    .file-field input.file-path::placeholder {
        padding: 0 1rem;
    }

.btn.choose-file {
    position: absolute;
    width: calc(100% - .75rem);
    box-sizing: border-box;
    left: 0;
    top: -.5rem;
    border-radius: 16px;
    opacity: 0;
}

.add-img-preview {
    height: 70px !important;
}

    .add-img-preview img {
        object-fit: contain;
        height: 70px;
        margin: auto;
        width: 100%;
    }

textarea {
    min-height: 84px !important;
}

    input:focus,
    textarea:focus,
    input.valid:not([type]),
    input.valid:not([type]):focus,
    input.valid[type=text]:not(.browser-default),
    input.valid[type=text]:not(.browser-default):focus,
    input.valid[type=password]:not(.browser-default),
    input.valid[type=password]:not(.browser-default):focus,
    input.valid[type=email]:not(.browser-default),
    input.valid[type=email]:not(.browser-default):focus,
    input.valid[type=url]:not(.browser-default),
    input.valid[type=url]:not(.browser-default):focus,
    input.valid[type=time]:not(.browser-default),
    input.valid[type=time]:not(.browser-default):focus,
    input.valid[type=date]:not(.browser-default),
    input.valid[type=date]:not(.browser-default):focus,
    input.valid[type=datetime]:not(.browser-default),
    input.valid[type=datetime]:not(.browser-default):focus,
    input.valid[type=datetime-local]:not(.browser-default),
    input.valid[type=datetime-local]:not(.browser-default):focus,
    input.valid[type=tel]:not(.browser-default),
    input.valid[type=tel]:not(.browser-default):focus,
    input.valid[type=number]:not(.browser-default),
    input.valid[type=number]:not(.browser-default):focus,
    input.valid[type=search]:not(.browser-default),
    input.valid[type=search]:not(.browser-default):focus,
    textarea.materialize-textarea.valid,
    textarea.materialize-textarea.valid:focus,
    .select-wrapper.valid > input.select-dropdown {
        border-color: #6b1b9a !important;
        box-shadow: 0 0 0 !important;
    }

.select-dropdown {
    margin-bottom: 0 !important;
}

    .select-dropdown li img {
        object-fit: contain;
    }

.search-input {
    position: relative;
}

    .search-input input {
        padding-right: 3rem !important;
        padding-left: 1rem !important;
    }

    .search-input a svg {
        position: absolute;
        right: 2rem;
        top: 1rem;
        color: #ddd;
        transition: .3s;
        cursor: pointer;
    }

.clear-input {
    width: 3rem !important;
    height: 3rem !important;
    right: 0;
    display: flex;
    position: absolute;
    top: 0;
}

input:focus ~ a svg {
    color: #9c27b0 !important;
}

.chip {
    font-size: 18px;
    padding: 0 1rem;
    background-color: transparent;
    border: 1px solid #9c27b0 !important;
    color: #9c27b0 !important;
}

    .chip.nutrition {
        font-size: 14px;
        height: auto;
        line-height: normal;
        padding: .25rem 1rem;
        color: #fff !important;
        border: none !important;
    }

    .chip:hover {
        background-color: #9b27b0;
        color: white !important;
    }

.card-loader.chip:hover {
    background-color: inherit;
}

.chips.focus {
    box-shadow: 0 0 0;
}

button {
    transition: .3s;
    border: none !important;
    cursor: pointer;
}

    button:focus {
        background-color: #6a1b9a !important;
        color: white !important;
    }

    button.disabled {
        pointer-events: none;
        background-color: #9c27b0 !important;
        color: #ffffff !important;
        cursor: default;
    }

.input-field > label {
    background-color: transparent;
    color: #9e9e9e;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1rem;
    padding: 0 1rem;
    cursor: text;
    transition: .2s;
    -webkit-transition: color .2s ease-out, -webkit-transform .2s ease-out;
    transition: color .2s ease-out, -webkit-transform .2s ease-out;
    transition: transform .2s ease-out, color .2s ease-out;
    transition: transform .2s ease-out, color .2s ease-out, -webkit-transform .3s ease-out;
    -webkit-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    text-align: initial;
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
    z-index: -1;
}

    .input-field > label:not(.label-icon).active {
        transition: .2s;
        -webkit-transform: translateY(-.75rem) translateX(1rem);
        transform: translateY(-.75rem) translateX(1rem);
        -webkit-transform-origin: 0;
        transform-origin: 0;
        background-color: #f5f5f5;
        font-size: .8rem;
        color: #6a1b9a !important;
        z-index: 1;
    }

.select-wrapper input.select-dropdown,
.materialize-textarea {
    border: 1px solid #ddd !important;
    border-radius: 16px !important;
    padding: 0 1rem;
    /* color: #9e9e9e; */
}

.select-wrapper .caret {
    right: .5rem;
    fill: #9e9e9e;
}

.dropdown-content {
    border-radius: 16px;
}

    .dropdown-content li > a,
    .dropdown-content li > span {
        color: #6a1b9a !important;
    }

.input-field > label.rtl {
    left: auto;
    right: .75rem !important;
}

    .input-field > label.rtl:not(.label-icon).active {
        -webkit-transform: translateY(-.75rem) translateX(-1rem);
        transform: translateY(-.75rem) translateX(-1rem);
        -webkit-transform-origin: 0;
        transform-origin: 0;
    }

.material-placeholder {
    border: 1px solid #ddd;
    border-radius: 16px;
    border-style: dashed;
    width: 100%;
    max-height: 60vw;
}

@media only screen and (max-width: 600px) {
    .add-img-preview {
        height: unset !important;
        /* max-height: calc(60vw + 4rem) !important; */
        margin-top: 0 !important;
        margin-bottom: 1rem !important;
        padding: 1rem;
    }

        .add-img-preview img {
            width: 100%;
            height: 100%;
            max-height: 59vw;
        }
}

/* login page */

.login-form {
    max-width: 450px;
    margin: 4rem auto;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0px 0px 26px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 26px 0px rgba(0, 0, 0, 0.1);
}

@media only screen and (max-width: 600px) {
    .login-form {
        max-width: unset;
        margin: 0 auto;
        box-shadow: 0 0 0;
        -webkit-box-shadow: 0 0 0;
    }
}

.btn-login {
    width: 100%;
    margin-bottom: 1.52rem;
}

tr .material-placeholder {
    border: none;
}

.td-img-wrapper {
    padding: 0 5px;
}

td img {
    height: 30px;
    width: 30px;
    object-fit: contain;
}

.switch label input[type=checkbox]:checked + .lever:after {
    background-color: #4caf50;
}

.switch label input[type=checkbox]:checked + .lever {
    background-color: #4caf5050;
}

.switch label small {
    font-size: 12px;
    margin: 0 .5rem;
}

.switch-wrapper {
    height: 3rem;
}

td.truncate {
    max-width: 6rem;
    display: table-cell;
}

.carousel.carousel-slider {
    height: calc(100vh - 17rem) !important;
    overflow-y: hidden;
    display: flex;
}

@media only screen and (max-height: 450px) {
    .carousel.carousel-slider {
        overflow-y: auto;
    }

    th,
    td {
        height: calc(100vh / 10) !important;
    }
}

.red-border .select-wrapper input.select-dropdown {
    border-color: #F44336 !important;
}

.red-border {
    border-color: #F44336 !important;
}

    .red-border::placeholder {
        color: #F44336 !important;
    }

.tabs .indicator {
    background-color: #6a1b9a50;
}

.tabs .tab a:focus,
.tabs .tab a.active,
.tabs .tab a:focus.active {
    background-color: transparent !important;
    color: #6a1b9a !important;
}

.fixed-action-btn {
    padding: 0 !important;
    border-radius: 100%;
    height: 56px;
    width: 56px;
}

    .fixed-action-btn ul {
        right: 0;
        left: auto;
        bottom: 3rem;
        width: max-content;
        text-align: right;
        padding: 0;
        padding-bottom: 1rem;
    }

        .fixed-action-btn ul li a.btn-floating {
            border-radius: 16px !important;
            width: max-content;
        }

.modal.bottom-sheet {
    max-height: 95vh !important;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    background-color: #f5f5f5 !important;
}

.modal .modal-content {
    padding: 1rem;
}

tr td,
tr th {
    height: calc((100vh - 17rem) / 10);
    padding: 0;
}

.tabs,
.tabs a {
    height: 3rem !important;
}

ul.dropdown-content {
    height: 300px;
    width: 100% !important;
}

    ul.dropdown-content li a {
        height: 100px !important;
        width: 100%;
        padding: 0;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

.btn-floating.btn-large {
    margin: 0;
}

@media only screen and (min-width: 600px) {
    .tabs > .tab a small b {
        font-size: 26px;
    }

    .tabs,
    .tabs a {
        height: 3.5rem !important;
    }
}

#toast-container {
    top: 7rem !important;
    bottom: auto !important;
    padding: 0 1rem;
    right: 0;
}

.switch label {
    cursor: pointer;
    display: flex;
    margin-left: auto;
    justify-content: space-between;
    align-items: center;
    width: min-content;
}

    .switch label small {
        width: min-content;
        min-width: 70px;
        transition: .2s;
    }

.rtl .switch span {
    transform: rotate(180deg);
}

.rtl .switch label .lever:after {
    transform: rotate(180deg);
}

.btn-theme svg {
    transition: .5s;
}

.btn-theme:focus > svg {
    transform: rotate(360deg) !important;
}

.default-dish {
    height: 90px;
    font-size: 4.5rem;
    color: #9c27b0;
}

img.not-found {
    width: 100%;
    max-width: 600px;
}

.modal-img-wrapper {
    max-width: 100%;
    max-height: 360px;
}

.modal-img {
    width: 100%;
    max-height: 360px;
    height: auto;
    object-fit: cover;
}

@media only screen and (min-width: 900px) {
    .modal.bottom-sheet {
        top: 15%;
        width: 45%;
        margin: 0 auto;
        border-radius: 16px;
        bottom: auto !important;
    }
}

@media only screen and (min-width: 1220px) {
    .modal.bottom-sheet {
        top: 15%;
        width: 30%;
        margin: 0 auto;
        border-radius: 16px;
        bottom: auto !important;
    }
}

.gallery-add-img-preview {
    display: flex;
    width: calc((100% - 2rem) / 2);
    height: calc((100vw - 7rem) / 2);
    margin-bottom: 1rem;
    position: relative;
}

@media only screen and (min-width: 600px) {
    .gallery-add-img-preview {
        width: calc((100% - 3rem) / 4);
        height: calc((100vw - 12rem) / 4);
    }
}

@media only screen and (min-width: 993px) {
    .gallery-add-img-preview {
        width: calc((100% - 3rem) / 4);
        height: calc((100vw - 12rem) / 4);
    }
}

.gallery-add-img-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-add-img-preview .material-placeholder {
    border: none !important;
    height: 100%;
    width: 100%;
    max-height: unset;
    margin: auto;
}

@media only screen and (max-width: 600px) {
    .gallery-add-img-preview:nth-child(2n) {
        margin-right: auto;
        margin-left: 2rem;
    }
}

.btn.circle {
    border-radius: 50% !important;
    width: 3rem;
    height: 3rem;
    top: auto;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn.circle.delete {
        right: 0;
        left: auto;
        top: 0;
        bottom: auto;
    }

.gallery-add-img-preview .btn.circle {
    position: absolute;
    border-radius: 50% !important;
    width: 2rem;
    height: 2rem;
    z-index: +2;
    padding: 0 !important;
}

    .gallery-add-img-preview .btn.circle:first-child {
        left: 0;
    }

@media only screen and (max-width: 600px) {
    .gallery-add-img-preview .btn.circle {
        position: absolute;
        border-radius: 50% !important;
        width: 1.25rem;
        height: 1.25rem;
        z-index: +2;
        padding: 0 !important;
    }

        .gallery-add-img-preview .btn.circle svg {
            width: .6em !important;
        }
}

.gallery-add-img-preview .btn.circle:focus {
    background-color: transparent !important;
}

.gallery-add-img-preview .btn.circle.active {
    color: #4caf50 !important;
    background-color: white !important;
}

.product-img {
    width: 100%;
    position: relative;
}

    .product-img img {
        width: 100%;
        height: calc(49vw - 10rem);
        object-fit: cover;
    }

    .product-img button {
        position: absolute;
        bottom: 1rem !important;
        left: 1rem;
    }

        .product-img button:last-child {
            left: auto;
            right: 1rem;
        }

    .product-img.s3 img {
        height: calc((50vw - 12.25rem) / 4);
        object-fit: cover;
        cursor: pointer;
    }

    .product-img.s3.active img {
        border: #4caf50 2px solid !important;
    }

@media only screen and (max-width: 993px) {
    .product-img img {
        height: calc(99vw - 19rem);
    }

    .product-img.s3 img {
        height: calc((99vw - 20rem) / 4);
    }
}

@media only screen and (max-width: 600px) {
    .product-img img {
        height: 100%;
        max-height: calc(100vw - 2rem);
    }

    .product-img.s3 img {
        height: calc((100vw - 8rem) / 4);
    }
}

.z-depth-1 {
    box-shadow: 0px 8px 26px 0px rgb(0 0 0 / 10%) !important;
    -webkit-box-shadow: 0px 8px 26px 0px rgb(0 0 0 / 10%) !important;
}

.loader-wrapper {
    width: 320px;
    margin: 0 auto;
}

.card-loader {
    box-shadow: 0px 8px 26px 0px rgb(0 0 0 / 10%) !important;
    -webkit-box-shadow: 0px 8px 26px 0px rgb(0 0 0 / 10%) !important;
    padding: 1rem 2rem;
    position: relative;
    border-radius: 2px;
    margin-bottom: 0;
    height: 10rem;
    overflow: hidden;
}

    .card-loader.chip {
        height: 2.25rem;
        border: none !important;
    }

        .card-loader.chip:first-child {
            width: 20%;
            max-width: 120px;
        }

        .card-loader.chip:nth-child(2) {
            width: 35%;
            max-width: 100px;
        }

        .card-loader.chip:nth-child(3) {
            width: 20%;
            max-width: 135px;
        }

        .card-loader.chip:last-child {
            width: 25%;
            max-width: 90px;
        }

    .card-loader:only-child {
        margin-top: 0;
    }

    .card-loader .me-1 {
        content: "";
        width: 70%;
        display: block;
    }

        .card-loader .me-1 .p-1 {
            background-color: #00000020;
            width: 90%;
        }

            .card-loader .me-1 .p-1:last-child {
                background-color: #00000010;
                width: 70%;
            }

    .card-loader .image {
        content: "";
        height: 110px;
        width: 110px;
        display: block;
        background-color: #00000020;
        margin: auto;
    }

    .card-loader:after {
        content: "";
        background-color: #333;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        animation-duration: 0.6s;
        animation-iteration-count: infinite;
        animation-name: loader-animate;
        animation-timing-function: linear;
        background: -webkit-linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, .08) 50%, rgba(255, 255, 255, 0) 91%);
        background: -o-linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, .08) 50%, rgba(255, 255, 255, 0) 91%);
        background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, .08) 50%, rgba(255, 255, 255, 0) 91%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00ffffff", endColorstr="#00ffffff", GradientType=1);
    }

@keyframes loader-animate {
    0% {
        transform: translate3d(-100%, 0, 0);
    }

    100% {
        transform: translate3d(100%, 0, 0);
    }
}

.fill-img {
    object-fit: cover !important;
}

.contain-img {
    object-fit: contain !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.sidenav li.active {
    background-color: #9b27b0;
}

    .sidenav li.active a {
        color: white !important;
    }

.max-content {
    max-width: max-content;
}

.break-spaces {
    white-space: break-spaces;
}

.extra-wrapper {
    padding: .75rem 0 !important;
}

.extra-card {
    height: calc(50px + 3rem);
    min-height: unset;
}

    .extra-card .img-wrapper img {
        height: 50px;
        width: 50px;
        border-radius: 50%;
    }

    .extra-card .img-wrapper {
        width: unset;
    }

.collapsible-list svg {
    transition: .2s;
}

.collapsible-list.active .collapsible-header > svg {
    color: #9b27b0;
}

.collapsible-header {
    position: relative;
    transition: .2s;
}

    .collapsible-header .renew {
        position: absolute;
        right: 1.5rem;
        top: .6rem;
    }

        .collapsible-header .renew:hover {
            background-color: #6a1b9a !important;
            color: white !important;
        }

    .collapsible-header:hover .renew svg {
        transform: rotate(180deg);
        transition: .5s;
    }

@media only screen and (max-width: 1200px) {
    .collapsible-header .renew :nth-child(2) {
        display: none;
    }
}

@media only screen and (max-width: 993px) {
    .collapsible-header .renew span {
        display: none;
    }
}

.collapsible-header:hover {
    background-color: #f5f5f5 !important;
}

.collapsible-body th, .collapsible-body td {
    padding: 0 1rem;
    height: calc((100vh - 30rem) / 10) !important;
}

.collapsible-title {
    width: 16.667%;
}

[type="checkbox"].filled-in:checked + span:not(.lever):after {
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #9b27b0;
    background-color: #9b27b0;
    z-index: 0;
}

[type="checkbox"] + span:not(.lever) {
    height: auto;
    line-height: normal;
}

.purple {
    background-color: #6a1b9a !important;
}

.purple-text {
    color: #6a1b9a !important;
}

/* new updates */

.primary {
    background-color: #6a1b9a;
}

.row .col {
    float: inline-start;
}

.sidenav {
    padding: 0;
}

.btn {
    height: auto;
    max-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn.primary {
        background-color: #6a1b9a !important;
        color: white !important;
    }

a {
    cursor: pointer;
}

.border.border-light {
    border-color: #00000010 !important;
}

a .col {
    height: 100%;
}

a .card {
    height: 100%;
}

.card-img-wrapper {
    min-height: 90px;
    max-height: 90px;
    min-width: 90px;
    max-width: 90px;
    right: 1/1 !important;
}

    .card-img-wrapper img {
        min-height: 90px;
        max-height: 90px;
        min-width: 90px;
        max-width: 90px;
        height: 100%;
        width: 100%;
        object-fit: contain;
        border-radius: 8px;
        border: 1px solid #00000010;
        background-color: #f5f5f550;
    }

.category-scroll {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    overflow-x: auto;
    overflow-y: hidden;
}

@media only screen and (max-width: 993px) {

    .category-scroll {
        flex-wrap: nowrap;
        padding-bottom: 4px !important;
    }

        .category-scroll::-webkit-scrollbar {
            height: 4px;
            border-radius: 8px !important;
        }

        .category-scroll::-webkit-scrollbar-track {
            border-radius: 8px !important;
        }

        .category-scroll::-webkit-scrollbar-thumb {
            border-radius: 8px !important;
        }
}

@media only screen and (max-width: 750px) {

    .category-scroll {
        flex-wrap: nowrap;
        padding-bottom: 4px !important;
    }

        .category-scroll::-webkit-scrollbar {
            height: 0px !important;
        }
}

.chip {
    white-space: nowrap !important;
}
