@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

body {
    background-color: #f5ece9 !important;
    font-family: "Quicksand", sans-serif;
}

body.modal-open .container {
    -webkit-filter: blur(2.5px);
    -moz-filter: blur(2.5px);
    -o-filter: blur(2.5px);
    -ms-filter: blur(2.5px);
    filter: blur(2.5px);
}

body.modal-open .carousel {
    -webkit-filter: blur(2.5px);
    -moz-filter: blur(2.5px);
    -o-filter: blur(2.5px);
    -ms-filter: blur(2.5px);
    filter: blur(2.5px);
}

body.modal-open footer {
    -webkit-filter: blur(2.5px);
    -moz-filter: blur(2.5px);
    -o-filter: blur(2.5px);
    -ms-filter: blur(2.5px);
    filter: blur(2.5px);
}

.mt-55 {
    margin-top: 55px;
}

.mt-60 {
    margin-top: 60px;
}

.mt-70 {
    margin-top: 70px;
}

.mt-80 {
    margin-top: 80px;
}

.mt-100 {
    margin-top: 100px;
}

.mt-120 {
    margin-top: 120px;
}

.mt-150 {
    margin-top: 150px;
}

#wrapper {
    overflow: hidden;
    height: 100vh;
}

#sidebar-wrapper {
    height: 100vh;
    min-height: 100vh;
    margin-left: -15rem;
    transition: margin 0.25s ease-out;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: hidden;
}

#sidebar-wrapper .sidebar-heading {
    height: 56px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sidebar-store-brand {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sidebar-store-logo,
.sidebar-store-logo-placeholder {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 8px;
}

.sidebar-store-logo {
    object-fit: cover;
    background: rgba(255, 255, 255, 0.16);
}

.sidebar-store-logo-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1rem;
}

.sidebar-store-name {
    min-width: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#sidebar-wrapper .list-group {
    width: 15rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

#page-content-wrapper {
    min-width: 0;
    width: 100%;
    flex: 1 1 auto;
    height: 100vh;
    overflow-y: auto;
}

body.sb-sidenav-toggled #wrapper #sidebar-wrapper {
    margin-left: 0;
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    body.sb-sidenav-toggled #wrapper #sidebar-wrapper {
        margin-left: -15rem;
    }
}

#wrapper.pos-sidebar-hidden #sidebar-wrapper {
    margin-left: -15rem;
}

#wrapper.pos-sidebar-visible #sidebar-wrapper {
    margin-left: 0;
}

.list-group-item-light.list-group-item-action.active {
    color: #ffffff !important;
    background-color: #8f4030 !important;
    border-color: #8f4030;
}

.overflow-hidden {
    overflow: hidden !important;
}

*[dir="rtl"] .mfs-3,
html:not([dir="rtl"]) .mfe-3 {
    margin-right: 1rem !important;
}

*[dir="rtl"] .mfe-3 {
    margin-left: 1rem !important;
}

.border-top-success {
    /* border-top: 3px solid #198754!important; */
    border-top: 5px solid #8f4030 !important;
}

.bg-light {
    /* background: #198754!important;
  border-top: 5px solid #ffb93a; */
    background-color: #8f4030 !important;
    /* border-top: 5px solid #d7664d; */
    color: white;
}

.bg-sidebar {
    background-color: #423937 !important;
}

.bg-sidebar-group {
    background-color: #382f2d !important;
    color: #9c8a85 !important;
    border-bottom: 1px solid #2f1f1c !important;
}

.list-group-item-light {
    color: #fefefe !important;
    background-color: #423937 !important;
}

.navbar-light .navbar-nav .nav-link {
    color: white;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: white;
}

.btn-success {
    color: #fff;
    /* background-color: #116f44;
  border-color: #116f44; */
    background-color: #8f4030 !important;
    border-color: #8f4030 !important;
}

.btn-success:hover {
    color: #fff;
    /* background-color: #116f44;
  border-color: #116f44; */
    background-color: #8f4030 !important;
    border-color: #8f4030 !important;
}

.btn-success:active {
    color: #fff;
    /* background-color: #116f44;
  border-color: #116f44; */
    background-color: #8f4030 !important;
    border-color: #8f4030 !important;
}

.btn-success:disabled {
    color: #fff;
    /* background-color: #116f44;
  border-color: #116f44; */
    background-color: #8f4030 !important;
    border-color: #8f4030 !important;
}

.btn-success:focus {
    color: #fff;
    /* background-color: #116f44;
  border-color: #116f44; */
    background-color: #8f4030 !important;
    border-color: #8f4030 !important;
    box-shadow: none !important;
}

.btn-success-dark {
    color: #fff;
    /* background-color: #116f44;
  border-color: #116f44; */
    background-color: #743427;
    border-color: #743427;
}

.btn-success-dark:hover {
    color: #fff;
    /* background-color: #116f44;
  border-color: #116f44; */
    background-color: #743427;
    border-color: #743427;
}

.ql-editor {
    min-height: 200px !important;
    max-height: 300px;
    overflow: hidden;
    overflow-y: scroll;
    overflow-x: scroll;
}

.map-container {
    height: 300px;
    width: 100%;
}

.mapboxgl-ctrl-geocoder {
    font:
        15px/20px "Helvetica Neue",
        Arial,
        Helvetica,
        sans-serif;
    position: relative;
    background-color: white;
    width: 33.3333%;
    min-width: 260px;
    max-width: 360px;
    z-index: 1;
    border-radius: 3px;
}

.mapboxgl-popup-content {
    position: relative;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
    padding: 10px 10px 15px;
    pointer-events: auto;
}

.navbar-custom {
    /* background-color: #198754;
  border-top: 5px solid #ffb93a; */
    background-color: #8269e0;
    border-top: 5px solid #b0b6da;
}

.navbar-light .navbar-nav .nav-link {
    color: white;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: white !important;
}

.dropdown-menu {
    padding: 5px;
}

.dropdown-item:hover {
    color: white;
    /* background-color: #198754; */
    background-color: #8f4030;
    border-radius: 5px;
}

.nav-link.active {
    color: white;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show > .nav-link {
    color: white;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: white;
}

.mt-minus-87 {
    margin-top: -87px;
}

.ms-8 {
    margin-left: 8rem !important;
}

.dropdown-menu {
    border: 0;
}

.image-gallery-slide .image-gallery-image {
    height: 350px;
    width: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.image-gallery-thumbnail {
    opacity: 0.3;
}

.image-gallery-thumbnail.active {
    opacity: 1;
    border: none;
}

.image-gallery-thumbnail:hover {
    border: none;
    transition: none;
}

.image-gallery-thumbnail-image {
    border-radius: 0.5rem !important;
    height: 70px;
    object-fit: cover;
}

.image-gallery-left-nav .image-gallery-svg,
.image-gallery-right-nav .image-gallery-svg {
    width: 50px;
    height: 50px;
    z-index: 9;
    top: 50%;
    background: white;
    border: none;
    border-radius: 30px;
}

.image-gallery-icon {
    /* color: #689f38; */
    color: #8269e0;
}

.image-gallery-icon:hover {
    /* color: #689f38; */
    color: #8269e0;
    transition: none !important;
}

.icon-info-green {
    /* background-color: #689f38; */
    background-color: #8269e0;
    border-radius: 35px;
    box-shadow: 0 3px 6px 0 rgb(4 172 233 / 20%);
    width: 45px !important;
    height: 45px !important;
    text-align: center;
    color: #fff;
    vertical-align: middle;
    display: inline-block;
    margin-bottom: 20px;
}

.icon-info-green i {
    position: relative;
    top: calc(47% - 11px);
}

.carousel-control-next {
    text-decoration: none !important;
}

.carousel-control-prev {
    text-decoration: none !important;
}

.carousel-custom {
    z-index: 9;
    background: white;
    border: none;
    border-radius: 50%;
    padding: 20px;
    width: 55px;
}

.footer_top {
    padding: 120px 0px 200px;
    position: relative;
    overflow-x: hidden;
    margin-bottom: 15px;
}

.footer_top .footer_bg {
    position: absolute;
    bottom: 0;
    background: url("../images/footer_bg.png") no-repeat scroll center 0;
    width: 100%;
    height: 266px;
}

.footer_top .footer_bg .footer_bg_one {
    background: url("../images/volks.gif") no-repeat center center;
    width: 330px;
    height: 105px;
    background-size: 100%;
    position: absolute;
    bottom: 0;
    left: 30%;
    -webkit-animation: myfirst 22s linear infinite;
    animation: myfirst 22s linear infinite;
}

.footer_top .footer_bg .footer_bg_two {
    background: url("../images/cyclist.gif") no-repeat center center;
    width: 88px;
    height: 100px;
    background-size: 100%;
    bottom: 0;
    left: 38%;
    position: absolute;
    -webkit-animation: myfirst 30s linear infinite;
    animation: myfirst 30s linear infinite;
}

@-moz-keyframes myfirst {
    0% {
        left: -25%;
    }
    100% {
        left: 100%;
    }
}

@-webkit-keyframes myfirst {
    0% {
        left: -25%;
    }
    100% {
        left: 100%;
    }
}

@keyframes myfirst {
    0% {
        left: -25%;
    }
    100% {
        left: 100%;
    }
}

.bg-green {
    /* background-color: #43a047; */
    background-color: #8f4030;
}

.btn-cart {
    position: fixed;
    bottom: 100px;
    border-radius: 50px;
    z-index: 100;
    right: 8%;
    box-shadow:
        0px 10px 13px -7px #000000,
        5px 5px 15px 5px rgba(0, 0, 0, 0);
}

#count-cart {
    font-size: 12px;
    background: #bf0b1c;
    color: #fff;
    vertical-align: top;
    margin-left: -5px;
}

.nav-justified .nav-item,
.nav-justified > .nav-link {
    flex-basis: 0;
    flex-grow: 0.2;
    text-align: center;
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .nav-justified .nav-item,
    .nav-justified > .nav-link {
        flex-basis: 0;
        flex-grow: 2;
        text-align: center;
    }
}

.img-carousel {
    height: 250px !important;
    object-fit: cover !important;
    width: 100% !important;
}

.carousel-custom {
    z-index: 9;
    background: white;
    border: none;
    border-radius: 50%;
    padding: 10px;
    width: 37px;
}

.carousel-control-next,
.carousel-control-prev {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: 0 0;
    border: 0;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

.product .card-body {
    background: #f7f7f7;
}

.active > .page-link,
.page-link.active {
    z-index: 3;
    color: #fff;
    background-color: #8f4130;
    border-color: #8f4130;
}

.page-link {
    position: relative;
    display: block;
    color: #8f4130;
    text-decoration: none;
    background-color: #fff;
}

.rounded-top {
    border-top-left-radius: 0.5em !important;
    border-top-right-radius: 0.5em !important;
}

.rounded-top-none {
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    border-bottom-left-radius: 0.5em !important;
    border-bottom-right-radius: 0.5em !important;
}

.bg-gray {
    background-color: #d8d8d8 !important;
}

.w-5 {
    width: 10%;
}

.btn-transparent {
    background-color: transparent !important;
}

.text-success {
    color: #8f4130 !important;
}

.modal-backdrop.show {
    opacity: 0 !important;
}

.input-group-text-search {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    background-color: #8f4130;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}

.pos-cashier-page {
    min-height: calc(100vh - 64px);
    padding: 18px 8px 24px;
    color: #2f1f1c;
}

.pos-cashier-page > .row {
    min-height: calc(100vh - 130px);
    align-items: stretch;
}

.pos-cashier-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.pos-cashier-heading h4 {
    margin: 0;
    font-weight: 800;
    letter-spacing: 0;
}

.pos-cashier-heading span,
.pos-checkout-header span {
    color: #7a6b67;
    font-weight: 700;
    font-size: 0.88rem;
}

.pos-sale-panel,
.pos-checkout-panel {
    background: #fff;
    border: 1px solid rgba(66, 57, 55, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(66, 57, 55, 0.08);
    overflow: hidden;
}

.pos-sale-panel {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.pos-sale-panel::after {
    content: none;
}

.pos-search-bar {
    padding: 14px;
    border-bottom: 1px solid rgba(66, 57, 55, 0.08);
}

.pos-search-bar .input-group {
    border: 1px solid rgba(66, 57, 55, 0.16);
    border-radius: 8px;
    overflow: hidden;
}

.pos-search-bar .input-group-text,
.pos-search-bar .form-control {
    border: 0;
    background: #fff;
}

.pos-search-bar .form-control {
    min-height: 44px;
    font-weight: 700;
}

.pos-search-bar .form-control:focus {
    box-shadow: none;
}

.pos-category-strip {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    overflow-x: auto;
    border-bottom: 1px solid rgba(66, 57, 55, 0.08);
    background: #fffaf8;
}

.pos-category-strip::-webkit-scrollbar {
    height: 0;
}

.pos-category-pill {
    min-height: 36px;
    padding: 7px 14px;
    color: #423937;
    background: #fff;
    border: 1px solid rgba(66, 57, 55, 0.16);
    border-radius: 8px;
    font-weight: 800;
    white-space: nowrap;
}

.pos-category-pill.active,
.pos-category-pill:hover {
    color: #fff;
    background: #8f4030;
    border-color: #8f4030;
}

.pos-product-grid {
    --pos-product-row-height: 220px;
    --pos-product-row-gap: 12px;
    min-height: 0;
    flex: 0 0 auto;
    max-height: calc(
        (var(--pos-product-row-height) * 3) + (var(--pos-product-row-gap) * 2) +
            28px
    );
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-auto-rows: var(--pos-product-row-height);
    align-content: start;
    gap: var(--pos-product-row-gap);
    overflow-y: auto;
    background: #fff;
}

.pos-product-tile {
    min-height: 0;
    height: 100%;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    background: #fff;
    border: 1px solid rgba(66, 57, 55, 0.1);
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(66, 57, 55, 0.06);
    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.pos-product-tile:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: rgba(143, 64, 48, 0.4);
    box-shadow: 0 10px 20px rgba(66, 57, 55, 0.1);
}

.pos-product-tile.is-disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.pos-product-image {
    position: relative;
    height: 98px;
    display: grid;
    place-items: center;
    background: #fffaf8;
    border: 1px solid rgba(66, 57, 55, 0.08);
    border-radius: 8px;
}

.pos-product-image img {
    width: 100%;
    height: 86px;
    object-fit: contain;
}

.pos-product-image > i {
    color: rgba(66, 57, 55, 0.32);
    font-size: 2rem;
}

.pos-product-empty {
    position: absolute;
    inset: auto 10px 10px;
    padding: 4px 8px;
    color: #fff;
    background: #dc3545;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 800;
    text-align: center;
}

.pos-product-name {
    min-height: 42px;
    color: #2f1f1c;
    font-weight: 800;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pos-product-meta {
    margin-top: auto;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 8px;
}

.pos-product-meta span {
    color: #7a6b67;
    font-size: 0.78rem;
    font-weight: 800;
}

.pos-product-meta strong {
    color: #8f4030;
    font-size: 0.92rem;
    white-space: nowrap;
}

.pos-pagination {
    margin-top: auto;
    padding: 12px 14px;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(66, 57, 55, 0.08);
}

.pos-checkout-panel {
    position: sticky;
    top: 76px;
    max-height: calc(100vh - 92px);
    display: flex;
    flex-direction: column;
}

.pos-checkout-header {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(66, 57, 55, 0.08);
}

.pos-checkout-header h5 {
    margin: 0;
    font-weight: 800;
    letter-spacing: 0;
}

.pos-cart-count {
    min-width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    color: #fff !important;
    background: #8f4030;
    border-radius: 8px;
}

.pos-cart-list {
    flex: 1 1 auto;
    min-height: 170px;
    max-height: 32vh;
    overflow-y: auto;
}

.pos-cart-row {
    padding: 12px 16px;
    display: grid;
    gap: 10px;
    border-bottom: 1px solid rgba(66, 57, 55, 0.08);
}

.pos-cart-main {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pos-cart-main strong {
    min-width: 0;
    color: #2f1f1c;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pos-cart-main span {
    color: #7a6b67;
    font-weight: 800;
    white-space: nowrap;
}

.pos-cart-actions {
    display: grid;
    grid-template-columns: 110px minmax(88px, 1fr) 34px;
    align-items: center;
    gap: 10px;
}

.pos-cart-actions > strong {
    text-align: right;
    color: #8f4030;
    white-space: nowrap;
}

.pos-qty-stepper {
    height: 34px;
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(66, 57, 55, 0.16);
    border-radius: 8px;
    background: #fffaf8;
}

.pos-qty-stepper button,
.pos-cart-delete {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
}

.pos-qty-stepper span {
    text-align: center;
    font-weight: 800;
}

.pos-cart-delete {
    width: 34px;
    height: 34px;
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.22);
    border-radius: 8px;
}

.pos-payment-form {
    padding: 14px 16px 16px;
    background: #fffaf8;
    border-top: 1px solid rgba(66, 57, 55, 0.08);
}

.pos-payment-form .form-label {
    margin-bottom: 6px;
    color: #7a6b67;
    font-size: 0.82rem;
    font-weight: 800;
}

.pos-payment-form .form-control,
.pos-payment-form .form-select {
    min-height: 40px;
    border-radius: 8px;
    font-weight: 800;
}

.pos-method-toggle {
    min-height: 40px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(66, 57, 55, 0.28);
    border-radius: 8px;
}

.pos-method-option {
    min-width: 0;
    min-height: 40px;
    margin: 0;
    display: grid;
    place-items: center;
    color: #5f666d;
    background: #fff;
    border: 0;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.pos-method-option + .btn-check + .pos-method-option,
.pos-method-option:last-child {
    border-left: 1px solid rgba(66, 57, 55, 0.28);
}

.pos-method-toggle .btn-check:checked + .pos-method-option {
    color: #fff;
    background: #8f4030;
    border-color: #8f4030;
}

.pos-cash-input {
    font-size: 1.25rem;
    color: #2f1f1c;
}

.pos-cash-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
}

.pos-cash-shortcuts button {
    min-height: 34px;
    padding: 4px 6px;
    color: #423937;
    background: #fff;
    border: 1px solid rgba(66, 57, 55, 0.16);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 800;
}

.pos-summary-box {
    padding: 12px;
    display: grid;
    gap: 8px;
    background: #fff;
    border: 1px solid rgba(66, 57, 55, 0.1);
    border-radius: 8px;
}

.pos-summary-box > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pos-summary-box span {
    color: #7a6b67;
    font-weight: 800;
}

.pos-summary-box strong {
    color: #2f1f1c;
    white-space: nowrap;
}

.pos-summary-total {
    padding-top: 10px;
    border-top: 1px solid rgba(66, 57, 55, 0.1);
}

.pos-summary-total strong {
    color: #8f4030;
    font-size: 1.55rem;
}

.pos-pay-button {
    min-height: 50px;
    margin-top: 12px;
    border-radius: 8px;
    font-weight: 800;
}

.pos-empty-state,
.pos-empty-cart {
    min-height: 180px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    color: #7a6b67;
    text-align: center;
}

.pos-empty-state i,
.pos-empty-cart i {
    font-size: 2.1rem;
    color: rgba(66, 57, 55, 0.28);
}

@media (max-width: 1199.98px) {
    .pos-cashier-page > .row {
        min-height: 0;
    }

    .pos-sale-panel {
        min-height: auto;
    }

    .pos-product-grid {
        max-height: calc(
            (var(--pos-product-row-height) * 3) +
                (var(--pos-product-row-gap) * 2) + 28px
        );
    }

    .pos-checkout-panel {
        position: static;
        max-height: none;
    }

    .pos-cart-list {
        max-height: none;
    }
}

@media (max-width: 575.98px) {
    .pos-cashier-page {
        padding-inline: 0;
    }

    .pos-cashier-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .pos-product-grid {
        --pos-product-row-height: 205px;
        --pos-product-row-gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 10px;
        max-height: calc(
            (var(--pos-product-row-height) * 3) +
                (var(--pos-product-row-gap) * 2) + 20px
        );
    }

    .pos-product-tile {
        padding: 10px;
    }

    .pos-cart-actions {
        grid-template-columns: 104px minmax(78px, 1fr) 34px;
    }

    .pos-cash-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.transaction-show-page {
    padding: 20px 0 32px;
}

.transaction-show-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.transaction-show-header,
.transaction-action-card,
.transaction-summary-card,
.transaction-receipt-panel {
    background: #fff;
    border: 1px solid rgba(66, 57, 55, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(66, 57, 55, 0.08);
}

.transaction-show-header {
    margin-bottom: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.transaction-show-heading {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.transaction-back-button {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(66, 57, 55, 0.18);
    border-radius: 8px;
    background: #fff;
    color: #5f5552;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.transaction-back-button:hover {
    border-color: rgba(66, 57, 55, 0.28);
    background: #f8f5f3;
    color: #2f1f1c;
}

.transaction-show-title {
    min-width: 0;
}

.transaction-show-title span {
    color: #7a6b67;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.transaction-show-title h4 {
    margin: 3px 0;
    color: #2f1f1c;
    font-weight: 800;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.transaction-show-title small {
    color: #7a6b67;
    font-weight: 700;
}

.transaction-status-chip {
    min-height: 38px;
    padding: 8px 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.transaction-status-chip.is-success {
    color: #0f7a4a;
    background: #e8fff2;
}

.transaction-status-chip.is-warning {
    color: #9a5b00;
    background: #fff4e5;
}

.transaction-status-chip.is-danger {
    color: #b42318;
    background: #ffe5e5;
}

.transaction-show-workspace {
    display: grid;
    grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
    align-items: start;
    gap: 18px;
}

.transaction-action-panel {
    position: sticky;
    top: 76px;
    display: grid;
    gap: 14px;
}

.transaction-action-card,
.transaction-summary-card {
    padding: 14px;
}

.transaction-action-card__header {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.transaction-action-card__header span {
    color: #7a6b67;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.transaction-action-card__header strong {
    color: #8f4030;
    text-align: right;
    white-space: nowrap;
}

.transaction-action-list {
    display: grid;
    gap: 8px;
}

.transaction-action-list .btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 8px;
    box-shadow: none !important;
}

.receipt-paper-size-control {
    padding: 10px;
    display: grid;
    gap: 8px;
    background: #fffaf8;
    border: 1px solid rgba(66, 57, 55, 0.1);
    border-radius: 8px;
}

.receipt-paper-size-control span {
    color: #7a6b67;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.receipt-paper-size-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.receipt-paper-size-option {
    min-height: 34px;
    border: 1px solid rgba(66, 57, 55, 0.18);
    border-radius: 8px;
    background: #fff;
    color: #5f5552;
    font-weight: 800;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.receipt-paper-size-option.is-active {
    border-color: #198754;
    background: #198754;
    color: #fff;
}

.transaction-summary-card {
    display: grid;
    gap: 10px;
}

.transaction-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.transaction-summary-row span {
    color: #7a6b67;
    font-weight: 800;
}

.transaction-summary-row strong {
    min-width: 0;
    color: #2f1f1c;
    text-align: right;
    overflow-wrap: anywhere;
}

.transaction-receipt-panel {
    overflow: hidden;
}

.transaction-receipt-panel__header {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(66, 57, 55, 0.08);
}

.transaction-receipt-panel__header span {
    display: block;
    color: #2f1f1c;
    font-weight: 800;
}

.transaction-receipt-panel__header small {
    color: #7a6b67;
    font-weight: 700;
}

.receipt-stage {
    padding: 18px;
    display: flex;
    justify-content: center;
    background: #fffaf8;
}

.receipt-paper {
    position: relative;
    width: 100%;
    max-width: 430px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(66, 57, 55, 0.12);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(66, 57, 55, 0.14);
}

.receipt-paper--58mm {
    max-width: 320px;
}

.receipt-paper--80mm {
    max-width: 430px;
}

.receipt-paper--58mm .receipt-paper__body {
    padding: 24px 16px 20px;
}

.receipt-paper--58mm .receipt-logo-frame {
    width: 58px;
    height: 58px;
    margin-bottom: 10px;
}

.receipt-paper--58mm .receipt-store-name {
    font-size: 1.1rem;
}

.receipt-paper--58mm .receipt-meta,
.receipt-paper--58mm .receipt-summary,
.receipt-paper--58mm .receipt-item__name,
.receipt-paper--58mm .receipt-item__subtotal {
    font-size: 12px;
}

.receipt-paper--58mm .receipt-item,
.receipt-paper--58mm .receipt-meta-row,
.receipt-paper--58mm .receipt-summary-row {
    gap: 8px;
}

.receipt-paper::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: #8f4030;
}

.receipt-paper.is-voided::before {
    background: #dc3545;
}

.receipt-paper__body {
    padding: 28px 24px 24px;
}

.receipt-header {
    text-align: center;
}

.receipt-logo-frame {
    width: 78px;
    height: 78px;
    margin: 0 auto 14px;
    padding: 10px;
    display: grid;
    place-items: center;
    background: #fffaf8;
    border: 1px solid rgba(66, 57, 55, 0.1);
    border-radius: 8px;
    box-shadow: 0 12px 25px rgba(66, 57, 55, 0.08);
}

.receipt-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.receipt-logo-placeholder {
    color: #8f4030;
    font-size: 1.7rem;
}

.receipt-store-name {
    margin-bottom: 6px;
    color: #2f1f1c;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
}

.receipt-store-meta {
    margin: 0;
    color: #7a6b67;
    font-size: 12px;
    line-height: 1.5;
    white-space: pre-line;
}

.receipt-status-pill {
    margin-top: 14px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.receipt-status-pill.is-paid {
    color: #0f7a4a;
    background: #e8fff2;
}

.receipt-status-pill.is-pending {
    color: #9a5b00;
    background: #fff4e5;
}

.receipt-status-pill.is-voided {
    color: #b42318;
    background: #ffe5e5;
}

.receipt-divider {
    margin: 18px 0;
    border-top: 1px dashed rgba(47, 31, 28, 0.24);
}

.receipt-meta,
.receipt-summary {
    display: grid;
    gap: 8px;
    font-size: 13px;
}

.receipt-meta-row,
.receipt-summary-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.receipt-meta-row span:first-child,
.receipt-summary-row span:first-child {
    color: #7a6b67;
}

.receipt-meta-row span:last-child,
.receipt-summary-row span:last-child {
    text-align: right;
}

.receipt-section-title {
    margin-bottom: 12px;
    color: #7a6b67;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.receipt-items {
    display: grid;
    gap: 12px;
}

.receipt-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.receipt-item__main {
    min-width: 0;
    flex: 1;
}

.receipt-item__name {
    margin-bottom: 2px;
    color: #2f1f1c;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.receipt-item__meta {
    color: #7a6b67;
    font-size: 12px;
}

.receipt-item__subtotal {
    font-size: 13px;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.receipt-summary {
    padding: 14px 14px 12px;
    background: #fffaf8;
    border: 1px solid rgba(66, 57, 55, 0.1);
    border-radius: 8px;
}

.receipt-summary-row--total {
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px dashed rgba(47, 31, 28, 0.18);
    font-size: 16px;
    font-weight: 800;
}

.receipt-note {
    color: #423937;
    font-size: 12px;
    line-height: 1.6;
}

.receipt-footer {
    text-align: center;
}

.receipt-footer__headline {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 800;
}

.receipt-footer__text {
    margin-bottom: 12px;
    color: #7a6b67;
    font-size: 11px;
    white-space: pre-line;
}

.receipt-footer__code {
    padding: 6px 10px;
    display: inline-block;
    color: #2f1f1c;
    background: #f5ece9;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

@media (max-width: 991.98px) {
    .transaction-show-workspace {
        grid-template-columns: 1fr;
    }

    .transaction-action-panel {
        position: static;
    }

    .transaction-action-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .transaction-show-page {
        padding-top: 12px;
    }

    .transaction-show-header {
        align-items: stretch;
        flex-direction: column;
    }

    .transaction-status-chip {
        align-self: flex-start;
    }

    .transaction-action-list {
        grid-template-columns: 1fr;
    }

    .transaction-receipt-panel__header {
        padding: 12px 14px;
    }

    .receipt-stage {
        padding: 10px;
    }

    .receipt-paper__body {
        padding: 24px 18px 20px;
    }

    .receipt-meta-row,
    .receipt-summary-row {
        gap: 10px;
    }
}

@media print {
    body.printing-receipt * {
        visibility: hidden;
    }

    body.printing-receipt .no-print {
        display: none !important;
    }

    body.printing-receipt #print-area,
    body.printing-receipt #print-area * {
        visibility: visible;
    }

    body.printing-receipt #print-area {
        position: absolute;
        top: 0;
        left: 0;
        color: #111 !important;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 400;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        transform: none;
        overflow: visible;
    }

    body.printing-receipt #print-area.receipt-paper--58mm {
        width: 48mm;
        max-width: 48mm;
    }

    body.printing-receipt #print-area.receipt-paper--80mm {
        width: 80mm;
        max-width: 80mm;
    }

    body.printing-receipt #print-area::before {
        display: none !important;
    }

    body.printing-receipt .receipt-paper__body {
        box-sizing: border-box;
        padding: 1.5mm;
    }

    body.printing-receipt #print-area.receipt-paper--80mm .receipt-paper__body {
        padding: 4mm;
    }

    body.printing-receipt .receipt-logo-frame {
        width: 16mm;
        height: 16mm;
        margin-bottom: 2mm;
        padding: 1mm;
        box-shadow: none !important;
    }

    body.printing-receipt #print-area.receipt-paper--80mm .receipt-logo-frame {
        width: 18mm;
        height: 18mm;
    }

    body.printing-receipt .receipt-logo-placeholder {
        font-size: 8mm;
    }

    body.printing-receipt .receipt-store-name {
        margin-bottom: 1mm;
        font-size: 14px;
        font-weight: 600;
    }

    body.printing-receipt .receipt-store-meta {
        font-size: 9px;
        line-height: 1.35;
        font-weight: 400;
    }

    body.printing-receipt .receipt-status-pill {
        margin-top: 2mm;
        padding: 1mm 2mm;
        font-size: 9px;
        font-weight: 600;
    }

    body.printing-receipt .receipt-divider {
        margin: 3mm 0;
    }

    body.printing-receipt .receipt-meta,
    body.printing-receipt .receipt-summary {
        gap: 1.5mm;
        font-size: 10px;
        font-weight: 400;
    }

    body.printing-receipt .receipt-meta-row,
    body.printing-receipt .receipt-summary-row {
        gap: 2mm;
    }

    body.printing-receipt #print-area.receipt-paper--58mm .receipt-meta-row,
    body.printing-receipt #print-area.receipt-paper--58mm .receipt-summary-row {
        display: grid;
        grid-template-columns: 16mm minmax(0, 1fr);
        gap: 1.5mm;
    }

    body.printing-receipt #print-area.receipt-paper--58mm .receipt-item {
        gap: 1.5mm;
    }

    body.printing-receipt #print-area.receipt-paper--58mm .receipt-item__subtotal {
        max-width: 17mm;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    body.printing-receipt .receipt-meta-row span,
    body.printing-receipt .receipt-summary-row span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    body.printing-receipt .receipt-section-title {
        margin-bottom: 2mm;
        font-size: 9px;
        font-weight: 600;
    }

    body.printing-receipt .receipt-items {
        gap: 2.5mm;
    }

    body.printing-receipt .receipt-item {
        gap: 2mm;
    }

    body.printing-receipt .receipt-item__name,
    body.printing-receipt .receipt-item__subtotal {
        font-size: 10px;
        font-weight: 500;
        line-height: 1.3;
    }

    body.printing-receipt .receipt-item__meta,
    body.printing-receipt .receipt-note,
    body.printing-receipt .receipt-footer__text,
    body.printing-receipt .receipt-footer__code {
        font-size: 9px;
        font-weight: 400;
    }

    body.printing-receipt .receipt-summary-row--total {
        padding-top: 2mm;
        font-size: 12px;
        font-weight: 600;
    }

    body.printing-receipt .receipt-footer__headline {
        margin-bottom: 1mm;
        font-size: 11px;
        font-weight: 600;
    }

    body.printing-receipt #print-area.receipt-paper--80mm .receipt-store-name {
        font-size: 17px;
    }

    body.printing-receipt #print-area.receipt-paper--80mm .receipt-store-meta,
    body.printing-receipt #print-area.receipt-paper--80mm .receipt-status-pill,
    body.printing-receipt #print-area.receipt-paper--80mm .receipt-section-title,
    body.printing-receipt #print-area.receipt-paper--80mm .receipt-item__meta,
    body.printing-receipt #print-area.receipt-paper--80mm .receipt-note,
    body.printing-receipt #print-area.receipt-paper--80mm .receipt-footer__text,
    body.printing-receipt #print-area.receipt-paper--80mm .receipt-footer__code {
        font-size: 10px;
    }

    body.printing-receipt #print-area.receipt-paper--80mm .receipt-meta,
    body.printing-receipt #print-area.receipt-paper--80mm .receipt-summary,
    body.printing-receipt #print-area.receipt-paper--80mm .receipt-item__name,
    body.printing-receipt #print-area.receipt-paper--80mm .receipt-item__subtotal {
        font-size: 12px;
    }

    body.printing-receipt #print-area.receipt-paper--80mm .receipt-summary-row--total {
        font-size: 14px;
    }

    body.printing-receipt #print-area.receipt-paper--80mm .receipt-footer__headline {
        font-size: 13px;
    }

    body.printing-receipt .receipt-summary {
        padding: 0;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    @page {
        size: 58mm auto;
        margin: 0;
    }

    body.printing-receipt {
        margin: 0;
    }
}

.pos-login-page {
    min-height: 100vh;
    padding: 32px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(143, 64, 48, 0.12), transparent 42%),
        linear-gradient(315deg, rgba(66, 57, 55, 0.12), transparent 38%),
        #f5ece9;
}

.pos-login-shell {
    width: min(1080px, 100%);
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    overflow: hidden;
    background: #fffaf8;
    border: 1px solid rgba(66, 57, 55, 0.08);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(66, 57, 55, 0.18);
}

.pos-login-brand {
    --pos-login-logo-size: 72px;
    --pos-login-brand-gap: 16px;
    padding: 48px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background:
        linear-gradient(
            135deg,
            rgba(143, 64, 48, 0.94),
            rgba(66, 57, 55, 0.98)
        ),
        url("../images/shopping-cart.png") right 44px bottom 44px / 190px
            no-repeat;
}

.pos-login-brand-header {
    display: flex;
    gap: var(--pos-login-brand-gap);
    align-items: center;
}

.pos-login-logo-wrap {
    width: var(--pos-login-logo-size);
    height: var(--pos-login-logo-size);
    padding: 7px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
}

.pos-login-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
}

.pos-login-kicker {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.pos-login-brand h1,
.pos-login-card h2 {
    margin: 0;
    font-weight: 800;
    letter-spacing: 0;
}

.pos-login-brand h1 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.08;
}

.pos-login-brand-copy {
    max-width: 430px;
    padding-left: calc(var(--pos-login-logo-size) + var(--pos-login-brand-gap));
}

.pos-login-brand-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.04rem;
    font-weight: 600;
    line-height: 1.7;
}

.pos-login-card {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.pos-login-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

.pos-login-card-icon {
    width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: #8f4030;
    background: #f5ece9;
    border-radius: 8px;
    font-size: 1.18rem;
}

.pos-login-card h2 {
    color: #2f1f1c;
    font-size: 1.8rem;
}

.pos-login-card p {
    margin: 6px 0 0;
    color: #7a6b67;
    font-weight: 600;
}

.pos-login-form {
    display: grid;
    gap: 18px;
}

.pos-login-field label {
    display: block;
    margin-bottom: 8px;
    color: #423937;
    font-size: 0.95rem;
    font-weight: 800;
}

.pos-login-input {
    height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    background: #fbf7f5;
    border: 1px solid #eadbd6;
    border-radius: 8px;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.pos-login-input:focus-within {
    background: #fff;
    border-color: #8f4030;
    box-shadow: 0 0 0 4px rgba(143, 64, 48, 0.12);
}

.pos-login-input i {
    color: #8f4030;
    width: 18px;
    text-align: center;
}

.pos-login-input input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #2f1f1c;
    font-weight: 700;
}

.pos-login-input input::placeholder {
    color: #b29f99;
}

.pos-login-error {
    margin-top: 8px;
    padding: 10px 12px;
    color: #8f1d1d;
    background: #fff0f0;
    border: 1px solid #ffd2d2;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
}

.pos-login-button {
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    color: #fff;
    background: #8f4030;
    border: 0;
    border-radius: 8px;
    font-weight: 800;
    transition:
        background 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.pos-login-button:hover,
.pos-login-button:focus {
    background: #743427;
    box-shadow: 0 12px 24px rgba(143, 64, 48, 0.24);
}

.pos-login-button:active {
    transform: translateY(1px);
}

@media (max-width: 991.98px) {
    .pos-login-page {
        padding: 18px;
        place-items: start center;
    }

    .pos-login-shell {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .pos-login-brand,
    .pos-login-card {
        padding: 28px;
    }

    .pos-login-brand {
        background:
            linear-gradient(
                135deg,
                rgba(143, 64, 48, 0.95),
                rgba(66, 57, 55, 0.98)
            ),
            url("../images/shopping-cart.png") right 24px bottom 20px / 130px
                no-repeat;
    }

    .pos-login-brand-copy {
        padding-left: calc(
            var(--pos-login-logo-size) + var(--pos-login-brand-gap)
        );
    }
}

@media (max-width: 575.98px) {
    .pos-login-page {
        padding: 0;
    }

    .pos-login-shell {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
    }

    .pos-login-brand,
    .pos-login-card {
        padding: 24px 18px;
    }

    .pos-login-brand-header {
        align-items: flex-start;
    }

    .pos-login-brand {
        --pos-login-logo-size: 58px;
    }

    .pos-login-card-header {
        align-items: flex-start;
    }

    .pos-login-card h2 {
        font-size: 1.5rem;
    }
}
