#cart i.rz-button-icon-left.rzi {
    font-size: 24px;
}

#cart button {
    border: none;
}

#searchtxt {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
}

.current-user .rz-label {
    font-size: 11px;
    margin-right: 0.5rem;
}

.current-user .rz-button {
    padding: 0px 6px;
    line-height: 0px;
}

.layout-size-width {
    width: 100%;
    max-width: 1440px;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 1440px) {
    .layout-size-width {
        margin-left: calc(100vw - 100%);
    }
}



.rz-tree-toggler.rzi-caret-right:before {
    content: "chevron_right";
    margin-left: -0.125rem;
}

.rz-tree-toggler.rzi-caret-right:before {
    margin-left: 0 !important;
}

.rz-tree-toggler.rzi-caret-down:before {
    content: "expand_more";
    margin-left: -0.125rem;
}

.rz-tree-toggler.rzi-caret-down:before {
    margin-left: 0 !important;
}

.rz-lookup-panel {
    background-color: white;
    max-height: 330px;
    overflow-y: auto;
}

.rz-button-text {
    white-space: nowrap;
}

.product-menu .rz-navigation-item .rz-navigation-item-wrapper .rz-navigation-item-link {
    background: navy;
    text-align: center;
    width: 180px;
    height: 48px;
}

.cart-grid {
    background: #f1f1f4 !important;
}

.maincart .rz-data-grid-data .rz-grid-table > thead {
    display: none;
}

.cart-item-label {
    white-space: normal;
}

.smcart-container-img {
    width: 70px;
    height: 70px;
    border: solid 1px #eae9ee;
    border-radius: 4px;
    padding: 5px;
    object-fit: contain;
    object-position: center;
    display: block;
    background-color: #ffffff;
}

.smcart {
    padding: 0px;
    height: 100%;
    max-height: calc(100vh - 45px);
}

.smfav-container-img {
    width: 60px;
    height: 60px;
    border: solid 1px #eae9ee;
    border-radius: 4px;
    padding: 5px;
    object-fit: contain;
    object-position: center;
    display: block;
    background-color: #ffffff;
}

.smcart-row {
    background: white;
}

.smcart-head {
    font-weight: 700;
}

.checkout-img {
    width: 60px;
    background-color: #ffffff;
    border: solid 1px #eae9ee;
    border-radius: 4px;
    padding: 2px;
}

.checkout-txt {
    font-size: 11px;
    white-space: normal;
}

.checkout-txtsm {
    font-size: 10px
}

.main-menu-right .rz-navigation-menu.rz-open {
    right: 0px;
}
.main-menu-right .rz-navigation-menu.rz-close {
    right: 0px;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0%);
        opacity: 1;
    }
}



.rz-notification-item-wrapper {
    width: 100% !important;
    max-width: 450px;
}

.print-total {
    border-color: black;
    border-top-style: solid;
    border-top-width: 1px;
    border-bottom-style: double;
    border-bottom-width: 3px;
}

.print-header {
    border: 1px solid rgba(0, 0, 0, 0.12);
    width: 100%;
    padding: 10px;
    margin-right: 7px;
    margin-bottom: 15px;
}

.po-button {
    height: 20px;
    border-radius: 10px;
    box-shadow: none;
}

    .po-button:hover {
        box-shadow: none !important;
    }

    .po-button i.rz-button-icon-left.rzi {
        height: 100%;
        line-height: 20px;
    }

    .po-button > span.rz-button-text {
        line-height: 20px;
        height: 100%;
    }

.orders-btn {
    padding-left: 0px !important;
    padding-right: 0px !important;
    background-color: unset !important;
    box-shadow: none !important;
    height: 22px;
}

    .orders-btn i.rz-button-icon-left.rzi {
        color: #3a474d !important;
        font-size: 22px !important;
        margin-top: 1px !important;
        line-height: 1;
    }

.rz-link-orders .rzi {
    vertical-align: baseline;
}

.rz-grid-table thead th.rz-text-align-right .rz-column-title {
    padding-right: 14px;
}

.rz-grid-table thead th.rz-text-align-right.rz-sortable-column .rz-column-title {
    padding-right: 0px;
}

.fav-container-img {
    width: 50px;
    margin-right: 10px;
    flex-shrink: 0;
    flex-grow: 0;
    height: 50px;
    overflow: hidden;
    border: solid 1px #eae9ee;
    border-radius: 4px;
    padding: 5px;
    vertical-align: middle;
}

.grid-click .rz-data-row {
    cursor: pointer;
}

.logoimg {
    cursor: pointer;
    height: 30px;
    margin: 10px 0;
}

.rz-menu-toggle-item {
    justify-content: left;
    border-radius: 5px;
}

.rz-menu-toggle:hover {
    background-color: transparent;
    color: var(--rz-menu-top-item-color);
}

.dialog-menu {
    width: 100% !important;
    top: 88px;
    max-width: 1400px;
    border-radius: 0px;
    box-shadow: var(--rz-context-menu-box-shadow);
}

.dialog-no-mask .rz-dialog-mask {
    background-color: transparent !important;
}

.rz-g-catalogue {
    margin-left: -7px;
    margin-right: -7px
}

    .rz-g-catalogue .rz-g > div {
        width: 260px;
        padding: 14px 5px;
    }

    .rz-g-catalogue .p-excl {
        display: inline;
        font-style: normal;
        font-weight: bold;
        line-height: 18px;
        margin-right: 5px;
        font-size: 15px;
    }

    .rz-g-catalogue .p-uom {
        display: inline;
        font-size: 14px
    }

    .rz-g-catalogue .p-image {
        height: 200px;
        position: relative;
        padding: 10px;
    }

        .rz-g-catalogue .p-image > img {
            cursor: pointer;
            max-height: 100%;
            max-width: 100%
        }

    .rz-g-catalogue .p-link {
        margin-top: 1rem;

        min-height: 3em;
        white-space: normal;
        word-wrap: break-word;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .rz-g-catalogue .p-text {
        display: block;
        font-size: 14px;
        font-weight: 300
    }

    .rz-g-catalogue .p-atc .rz-numeric {
        margin-right: 10px;
        width: 80px
    }

    .rz-g-catalogue .p-atc > button {
        border-radius: 5px;
        font-weight: 500;
        height: 35px
    }



.rz-g-brands .rz-g > div {
    flex: auto;
    margin: var(--rz-datalist-item-vertical-margin) var(--rz-datalist-item-horizontal-margin);
    width: 250px;
}

.rz-g-brands .rz-g > div > div > div img {
    max-width: 150px;
    max-height: 60px;
}

.rz-treenode-label{
    line-height: 16px;
    font-size: 12px;
}

.cat-datalist .rz-g > div, .rz-datalist-data > li {
    border-radius: 0px;
    border: none;
    box-shadow: none;
    padding: 5px !important;
    background-color: unset;
}

.cat-menugrid .rz-column-title .rz-column-title-content {
    width: 100%;
}

.cat-menugrid .rz-column-title {
    padding-right: 14px !important;
}

.cat-menugrid .rz-data-grid-data .rz-grid-table > tbody > tr > td {
    padding-top: 8.5px;
    padding-bottom: 8.5px;
}

.product-text-btn {
    border-radius:5px;
}

.product-text-btn .smcart-row {
    padding: 0px;
}

    .product-text-btn .smcart-row .rz-label {
        text-transform: initial;
        font-weight: 400;
        white-space: normal;
        letter-spacing: 0px;
    }

    .product-text-btn .smcart-row .rz-button-box, .product-text-btn .smcart-row .rz-button-box .row {
        width: 100%;
        padding: 0px;
        margin: 0px;
    }

.tile-image {
    max-width: 80%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand-tile-small {
    width: 120px;
    height: 80px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
    cursor:pointer;
}

.brand-tile-small > img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
}

.product-filter {
    width: 305px;
    border-radius: var(--rz-datalist-border-radius);
    border: var(--rz-datalist-item-border);
    background-color: var(--rz-datalist-item-background-color);
}

.product-filter .rz-accordion-header a[role='tab'] {
    padding: 8px 14px 0 14px;
}

.product-filter .rz-accordion-content {
    padding: 5px 14px 10px 14px;
}

.side-menu {
    top: 0px;
    left: 0px;
    width: 90%; 
    height: 100%;
    max-width: 400px;
    border-radius: 0px;
    --tw-shadow: 3px 8px 6px -3px rgba(0,0,0,0.25);
    --tw-shadow-colored: 0 0 6px 2px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

    .side-menu .rz-dialog-content {
        padding: 0px 14px;
    }

.filter-card {
    border-radius: 0px;
    padding: 0px 0px 0px 0px;
    margin: 0px;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 5;
}

.filter-card .product-filter {
    width: 100%;
}

.main-menu-button {
    color: #666666 !important;
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
    transition: background-color 0.3s, color 0.3s;
}

    .main-menu-button:hover {
        color: #ffffff !important;
        background-color: var(--rz-primary) !important;
    }

.product-sub-label {
    font-weight: bold;
    display: block;
}

.product-sub-row {
    padding-top: 1rem;
}

.dashed-separator {
    border-bottom: 1px dashed #dadada;
    padding-bottom: 1rem;
}

.dashboard-darkcards {
    background-color: rgb(47, 79, 79);
}

.dashboard-darkcards H2 {
    color: #ffffff;
}

.dashboard-categorycard-labels {
    color: #ffffff;
    font-weight: bold;
}

.dashboard-darkcards .rz-button.dashboard-category-button {
    background-color: transparent;
    box-shadow: none;
}

.dashboard-darkcards .rz-button.dashboard-category-button:hover {
    background-color: transparent;
    box-shadow: none;
}

.rz-button-md .rzi.dashboard-categorycard-icon {
    color: #ffffff;
    font-size: 50px;
    font-weight:200;
    height: 100%;
    line-height: 100%;
    width: 100%;
}

.filter-list {
    border: none;
}

    .filter-list.rz-listbox:focus, .filter-list.rz-listbox:focus-within {
        outline: none;
        border: none;
        box-shadow: none;
    }

.rz-listbox .rz-multiselect-item {
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 12px;
}
.product-filter-tree {
    width: 100%;
    white-space: break-spaces;
    overflow-x: hidden;
    text-overflow: ellipsis;
}

.placeholder-card {
    background-color: #f7f7f7;
    border-radius: 5px;
    height: 350px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    margin-top: 7px;
}

.skeleton-image {
    width: 100%;
    height: 210px;
    background: linear-gradient(-90deg, #e0e0e0 0%, #f0f0f0 50%, #e0e0e0 100%);
    background-size: 400% 400%;
    animation: shimmer 1.2s ease-in-out infinite;
    border-radius: 6px;
}

.skeleton-image-brand {
    width: 100%;
    height: 100px;
    background: linear-gradient(-90deg, #e0e0e0 0%, #f0f0f0 50%, #e0e0e0 100%);
    background-size: 400% 400%;
    animation: shimmer 1.2s ease-in-out infinite;
    border-radius: 6px;
}

.placeholder-card-brand {
    background-color: #f7f7f7;
    border-radius: 5px;
    height: 150px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    margin-top: 7px;
}

.skeleton-line {
    height: 12px;
    margin-top: 10px;
    background: #e0e0e0;
    border-radius: 4px;
    animation: shimmer 1.2s ease-in-out infinite;
}

    .skeleton-line.short {
        width: 40%;
    }

    .skeleton-line.medium {
        width: 60%;
    }

    .skeleton-line.long {
        width: 80%;
    }

.skeleton-button {
    width: 50%;
    height: 30px;
    background: #e0e0e0;
    border-radius: 6px;
    animation: shimmer 1.2s ease-in-out infinite;
}

.rz-data-list-striped {
    background-color: var(--rz-grid-stripe-odd-background-color);
    border-radius: 5px;
    box-shadow: var(--rz-card-shadow);
}

    .rz-data-list-striped ul:nth-child(even) {
        background-color: var(--rz-grid-stripe-background-color);
    }

    .rz-data-list-striped ul:nth-child(odd) {
        background-color: var(--rz-grid-stripe-odd-background-color);
    }

    .rz-data-list-striped ul:nth-child(1) {
        border-radius: 5px;
    }

.product-detail-preview-image {
    width: 100%;
    max-width: 350px;
    height: 100%;
    max-height: 350px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.product-detail-preview-image-container {
    aspect-ratio: 1;
    border: var( --rz-border-base);
    border-radius: var(--rz-border-radius);
    cursor: pointer;
}

.product-detail-thumb-container {
    overflow-x: auto;
    max-width: 100%;
    margin-top: 1rem
}

.product-detail-thumb-grid {
    display: flex;
    gap: 9px;
    flex-wrap: nowrap;
}

.product-detail-thumb-image-container {
    cursor: pointer;
    padding: 5px;
    border: var(--rz-border-base);
    border-radius: var(--rz-border-radius);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .product-detail-thumb-image-container > img {
        max-width: 40px;
        height: 40px;
        cursor: pointer;
    }


.related-product-container {
        overflow-x: auto;
        max-width: 100%;
    }

.related-product-grid {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
}

.related-product-cell {
    cursor: pointer;
    flex: 0 0 calc((100% - 84px) / 8);
    min-width: 100px;
    max-width: calc((100% - 84px) / 8);
    text-align: center;
    padding: 10px;
    border: var(--rz-border-base);
    border-radius: var(--rz-border-radius);
    background-color: #fff;
}

.related-product-image-container {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

    .related-product-image-container > img {
        max-width: 100%;
        max-height: 100%;
    }

.related-product-text {
    font-size: 10px;
    margin-top: 8px;
    min-height: 3em;
    white-space: normal;
    word-wrap: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


.image-viewer-description {
    display: inline-flex;
    background-color: var(--rz-primary);
    color: white;
    padding-left: 25px;
    padding-right: 25px;
    border-radius: 18px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.image-viewer-thumbnail-box {
    width: 80px;
    height: 80px;
    margin: 10px auto;
    border: var(--rz-border-base);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
    background-color: #ffffff;
}

    .image-viewer-thumbnail-box:hover {
        border-color: var(--rz-secondary);
    }

    .image-viewer-thumbnail-box > img {
        max-width: 80%;
        max-height: 80%;
        object-fit: contain;
    }

.image-viewer-selected-thumbnail {
    border: 2px solid var(--rz-secondary);
}

.inline-notifications {
    border-radius: 10px;
    height: 20px;
    min-width: 20px;
    line-height: 20px;
}

.quote-cart-image {
    width: 100%;
    max-width: 100px;
    padding: 10px;
    border: var(--rz-border-base);
    border-radius: var(--rz-border-radius);
    background-color: #fff;
}

.brand-seperator {
    border-bottom: 1px solid var(--rz-base-500) !important;
    margin-bottom: 1rem;
    color: var(--rz-base-500);
}

/* Quote Status Colors */
.quote-status-draft {
    color: #6c757d;
}

.quote-status-pending {
    color: #fd7e14;
}

.quote-status-quoted {
    color: #198754;
}

.quote-status-accepted {
    color: #0d6efd;
}

.quote-status-rejected {
    color: #dc3545;
}

.quote-status-expired {
    color: #6f42c1;
}

/* Quote Header Card */
.quote-header-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--rz-primary);
}

.quote-info-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
}

.quote-info-value {
    color: #212529;
    margin-bottom: 12px;
}

/* Quote Expiry Warnings */
.expiry-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 8px 12px;
    color: #856404;
}

.expiry-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 8px 12px;
    color: #721c24;
}

/* Quote Cart Styles */
.quote-cart-item {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
}

.quote-price-indicator {
    font-size: 0.875rem;
    color: #6c757d;
}

.not-in-catalogue {
    color: #dc3545;
    font-weight: bold;
}

.catalogue-price {
    color: #198754;
}

/* Mobile Quote Cart Styles */
.mobile-cart-item {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.mobile-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.375rem;
}

.mobile-action-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.mobile-action-buttons .rz-button {
    flex: 1;
    font-size: 0.875rem;
}

/* Quote Mobile Responsive Styles */
.mobile-filter-stack .rz-stack {
    flex-direction: column !important;
    gap: 0.5rem !important;
}

.mobile-filter-stack .rz-stack > * {
    width: 100% !important;
}

.mobile-button-full {
    width: 100% !important;
}

.quote-card-mobile {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.quote-status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

@keyframes shimmer {
    0% {
        background-position: -400px 0;
    }

    100% {
        background-position: 400px 0;
    }
}

/* Orders Page Styles */
.header-hero-card {
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    color: white;
}

.orders-filter-card {
    overflow: hidden;
}



.orders-filter-checkbox-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    margin: 0;
}

.orders-active-filters-card {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.orders-grid .rz-data-row {
    transition: background-color 0.2s ease;
}

.orders-grid .rz-data-row:hover {
    background-color: rgba(0, 120, 212, 0.05);
}

.orders-detail-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
}

.orders-grid .rz-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    font-weight: 600;
}

@media (max-width: 767px) {
    .header-hero-card .rz-text-align-right {
        text-align: left !important;
        margin-top: 1rem;
    }
    
    .orders-grid .rz-datalist-item {
        padding: 0.5rem;
    }
}

/* Favourites Page Styles */

.favourites-info-card {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-left: 4px solid #ffa726;
}

.favourites-grid {
    border-radius: 0.5rem;
    overflow: hidden;
}

.favourites-grid .rz-data-row {
    transition: all 0.2s ease;
    cursor: default;
}

.favourites-grid .rz-data-row:hover {
    background-color: rgba(233, 30, 99, 0.05) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.favourites-card-item {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.favourites-card-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.favourites-image-container {
    width: 80px;
    height: 80px;
    border: 1px solid #eae9ee;
    border-radius: 0.5rem;
    padding: 0.5rem;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.favourites-image-container:hover {
    border-color: #e91e63;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.2);
}

.favourites-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.favourites-product-title {
    font-weight: 600;
    font-size: 1rem;
    color: #212529;
    margin-bottom: 0.25rem;
}

.favourites-product-sku {
    font-size: 0.75rem;
    color: #6c757d;
}

.favourites-product-price {
    font-weight: 700;
    font-size: 1.125rem;
    color: #212529;
}

.favourites-product-uom {
    font-size: 0.75rem;
    color: #6c757d;
}

.favourites-action-button {
    transition: all 0.2s ease;
}

.favourites-action-button:hover {
    transform: scale(1.1);
}

.favourites-add-to-cart-btn {
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.favourites-add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 120, 212, 0.3);
}

.favourites-quantity-input {
    border-radius: 0.375rem;
}

.favourites-empty-state {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #ff9800;
    padding: 2rem;
    text-align: center;
    border-radius: 0.5rem;
}

.favourites-mobile-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.favourites-mobile-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.favourites-stats-icon {
    font-size: 2.5rem;
    color: #e91e63;
    opacity: 0.2;
}

@media (max-width: 767px) {
    .favourites-image-container {
        width: 70px;
        height: 70px;
    }
    
    .favourites-product-title {
        font-size: 0.875rem;
    }
}

@media (min-width: 577px) {
    .dashboard-darkcards .rz-button.dashboard-category-button {
        width: 100%
    }
}













