.dim-effect0 {
    background-color: rgba(31, 21, 20, .43);
    width: 100%;
    display: block;
    position: fixed;
    z-index: -1;
    overflow: hidden;
    top: 60px;
}

.dim-effect-show0 {
    transition: .5s ease-in;
    min-height: 1500px;
}

/* search container if search result is embedded on page */
.r_searchCont {
    --search-green: #00b798;
    --search-dark: #222222;
    --search-gray: #5a5a5a;
    --search-yellow: #ffb600;
    --search-border: #e8ecea;
    --search-bg: #f7faf9;

    position: absolute;
    top: 103px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    min-height: 725px;
    overflow: auto;
    background: var(--search-bg);
    color: var(--search-dark);
    text-align: center;
}

.xSearch {
    position: fixed;
    top: 108px;
    right: 14px;
    z-index: 21;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(34, 34, 34, .12);
    color: var(--search-dark);
    font-size: 2.25rem;
    line-height: 1;
    text-align: center;
}

.xSearch span {
    display: block;
    margin-top: -4px;
    font-weight: bold;
    cursor: pointer;
}

.wait-search {
    min-height: 500px;
    /*background-image: url(https://assets.apliiq.com/images/loading-modal.gif);
    background-repeat: no-repeat;
    background-position: center;*/
}

/* remove wait-search min height if embedded on page */
.r_searchCont .wait-search {
    min-height: 0;
}

.wait-search span.toWait {
    margin-top: 200px;
}

.g-searchLayout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(1180px, calc(100% - 24px));
    margin: 0 auto;
    padding: 22px 0 48px;
}

.g-xsearchShell1,
.g-searchRes {
    min-width: 0;
}

.g-xsearchShell1 {
    order: 1;
}

.g-searchRes {
    order: 2;
    width: 100%;
    margin: 0 auto;
    padding: 18px;
    border: 1px solid var(--search-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(34, 34, 34, .07);
    text-align: left;
}

.g-resultheader {
    margin: 0 0 16px;
    padding: 18px;
    border: 1px solid var(--search-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(34, 34, 34, .06);
}

.g-resulttitle {
    display: block;
    margin: 0 0 12px;
    color: var(--search-dark);
    font-size: clamp(1.35rem, 4vw, 2.25rem);
    line-height: 1.12;
    letter-spacing: -.03em;
}

.g-searchTerm {
    display: inline-block;
    padding: 2px 10px 4px;
    border-radius: 999px;
    background: rgba(0, 183, 152, .1);
    color: var(--search-green);
    white-space: nowrap;
}

.g-xsearchRes-c,
.g-azsearch-c {
    color: var(--search-gray);
    font-size: .9rem;
    line-height: 1.4;
}

.g-xsearchRes-c > div,
.g-azsearch-c > div {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.g-next-s,
.g-prev-s,
.g-previous-s {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid var(--search-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--search-dark);
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.g-next-s:hover,
.g-prev-s:hover,
.g-previous-s:hover {
    border-color: var(--search-green);
    color: var(--search-green);
    box-shadow: 0 8px 18px rgba(0, 183, 152, .14);
    transform: translateY(-1px);
}

.g-xsearchRes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    padding-bottom: 0;
}

.g-basebox {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    min-height: 100%;
    height: auto;
    float: none;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--search-border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(34, 34, 34, .06);
    z-index: inherit;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.g-basebox:hover {
    border-color: rgba(0, 183, 152, .38);
    box-shadow: 0 18px 36px rgba(34, 34, 34, .12);
    transform: translateY(-3px);
}

.g-sr-pimg {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f7f6 100%);
}

.g-baseboxImg {
    width: 100%;
    max-width: 170px;
    min-width: 0;
    max-height: 100%;
    object-fit: contain;
    transition: transform .18s ease;
}

.g-basebox:hover .g-baseboxImg {
    transform: scale(1.035);
}

.g-baseboxName {
    display: block !important;
    width: 100%;
    padding: 14px 14px 4px;
    color: var(--search-dark);
    font-size: .94rem !important;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
}

.g-baseboxSupplier {
    padding: 0 14px;
    color: var(--search-gray);
    font-size: .78rem;
    line-height: 1.35;
    text-align: left;
}

.g-baseboxColor {
    min-height: 8px;
}

.g-priceRange {
    position: static;
    align-self: flex-start;
    margin: auto 14px 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 182, 0, .16);
    color: var(--search-dark);
    font-size: .76rem;
    font-weight: 800;
    line-height: 1;
}

.g-azsearch-l {
    display: block;
    margin: 0 0 10px;
    color: var(--search-dark);
    font-size: 1.12rem;
    line-height: 1.33;
    letter-spacing: -.02em;
}

.g-azsearch-c {
    margin-bottom: 12px;
}

.g-azsearch-r {
    display: grid;
    gap: 8px;
    width: 100%;
    margin: 12px 0 0;
    padding: 0;
}

.g-azsearch-r li {
    list-style-type: none;
    padding: 0;
}

.g-lnk-url {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--search-border);
    border-radius: 14px;
    background: #f9fbfa;
    color: var(--search-dark);
    font-size: .9rem !important;
    font-weight: 700;
    line-height: 1.25rem !important;
    text-align: left;
    text-decoration: none;
    transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}

.g-lnk-url:hover {
    border-color: rgba(0, 183, 152, .45);
    background: rgba(0, 183, 152, .08);
    color: var(--search-green);
    transform: translateX(2px);
}

.g-xsearchRes-nsf,
.g-azsearch-nsf {
    display: block;
    padding: 20px;
    color: var(--search-gray);
    font-weight: 700;
}

.g-fullview {
    width: 100%;
}

@media screen and (min-width: 560px) {
    .g-searchLayout {
        width: min(1180px, calc(100% - 36px));
        gap: 22px;
    }

    .g-xsearchRes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

@media screen and (min-width: 768px) {
    .g-searchLayout {
        grid-template-columns: minmax(0, 1fr) 280px;
        align-items: start;
        padding-top: 30px;
    }

    .g-xsearchShell1 {
        order: 1;
        width: auto;
        float: none;
        margin-top: 0;
    }

    .g-searchRes {
        order: 2;
        position: sticky;
        top: 84px;
        width: auto;
        float: none;
        margin: 0;
    }

    .g-xsearchRes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: none;
        width: 100%;
    }

    .g-azsearch-c {
        overflow: visible;
    }
}

@media screen and (min-width: 1024px) {
    .r_searchCont {
        top: 60px;
    }

    .xSearch {
        top: 72px;
    }

    .g-searchLayout {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 28px;
        width: min(1240px, calc(100% - 48px));
    }

    .g-xsearchRes {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .g-baseboxName {
        font-size: .9rem !important;
    }

    .g-baseboxSupplier {
        font-size: .76rem;
    }
}

@media screen and (min-width: 1280px) {
    .g-xsearchRes {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
