.page-min-h {
    min-height: 750px;
}
.pg-breadcrumb {
    background-color: #f8f9ff;
    border-bottom: 1px solid #f1f2ff;
    border-top: 1px solid #f1f2ff;
}
.pg-breadcrumb .pg-breadcrumb-subtitle {
    max-width: 800px;
    font-weight: 400;
}
@media (max-width: 576px) {
    .pg-breadcrumb {
        text-align: center;
    }
}

.app-layout {
    min-height: calc(100vh - 165px);
}
@media (min-width: 992px) {
    .app-layout {
        min-height: calc(100vh - 181px);
    }
}









/* Drawer base */
.web-app-drawer {
    position: fixed;
    inset: 0;
    z-index: 1050;

    visibility: hidden;
    pointer-events: none;
}

/* Active state */
.web-app-drawer.active {
    visibility: visible;
    pointer-events: auto;
}

/* Overlay */
.web-app-drawer .drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);

    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Panel base */
.web-app-drawer .drawer-panel {
    position: absolute;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    will-change: transform;

    transition: transform 0.35s cubic-bezier(.22,.61,.36,1);
}

body.drawer-open {
    overflow: hidden;
}

/* Desktop (slide from right) */
@media (min-width: 768px) {
    .web-app-drawer .drawer-panel {
        top: 0;
        right: 0;
        height: 100%;
        width: 420px;
        will-change: transform;

        transform: translateX(100%);
        border-radius: 12px 0 0 12px;
    }

    .web-app-drawer.active .drawer-panel {
        transform: translateX(0);
    }

    body.drawer-open {
        padding-right: 15px!important;
    }
}

/* Mobile (slide from bottom) */
@media (max-width: 767px) {
    .web-app-drawer .drawer-panel {
        bottom: 0;
        left: 0;
        width: 100%;
        height: 85%;
        will-change: transform;
        transform: translateY(100%);
        border-radius: 16px 16px 0 0;
    }

    .web-app-drawer.active .drawer-panel {
        transform: translateY(0);
    }
}

/* Overlay fade */
.web-app-drawer.active .drawer-overlay {
    opacity: 1;
}

/* Header */
.web-app-drawer .drawer-header {
    padding: 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

/* Body */
.web-app-drawer .drawer-body {
    padding: 16px;
    overflow-y: auto;
}

.web-app-drawer.closing {
    visibility: visible;
    pointer-events: none;
}
.web-app-drawer.closing .drawer-overlay {
    opacity: 0;
}



/* MOBILE CART BAR */
.mobile-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;

    display: none;
    justify-content: space-between;
    align-items: center;

    padding: 12px 16px;
    background: #111;
    color: #fff;

    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.cart-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.cart-qty {
    font-size: 0.8rem;
    opacity: 0.8;
}

.cart-total {
    font-size: 1.1rem;
    font-weight: 600;
}

.cart-view-btn {
    background: #fff;
    color: #111;
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 500;
}


/* DRAWER OVERLAY */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1040;
    display: none;
}

/* DRAWER */
.cart-drawer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100%;
    height: 85vh;

    background: #fff;
    z-index: 1051;

    border-top-left-radius: 16px;
    border-top-right-radius: 16px;

    display: flex;
    flex-direction: column;

    transition: all 0.3s ease;
}

/* OPEN STATE */
.cart-drawer.active {
    bottom: 0;
}

.cart-drawer-overlay.active {
    display: block;
}

/* HEADER */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px;
    border-bottom: 1px solid #eee;
}

/* BODY */
.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.cart-item {
    margin-bottom: 16px;
}

.item-name {
    font-weight: 500;
}

.item-meta {
    font-size: 0.85rem;
    color: #777;
}

.item-price {
    font-weight: 600;
}

/* FOOTER */
.cart-footer {
    padding: 16px;
    border-top: 1px solid #eee;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1rem;
}

.place-order-btn {
    background: #111;
    color: #fff;
    border-radius: 999px;
    padding: 12px;
    font-weight: 500;
}





.category-sidebar .category-item {
    text-align: center;
    cursor: pointer;
}
.category-sidebar .category-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f3f3;
    border-radius: 6px;
    overflow: hidden;
}
.category-sidebar .category-img img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}
.category-sidebar .category-name {
    line-height: 36px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}
.category-sidebar .category-item.active .category-img {
    border: 2px solid #2bab00;
}
.category-sidebar .category-item.active .category-name {
    font-weight: 600;
}





.variant-item .variant-image img {
    width: 85px;
    height: 85px;
    object-fit: cover;
}





.qty-control {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.btn-add {
    border: 1px solid #222;
    background: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    transition: 0.2s;
}

.btn-add:hover {
    background: #222;
    color: #fff;
}

.stepper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
}

.stepper button {
    border: none;
    background: #f7f7f7;
    padding: 6px 10px;
}

.stepper .qty {
    padding: 0 10px;
}

.stepper button:disabled {
    opacity: 0.4;
}





#app-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
}

.toast-item {
    background: #222;
    color: #fff;
    padding: 10px 14px;
    margin-top: 10px;
    border-radius: 6px;
    font-size: 13px;
    opacity: 0;
    transform: translateY(-10px);
    transition: 0.3s;
}

.toast-item.show {
    opacity: 1;
    transform: translateY(0);
}


.btn-plus.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.inline-list-divider {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.inline-list-divider li {
    position: relative;
}

.inline-list-divider li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -0.6rem;
    color: #37383a;
    font-weight: 300;
}

