main {
    display: inline-flex;
    gap: 1rem;
    width: 100%;
    text-align: right;
    max-width: 1280px;
    position: relative;
    /*border-bottom: 1px solid red;*/
    /* align-items: stretch; */
}

amain > .container-fluid {
    min-height: unset;
    padding: 0;
    text-align: center;
}

.container-fluid > nav {
    background: none !important;
}


.side-prod {
    padding-left: 1rem;
    position: relative;
}

    .side-prod .prod {
        overflow: auto;
        height: 100%;
        padding-bottom: 0;
    }

    .summary::-webkit-scrollbar,
    .results::-webkit-scrollbar,
    .side-menu .tab-content::-webkit-scrollbar,
    .side-prod::-webkit-scrollbar {
        width: 0px;
        height: 0px;
    }

.summary::-webkit-scrollbar {
    width: 3px;
}

/*.side-menu > .abs-end {
    display: flex;
    top: 22px;
    z-index: 1021;
    align-items: center;
}

    .side-menu > .abs-end > * {
        position: relative !important;
    }
*/

#saveuser-sec{
    margin-bottom:1rem;
}
header {
    margin: 0;
}


.side-prod:not(:empty) {
    /* border-right: 1px solid var(--color-border); */
    /* padding-right: 1.5rem; */
    box-shadow: 3px -3px 10px rgb(0 0 0 / 15%);
}

.side-prod section {
    padding: 2rem 2rem;
}

.results,
.price-chart-vert {
    padding: 0 0.5rem 5rem;
}

.tab-head {
    display: flex;
    align-items: center;
    margin: 1px 0 0.5rem;
    /*background: #f4f4f4;*/
    padding: 10px 1rem;
}

    .tab-head input {
        font-size: 12px;
        /*border:none;*/
        max-width: 7rem;
    }

    .tab-head .custom-switch {
        /* padding: 0; */
    }

button#toggleSideMenu {
    border: 1px solid #ced4da;
    background: white;
    padding: 5px 8px;
    color: black;
    font-size: 14px;
}

    button#toggleSideMenu i {
        font-size: 14px;
    }

    button#toggleSideMenu:hover {
        background: var(--color-link);
    }

.results h5 {
    position: sticky;
    top: 6px;
    z-index: 18;
    font-size: 16px;
    padding: .5rem 0.5rem .5rem;
    display: inline-flex;
    margin-bottom: 1rem;
    margin: 0 -.75rem 1rem;
    border-top-left-radius: 6px;
    box-shadow: 0px 2px 0px 0px #b8b8e9;
    border-bottom-left-radius: 6px;
    background: #eeeefd;
}

.results div + h5 {
    margin-top: 3rem;
}


.results a + h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.results .alter + h4 {
    margin-top: 2rem;
}


.results .group + .group {
    margin-top: 3rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

.results h4 {
    font-size: 20px;
    margin-bottom: 0;
    color: var(--color-accent);
}

.results .group-content h4 {
    margin-bottom: 1rem;
}

.results .group-content h1 {
    margin: 0;
    font-size: 30px;
}

.group-content .group-head {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    line-height: 1;
    align-items: baseline;
}

    .group-content .group-head > * {
        line-height: 1;
        white-space: nowrap;
    }



.res-p,
.results .group > p {
    line-height: 1.2;
    margin-top: 2px;
    font-size: 0.9em;
    color: gray;
}

.group > .box {
    /* margin-bottom: 1.5rem; */
}

section {
    /* margin-bottom: 0; */
}


.group-content {
    background: none !important;
}

.res-head {
    margin-top: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

    .res-head .btn {
        display: flex;
        font-size: 14px;
        padding: 5px .5rem;
        background: white;
        border: 1px solid #ced4da;
        align-items: center;
    }

        .res-head .btn:hover {
            background: var(--color-link);
            color: white;
        }

        .res-head .btn i {
            font-size: 0.9em;
        }

    .res-head input,
    [name="SortBy"] {
        font-size: 14px;
        padding: 5px 5px;
        line-height: 1;
        height: 100%;
    }

.sort-by {
    display: flex;
    gap: 5px;
    align-items: center;
    white-space: nowrap;
}

    .sort-by label {
        font-size: 14px;
        color: gray;
    }

#filterRes {
    width: 7rem;
}

.vpm,
.trn {
    display: none;
}





#above-budget {
    /* opacity: 0.6; */
    /* color: red; */
    background: #fff6f6;
    /* border-bottom: 1px solid #e59698; */
    box-shadow: 0px 2px 0px 0px #efbaba;
}

.results .filtered-out:not(:hover) {
    opacity: 0.7;
    /* box-shadow: none !important; */
}

/*.above-budget .price {
    color: #ff0e00 !important;
}*/
/*#region side-placeholder */
.side-placeholder {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: gray;
    gap: 1rem;
    text-align: center;
}

    .side-placeholder p {
        margin: 0;
    }

    .side-placeholder .altr-name {
        justify-content: center;
    }

    .side-placeholder .alter-sku {
        font-size: 0.8em;
        margin-top: 3px;
    }
/*#endregion */
/*#region Leaing Item */
.alter .item-content .details > div:first-child {
    flex-direction: column;
    gap: 0;
}

.alter .price-wrap {
    /* text-align: left; */
    /* position:absolute; */
    /* bottom:0; */
    /* left:0; */
}

.item.leading .alter .card-img {
    font-size: 2.5rem;
    position: relative;
}

.item.leading .score-box.ball {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
}
/*.results .leading .item-content > div > div:first-child {
    display:block;
}*/

.results .leading .price * {
    /* font-weight: normal; */
}
/*#endregion */

/*#region chart vert */
.price-chart-vert > div {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: .5rem;
    background: #d3d3f1;
    border-top-left-radius: 27px;
    border-bottom-left-radius: 26px;
}

    .price-chart-vert > div:hover {
        cursor: pointer;
    }

    .price-chart-vert > div .card-img {
        height: 2.1rem;
        padding: 5px;
        width: 2.1rem;
        text-align: center;
        background: white;
        margin: 1px;
        margin-left: 11px;
    }

    .price-chart-vert > div img {
        height: 100%;
    }

    .price-chart-vert > div > span {
        left: -5rem;
        display: none;
        position: absolute;
    }

    .price-chart-vert > div label {
        flex: 1;
        font-size: 13px;
        line-height: 1.2;
        margin-left: 6px;
        padding-right: 2px;
        cursor: pointer;
    }

        .price-chart-vert > div label > span {
            display: block;
            font-size: 0.9em;
        }

    .price-chart-vert > div:not(:hover) label > span {
        color: #595978;
    }

    .price-chart-vert > div .valPerMoney {
        /* display: none; */
        left: -2rem;
    }

.price-chart-vert .score-box.ball {
    margin-left: 0.4rem;
}

    .price-chart-vert .score-box.ball .outer {
        font-size: 1.5rem !important;
        /* outline: 2px solid #d3d3f1; */
    }

.price-chart-vert .selected,
.price-chart-vert > div:hover {
    cursor: pointer;
    background: #a1a1db;
}

.price-chart-vert > div:not(:hover) label > span {
    color: var(--color-primary-dark);
    font-weight: 500;
}

/*#endregion */

/*#region CARD */



.results .alter {
    /* display: flex; */
    position: relative;
    margin-bottom: 1rem;
    border-radius: 6px;
    /* max-width: 33rem; */
    /* border: 1px solid #D3D5FF; */
    background: #FFF;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
    color: initial;
    align-items: stretch;
    /* overflow: hidden; */
    /* max-width: 30rem; */
}

    .results .alter .item-content a:not(.btn):not(.recomand) {
        text-decoration: none !important;
        color: initial;
    }


.results .item:hover,
.results .item.active {
    background: #e1e1ff;
    background: linear-gradient(90deg, #e8e8ff 16%, white);
    /* color: white; */
}

.results .alter > a:first-child {
    flex: 1;
}

.results .alter > a:not(.recomand) {
    color: black;
    text-decoration: none;
    padding: 0;
    display: block;
}

.group-content a.recomand {
    display: block;
    text-decoration: none;
}

    .group-content a.recomand:hover {
        color: white;
    }

.alter > .compare-btn {
    background: #fac;
    display: inline-flex;
    opacity: 0.9;
    align-items: center;
    font-size: 0.9em;
    padding: 0 7px;
    transition: all 0.3s ease-in-out;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    max-width: 4rem;
    text-align: center;
    line-height: 1.2;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
}

.alter .actions {
    display: flex !important;
    padding: 0 1rem .5rem;
    gap: 1rem;
    /*justify-content: flex-end;*/
    border-top: 1px solid var(--color-border);
    padding-top: .5rem;
    font-size: 0.9em;
}

    .alter .actions a {
        color: #4b4b4b;
    }


.results .active .price {
    /*color: white;*/
}

.results .item-content {
    /* display: flex; */
    align-items: stretch;
}

.results .item-content {
    width: 100%;
    gap: 5px;
}

    .results .item-content > span {
        display: none;
    }

.results .card-side {
    text-align: center;
}

.add-to-com {
    font-size: 12px;
    padding: 2px 5px;
}

.results .add-to-com.selected {
    background: var(--color-accent);
    border-color: var(--color-accent) !important;
    !i;
    !;
}

.results .group-content .alter .card-img {
    height: 2.1em;
    padding: 02px;
    width: 2.1em;
    display: inline-flex;
    text-align: center;
    background: white;
    margin: 1px;
    font-size: 2rem;
    /* margin-left: 11px; */
    align-items: center;
    justify-content: center;
}


.results .alter img {
    max-height: 100%;
    max-width: 100%;
}

.results .details > div > label,
.score-bar,
.results .details {
    flex: 1;
}

    .results .details h6 {
        font-weight: normal;
        font-size: 12px;
        margin: 0;
        color: gray;
        margin-top: 5px;
        margin-bottom: 0.2rem;
    }



.results .details {
    padding: 4px 0 0;
    /* height: 100%; */
    gap: 0;
    display: flex;
    flex-direction: column;
}

    .results .details a {
        color: black;
    }

.results .bottom > div:not(.card-vendors) {
    display: flex;
    gap: .5rem;
    font-size: 16px;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    align-items: center;

}

.results .bottom .bar-row {
    margin-top: 3px;
}

.results .item-content .details > div:first-child {
    /* align-items: center; */
    line-height: 1;
    flex: 1 1 100%;
    /* min-height: 2.2rem; */
    position: relative;
    /* align-items: baseline; */
}


.results .bottom {
    align-items: baseline;
    /* margin-top: 4px; */
    /* flex-direction: row-reverse; */
}



.results .score {
    font-size: 0.8em;
    /* width: 13.2em; */
    flex: 0 0 3.2em;
}

    .results .score b {
        background: #DFE0FE;
        padding: 1px 5px;
        display: block;
        font-size: 12px;
        text-align: center;
        font-weight: 500;
        /* text-decoration: none; */
        text-shadow: 0px 0px 4px rgb(0 0 0 / 75%);
        color: #ffffff;
        border-radius: 4px;
    }

.results .item-content label {
    flex: 1;
    font-size: 0.9em;
    line-height: 1.2;
    /* margin-left: 6px; */
    /* font-weight: 500; */
    /* padding-right: 2px; */
    cursor: pointer;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
}

.results .item-content-content label > span {
    display: block;
    font-size: 0.9em;
}

.results .item-content:not(:hover) label > span {
    color: #595978;
}

.results .item-content .valPerMoney {
    /* display: none; */
    left: -2rem;
}

.results .item-content .altr-name {
    /* flex-direction: column; */
    gap: 5px 0;
    flex-wrap: wrap;
    align-items: baseline;
}

    .results .item-content .altr-name > span:first-child {
        flex: 1 1 100%;
    }

.results .item-content .altr-variant {
    /* font-size: 16px; */
    /* font-weight: 500; */
}

.results .item-content .alter-sku {
    flex: unset;
    font-weight: normal;
}

    .results .item-content .alter-sku:before {
        content: '|';
        padding: 2px 5px;
        color: lightgray;
    }


.results .score-box.ball {
    /* margin-left: 0.4rem; */
}

    .results .score-box.ball .outer {
        /* font-size: 1.5rem !important; */
        /* outline: 2px solid #d3d3f1; */
    }

.results .selected {
    /* cursor: pointer; */
    /* outline: 1px solid #ff9dcf; */
    /* box-shadow: 0px 0px 6px 2px rgb(128 129 229 / 60%); */
    /* background: var(--color-accent-light); */
}

    .results .selected:before {
        /* content: ''; */
        width: 5px;
        height: 100%;
        top: 0;
        left: 0;
        position: absolute;
        background: var(--color-accent);
        border-radius: 10px;
    }




.results .item-content:not(:hover) label > span {
    color: black; /* var(--color-primary-dark);*/
    font-weight: 500;
}

.results .price {
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
    font-weight: 500;
    /* color: var(--color-primary-dark); */
}

.price-wrap {
    /* display: flex; */
    line-height: 1;
    /* flex-direction: column; */
}

    .price-wrap span:first-child {
        font-size: 12px;
        font-weight: normal;
        color: gray;
    }

.ic {
    width: .75rem;
}

.card-menu {
    position: absolute;
    left: 0;
    text-align: center;
    /* background: red; */
    top: 0px;
    height: 2rem;
    width: 2rem;
    line-height: 2rem;
    z-index: 1;
    cursor: pointer;
}

    .card-menu .add-compare i,
    .card-menu .compare-lead i {
        position: relative;
    }

        .card-menu .add-compare i::after,
        .card-menu .compare-lead i::after {
            /*small add icon on bottom left */

            font-size: 0.75em;
            color: var(--color-link);
            position: absolute;
            bottom: -.35em;
            left: -.35em;
            /*text border*/
            text-shadow: 0 0 3px white;
        }

        .card-menu .compare-lead i::after {
            content: "\f091";
        }

        .card-menu .add-compare i::after {
            content: "\f055";
            background: white;
        }

.score-bar {
    border-radius: 3px;
    background: white;
    height: 7px;
    padding: 0 !important;
    /* max-width: 15rem; */
    flex: 1;
    position: relative;
}

    .score-bar > div {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 0;
        transition: width 1.5s ease; /* Animate the width over 1.5 seconds */
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
    }



    .score-bar + div {
        font-size: 0.9em;
    }

        .score-bar + div .unit {
            font-size: 0.9em;
        }

[data-width],
.score .outer {
    transition: width 1.5s ease, background-color 1.5s ease;
}

.results .no-results {
    color: gray;
    display: flex;
    padding: 1rem .5rem;
    margin: 1rem 0 2rem;
    background: white;
    align-items: center;
    justify-content: center;
}

    .results .no-results p {
        line-height: 1.2;
        margin-top: 2px;
        font-size: 0.9em;
        color: gray;
    }


/*#endregion */

/*#region filter-tags */


.filter-tags {
    /* display: block; */
    border-bottom: 1px solid #f0f0ff;
    padding: .5rem 0 1rem;
    gap: .75rem;
    margin-bottom: 0;
}

    .filter-tags > ul {
        display: flex;
        gap: 5px;
        /* flex-wrap: wrap; */
    }

    .filter-tags::-webkit-scrollbar {
        display: none;
    }

    .filter-tags li {
        padding: 5px 0.5rem 5px 4px;
        margin: 0;
    }

        .filter-tags li > div {
            white-space: nowrap;
        }

        .filter-tags li button.btn {
            font-size: 10px;
            height: 1.3em;
        }


    .filter-tags > label {
        /* font-weight: normal; */
        /* margin-bottom: .5rem; */
        /* display: none; */
        font-size: 14px;
        color: gray;
    }

    .filter-tags .price-filter {
        display: flex;
    }
/*#endregion */

/*#region place */
.place {
    display: inline-block;
}

.results .place {
    font-size: 12px;
    margin-bottom: 0;
    margin-top: 0;
    /* flex: 0 0 2rem; */
    /*background: red;*/
    /* width: 1.5em; */
    /* height: 1.5em; */
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inshort-icon,
.results .place {
    position: absolute;
    right: 5px;
    /* margin: 1px; */
    top: 6px;
    z-index: 1;
}

.inshort-icon {
    color: var(--color-accent);
    margin: 1px;
    font-size: 18px;
    text-shadow: 0 0 4px var(--color-accent);
}
/*#endregion */

/*#region best */
.best {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 35rem;
}

    .best > .alter {
        flex-direction: row;
        font-size: 1rem;
        padding: .5rem;
        border: none;
        border-radius: 6px;
        box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
        color: black;
    }

    .best .alter img {
        width: 5rem;
    }

.alter h2 {
    font-size: 15px;
    gap: 5px;
    color:black;
    /* display: flex; */
    /* flex-direction: row-reverse; */
    margin: 0;
    justify-content: space-between;
    align-items: flex-start;
}

.alter h4 {
    font-size: 15px;
    margin: 0 !important;
    padding:0;
}

.alter .price {
    justify-content: flex-start;
}

.best .alter .rect {
    position: absolute;
    top: 0;
    right: 0;
    margin: .5rem;
}

.alter .card-img {
    padding: 0;
    padding-left: 0;
    width: unset;
}


.best .next .compare .alter {
    text-align: center;
}

.best .next .diffs .alter img {
    font-size: 3rem !important;
}

.best .next .diffs .alter .card-body h3 {
    font-size: 14px;
}

.best .next .alter .card-img {
    padding: 0rem;
}

.best .next .diffs.grid .line {
    grid-template-columns: repeat(3, 1fr);
}

.best .compare .diffs .consd-card .consd-title {
    flex-wrap: wrap;
    justify-content: flex-start !important;
}

.best .next .diffs > h3 {
    margin-top: 1.5rem;
    margin-bottom: .5rem;
    text-align: right;
    /*padding-left: 5rem;*/
}

.best .next .diffs .price {
    text-align: center;
    font-size: 14px;
}


.dynColWrap .pre {
    white-space: pre-wrap;
    max-width: 35vw;
    display: inline-block;
}
/*#endregion */

/*#region compare */
.compare > p {
    display: none;
}

.compare h1 {
    margin-bottom: 2rem;
}

.diffs.grid .line.header {
    top: -1rem;
}

.consd-title + i {
    display: none;
}

.close-compare {
    position: fixed;
    top: 48px;
    z-index: 22;
    /* background: white; */
    right: -1.8rem;
    margin: 1rem .5rem;
    /* border-radius: 4px !important; */
    /* width: 1.5rem !important; */
}

.side-prod.show .close-compare {
    right: 4px;
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid #ced4da;
    background: white;
    padding: 2px 8px;
    color: black;
    font-size: 14px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

    .side-prod.show .close-compare i::before {
        /* content: "\f104"; */
    }


/*#endregion */

/*#region compare line info */
.compare .line-info {
    padding-top: 0;
    min-height: unset;
}

.compare .line:not(.selected) + .line-info {
    display: none;
}

.compare .line-info .side-consd .nav-tabs {
    margin-top: -1px;
}

/*#endregion */

/*#region summary */
.summary {
    margin: 0 auto;
    max-width: 50rem;
}

    .summary .msg > div {
        max-width: 100%;
    }

    .summary .alter img {
        width: 3.5rem;
    }

    .summary .in-words,
    .summary .msg-alter ~ * {
        max-width: 30rem;
    }

.point-item {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
    align-items: baseline;
}

    .point-item > :first-child {
        width: 1rem;
    }

.summary .msg-alter > .alter {
    /*padding:0 .5rem;*/
}

.summary.best .alter .card-img {
    padding: 0;
}

.summary.best .alter .place {
    font-size: 12px;
}

.summary.best .alter .altr-name {
    /*so wonr break name*/
    display: inline-block;
}

    .summary.best .alter .altr-name .altr-variant {
        display: block;
        font-size: 0.9em;
    }

.summary .msg-alter .alter {
    margin-bottom: .5rem;
}

.summary .msg > div > a {
    display: inline-block;
    /* margin: 0.3rem 0; */
    margin: 0;
}

.summary .no-results {
    margin: 0;
}

    .summary .no-results .filter-tags > label {
        display: none;
    }

    .summary .no-results .filter-tags > ul {
        display: flex;
        flex-wrap: wrap;
        gap: .5rem;
        align-items: center;
        margin-top: 5px;
    }

    .summary .no-results .filter-tags ul li {
        padding: 5px;
        margin: 0;
    }

        .summary .no-results .filter-tags ul li button {
            padding: 0;
            font-size: 13px;
        }
/*#endregion */

/*#region bot-wrap  */

#bot-wrap {
    position: fixed;
    direction: rtl;
    display: flex;
    flex-direction: column;
    text-align: right;
    bottom: 0px;
    z-index: 19;
    max-width: 95vw;
    border: none;
    left: 3vw;
    transition: 0.3s;
    height: calc(100% - 10vh);
    max-height: 670px !important;
    width: 350px;
    background: white;
    border-radius: 8px 8px 0px 0;
    box-shadow: 0 12px 28px 0 rgba(0,0,0,0.2), 0 2px 4px 0 rgba(0,0,0,0.1);
}

    #bot-wrap:not(.show) {
        transform: translate(0,calc(100% - 2.5rem));
    }

#bot-header {
    display: flex;
    align-items: center;
    border-radius: 8px 8px 0px 0;
    background: VAR(--color-link);
    padding: .5rem .75rem;
    cursor: pointer;
}

    #bot-header > :first-child {
        flex: 1;
        /* font-size: 1.1em; */
        /* font-weight: bold; */
    }

    #bot-header,
    #bot-header i {
        color: white !important;
    }


        #bot-header .btn-icon {
            font-size: 14px;
        }

#bot-wrap .msg > div {
    /* font-size: 16px; */
    line-height: 1.2;
}

#bot-wrap h2 {
    display: none;
}

#bot-wrap .summary {
    padding: 1rem;
    max-width: 100%;
    overflow: auto;
}

    #bot-wrap .summary .msg-alter .alter {
        width: 100%;
        gap: 11px;
    }

#bot-wrap:not(.show) .close-bot i:before {
    content: "\f106";
}

#bot-wrap .chat-box {
    padding: 0.75rem 1rem;
}
/*#endregion */

/*#region compare-bar */
.compare-bar {
    position: absolute;
    bottom: 0;
    width: 100%;
    max-width: 30rem;
    background: #8081e5de;
    padding: 0.75rem 1rem;
    /*use transtion to slide from bottom to top*/
    transition: transform 0.3s;
    transform: translateY(100%);
    z-index: 1;
    /*display: flex;*/
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem 0.5rem 0 0;
    color: white;
}

    .compare-bar.show {
        transform: translateY(0);
    }
    /*   .compare-bar:not(.show){
        display:none;

    }*/

    .compare-bar > div {
        display: flex;
        width: 100%;
    }

    .compare-bar ul {
        display: flex;
        gap: .5rem;
        margin: 0;
        flex: 0 0 calc(100% - 5rem) !important;
    }

    .compare-bar li {
        display: flex;
        position: relative;
        border-radius: 3px;
        gap: 3px;
        padding: 0 3px;
        background: #FFF;
        /*box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);*/
        color: initial;
        flex: 1 1 50%;
        align-items: center;
        overflow: hidden;
    }

        .compare-bar li:empty {
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }

            .compare-bar li:empty::after {
                content: '+';
                font-size: 1.5rem;
                color: var(--color-link);
                font-weight: bold;
            }

        .compare-bar li .card-img {
        }

        .compare-bar li img {
            max-height: 2rem;
            max-width: 2rem;
        }

        .compare-bar li label {
            font-size: 12px;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2; /* Limit to 2 lines */
            overflow: hidden;
            text-overflow: ellipsis;
            flex: 1;
            /* max-width: 4.4rem; */
        }

    .compare-bar button:disabled {
        opacity: 1;
        background-color: #8b8b8b;
        color: #dfdfdf;
    }

    .compare-bar li i {
        position: absolute;
        font-size: 14px;
        left: 0;
        top: 0;
        margin: 3px;
        color: var(--color-link);
    }


.alter-drop {
    transition: transform 0.3s;
    /*transform: translateY(100%);*/
}

    .alter-drop:not(.show) {
        display: none;
    }

.compare-bar app-select *,
.select2-container {
    font-size: 14px !important;
}

.compare-bar app-select {
    margin-bottom: .5rem;
}

.select2-container--default .select2-results__option {
    padding: 5px;
}

.select2-container--default .select2-selection--single {
    padding: 5px;
    height: 2rem;
}


/*#endregion */

/*#region compare-to */

.compare-cards {
    overflow: auto;
    display: flex;
    gap: 0.75rem;
    /* margin-top:1rem; */
    padding: 1rem 3px 1rem;
    /* justify-content: space-evenly; */
}

    .compare-cards .card {
        flex: 0 0 16rem;
        min-width: 11rem;
        padding: 0 0 0;
        margin-bottom: .75rem;
        order: 2;
        background: #fdfdff;
        background: white;
        box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15);
        border: 1px solid #f0f0ff;
        border-radius: 8px;
    }

        .compare-cards .card.leading {
            /* outline: 2px solid #f9ad0e; */
        }

        .compare-cards .card > a .item-content {
            height: 100%;
            text-decoration: none;
            gap: 0.75rem;
            color: black;
        }

        .compare-cards .card,
        .compare-cards .card > a .item-content {
            display: flex;
            flex-direction: column;
            /* justify-content: space-between; */
            /* gap: 0.75rem; */
            align-items: center;
            margin: 0;
        }


            .compare-cards .card .card-img {
                max-width: 100%;
                flex: unset;
                text-align: center;
            }

                .compare-cards .card .card-img img {
                    height: 13rem;
                    max-width: 100%;
                    object-fit: contain;
                }

            /*.compare-cards .card .price,*/
            .compare-cards .card h3 {
                font-size: 16px;
                text-align: center;
                color: black;
                /* margin: 0; */
                justify-content: center;
            }

            .compare-cards .card .price {
                /* font-size: 16px; */
            }




    .compare-cards .altr-name {
        justify-content: center;
        flex-direction: column;
    }

    .compare-cards .alter .score-box {
        /* font-size: 14px; */
        /* bottom: -6px; */
        /* top: unset; */
        /* font-weight: 500; */
        /* left: 20px; */
        /* right: unset; */
        /* margin: 0; */
    }

        .compare-cards .alter .score-box .outer {
            width: unset;
            height: unset;
            /* line-height: 2; */
        }

    .compare-cards .score-box.rect .val:after {
        /* content: ''; */
        font-size: 0.7em;
    }

    .compare-cards .score-box.rect .val {
        font-size: 16px;
        display: flex;
        gap: 2px;
        padding: 2px 5px;
        align-items: baseline;
        justify-content: center;
    }

.alter .card-body {
    padding: 0;
    flex: 1;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: space-around;
}

.compare-cards .altr-variant {
    font-size: 0.9em;
}

.compare-cards .main-techs,
.compare-cards .card-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.compare-cards .main-techs {
    margin-bottom: .5rem;
}

.compare-cards .card-bottom .btn {
    padding: 3px 1rem;
    font-size: 14px;
}


.compare-cards .bottom .score-bar {
    flex: 1 1 100%;
}



.compare-cards .alter-sku {
    font-weight: normal;
}
/*#endregion */

/*#region shortlist */
#shortlist {
    background: #e8e8ff;
    padding: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}
/*#endregion */


/*#region alter variants */
/*.variants > div,*/
.variants {
    /*display: flex;
    gap: 5px;
    align-items: baseline;*/
    /* font-size: 13px; */
}

    .variants table {
        width: 100%;
    }

        .variants table tr th:first-child {
            width: 40%;
        }

    .variants .varnt-head {
    }

.variants {
    padding: .5rem .5rem;
    width: 100%;
    /* background: #f9f9ff; */
}

    .variants th,
    .variants label {
        font-size: 12px;
        font-weight: normal;
        line-height: 1;
        color: gray;
        flex: 0 0 3rem;
    }

    .variants tr td .score {
        margin-right: auto;
    }

    .variants > div {
        flex: 1;
        flex-wrap: wrap;
    }

    .variants .varnt-head, .variants .alter > a {
        /* gap: 5px; */
        /* align-items: flex-end; */
        /* display: grid; */
        /* grid-template-columns: auto 7em 7.2em; */
    }

    .variants .alter > a {
        /*background: #ddddff;*/
        text-decoration: none;
        /*;text-decoration: n;; color: black; */
        border-radius: 6px;
        padding: 5px 0;
        /* display:inline-flex;*/
    }

    .variants a > div {
        text-decoration: underline;
    }

    .variants td > span {
        color: black;
        display: inline-flex;
        gap: 3px;
        align-items: center;
    }

    .variants a .unit {
        font-size: 0.9em;
        /* color: var(--color-accent); */
    }

    .variants td .v-price {
    }

    .variants td i.fa.round {
        font-size: 8px;
    }




.item-content .details a {
    text-decoration: none;
    font-size: 14px;
    margin-bottom: .5rem;
}

.item-content .details a {
    border-top: 1px solid #f0f0ff;
    padding-top: .5rem;
}

.vrnt-top {
    display: flex;
    justify-content: space-between;
}
/*#endregion */

/*#region .variants-tags */

.results .bottom > div.variants-tags {
    display: flex;
    justify-content: normal;
    font-size: 13px;
    gap: 3px 3px;
    margin-bottom: .5rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}

.results .compare-cards .bottom > div.variants-tags {
    justify-content: center;
}

.variants-tags {
    display: flex;
    gap: 5px;
    /* font-size: 13px; */
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

    .variants-tags > * + * {
        display: inline-flex;
        align-items: center;
        gap: 2px;
    }

    .variants-tags > * {
        border: 1px solid #e8e9ff;
        padding: 0px 4px;
        font-size: 13px;
        border-radius: 3px;
        display: flex;
        justify-content: space-between;
        font-weight: normal;
        align-items: center;
    }


    .variants-tags .s {
        /* font-weight: 500; */
        background: #eeeeff;
        border-color: transparent;
    }

    .variants-tags > *:not(.s) {
        color: gray;
    }

    .variants-tags > *:hover {
        background: var(--color-link);
        color: white !important;
    }
/*#endregion */

/*#region group-model */
.group-model {
    background: #dbdbff;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 7px;
    margin: 1rem 0.75rem 0rem;
}

    .group-model h3 {
        font-size: 16px;
        margin: 0;
        font-weight: 500;
    }

    .group-model .variants {
        padding: 4px 5px;
        background: none;
        display: flex;
        overflow: auto;
        gap: 1rem;
        /* width: calc(100% + 4rem); */
        /* margin: 0 -1.8rem; */
        align-items: flex-end;
    }

        .group-model .variants .alter {
            flex: 0 0 25rem;
            max-width: 93vw;
        }

    .group-model .alter a * {
        text-decoration: none;
    }

    .group-model .main-techs {
        margin-top: 5px;
    }

    .group-model .head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.3rem;
    }

        .group-model .head .btn,
        .group-model .head .slide-nav {
            font-size: 14px;
            font-weight: 500;
            background: #b5b6ff;
            /* color: white; */
            padding: 0 5px;
            border-radius: 4px;
        }



    .group-model .altr-name {
        flex-wrap: nowrap !important;
    }

        .group-model .altr-name > * {
            flex: unset !important;
        }

.results .group-model .alter-sku {
    /*font-size: 14px !important;*/
    color: black;
    font-weight: 500;
}

.results .item-content .alter-sku + .altr-variant {
    font-size: 14px;
    font-weight: normal;
}


.group-model .alter a .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.group-model.vert .variants {
    display: block;
}

.group-model.vert .slide-nav {
    display: none;
}


@media (max-width: 767px) {
    .group-model {
        padding: .75rem;
    }

        .group-model .variants::-webkit-scrollbar {
            display: none;
        }
}
/*#endregion */


/*#region score-price */

.group-model .alter .bottom {
    justify-content: flex-end;
    display: flex;
}

.results .bottom > div.score-price {
    display: flex;
    justify-content: flex-end;
    gap: 0;
    margin-top: .5rem;
}

.kpi > div {
    display: flex;
    /* padding: 3px 5px 2px; */
    gap: 2px;
    /* color: white; */
    align-items: flex-end;
    justify-content: center;
}

.kpi > * {
    line-height: 1.2;
}

.kpi .label {
    font-size: 12px !important;
    color: inherit !important;
    font-weight: normal;
}

.kpi .unit {
    font-size: 12px !important;
    font-weight: normal;
}

.kpi .val {
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1;
}


.score-price .price {
    border-right: 1px solid var(--color-primary);
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
    background: var(--color-primary-light);
    color: black;
}

.score-price .prec {
    color: black;
    justify-content: flex-end;
    width: 75px;
    /* flex: 1; */
    padding-right: 0;
}


.score-zone {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    background: var(--color-border);
    padding-right: 5px;
}
/*
.score-price .price-wrap {
    background: var(--color-primary);
    padding: 2px 3px;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    font-size: 13px;
    border-right: 1px solid white;
}

.score-price .price-wrap,
.score-price .price-wrap span:first-child {
    color: white !important;
}

    .score-price .score b {
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
        font-size: 13px;
    }

.results .bottom .score-price .bar-row {
    margin: 0;
}*/
/*#endregion */

/*#region price-row */
.price-row {
    line-height: 1;
    border-top: 1px solid #f1f2ff;
    padding: .75rem 0 0;
    /* margin-top: 0; */
}

    .price-row .stores {
        font-size: 14px;
        color: gray;
    }

    .price-row .price {
        display: flex;
        padding: 0;
        gap: 0 2px;
        /* color: white; */
        align-items: flex-end;
        font-weight: normal;
        flex-wrap: wrap;
    }

        .price-row .price .val {
            font-size: 15px;
            font-weight: 800;
        }

    .price-row .btn {
        white-space: nowrap;
    }
/*#endregion */

/*#region card-vendors */
.card-vendors {
    grid-area: vendors;
    padding: 0 .5rem;

}
    .card-vendors a {
        color: var(--color-link) !important;
        font-size: 14px;
        /*underline*/
        text-decoration: underline;
    }
    .card-vendors .box{
        align-items:center;
    }
    .card-vendors .vendor {
        display: grid;
        /* font-size: 14px; */
        margin-top: .5rem;
        gap: 0;
        grid-template-columns: auto 3.5rem 3rem 3rem;
        align-items: center;
    }

        .card-vendors  .vendor + .vendor .price{
            font-weight:normal;
        }

        .card-vendors .price {
            display: flex;
        }

    .card-vendors .vendor .link.afflt{
        font-size:16px;
    }

    .card-vendors .btns .btn {
        padding: 0px .5rem !important;
        font-size: 14px !important;
        text-decoration: none;
        white-space: nowrap;
    }

.lead{
    font-size:unset;
}

.box .open-vendors{
    text-align: left;
}
.card-vendors > .open-vendors {
    text-align: center;
     margin-top: .5rem; 
     
     display:block; 
    
}
.card-vendors h4{
    color:gray;
    font-weight:normal;
}
/*#endregion */
/*#region slide-nav */
.slide-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .slide-nav .dot {
        font-size: 8px;
        /* margin: 0 6px;*/
        cursor: pointer;
        background: #b5b6ff;
        width: 1.5em;
        padding: 1px;
        height: 1.5em;
        border-radius: 7px;
    }

        .slide-nav .dot.active {
            background: var(--color-link);
        }

    .slide-nav a {
        font-size: 14px;
        width: 1.75em !important;
        height: 1.75em !important;
    }
/*    .slide-nav .dot img{
            max-width:100%;
            max-height:100%;
        }*/

.slider-container {
    overflow: hidden;
    position: relative;
    width: calc(100% + 4rem);
    margin: 0 -1.8rem;
}

    .slider-container .variants {
        transition: transform 0.5s ease;
        /* justify-content: center; */
    }

.slide {
    flex: 1 0 100%;
    box-sizing: border-box;
}

/*#endregion */

/*#region alter-scores */
.scores-wrap {
    display: flex;
    /* gap: .5rem; */
    line-height: 1;
    /* padding: 0.6rem .5rem; */
    align-items: stretch;
    background: #f0f0ff;
    position: relative;
    border-radius: 0;
    flex-direction: row-reverse;
}

    .scores-wrap > div {
        flex: 1;
        padding: 0.5rem 0.6rem;
    }

    .scores-wrap > span {
        font-size: 14px;
        color: gray;
        margin-right: 5px;
    }

.alter-scores {
    display: flex;
    gap: 1px;
    flex: 1;
    /* padding: .5rem 0 0.35rem; */
    align-items: flex-end;
    /* padding-bottom: 4px; */
    height: 16px;
}

    .alter-scores [c] {
        flex: 1;
        position: relative;
        background: #fbfbff;
        /*max-width: 10px;*/
        order: 2;
        border-radius: 0px;
        height: 100%;
        display: inline-flex;
        /* position: relative; */
        /* outline: 1px solid white; */
        align-items: flex-end;
        cursor: pointer;
        justify-content: center;
    }

    .alter-scores .active,
    .alter-scores > div:hover {
        border-radius: 1px;
        z-index: 1;
    }

        .alter-scores > div:hover .bar,
        .scores-wrap .active .bar {
            transition: none;
        }

        .alter-scores .active::after {
            content: '';
            position: absolute;
            top: -7px;
            right: 50%;
            transform: translateX(50%);
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-bottom: 5px solid var(--color-accent); /* Triangle color */
            z-index: 3;
            /*make it trianlge*/
        }

    .lines .line:not(.active),
    [c]:not(.active) .bar > span,
    .alter-scores > div:not(.active) .line {
        display: none;
    }

.lines .initial {
    color: gray;
    font-size: 14px;
    margin-bottom: 0.7rem;
    padding-right:.6rem;
    position:relative;
    margin-right:.5rem;
}
    .lines .initial i{
        font-size:12px;
        position:absolute;
        right:0;
        top: 5px;
        display:inline-block;
    }
    /*   .alter-scores > [w='3'] {
            height: 100%;
        }

        .alter-scores > [w='2'] {
            height: 80%;
        }

        .alter-scores > [w='1'] {
            height: 60%;
        }

        .alter-scores > div.st{
            height:0 !important;
        }*/
    /*    .alter-scores > [w='3'] + [w='2'] ,
        .alter-scores > [w='2'] + [w='1'] 
        
        {
            margin-right:7px;
        }
*/
    .alter-scores .bar {
        position: absolute;
        bottom: 0;
        width: 100%;
        text-align: center;
        height: 15%;
        /* content: ''; */
        transition: 1.2s;
    }
/*score*/
.alter-scores [c] > span {
    font-size: 12px;
    font-weight: 500;
    /* position: absolute; */
    padding-bottom: 2px;
    z-index: 1;
    min-width: 1.7em;
    text-align: center;
}

.alter-scores [c]:not(.active) > span {
    display: none;
}

.scores-wrap .kpi {
    color: black;
    background: #ccccff;
    padding: 0 .5rem;
    /* height: 100%; */
    display: flex;
    /* width: 4.7em; */
    text-decoration: none;
    flex-direction: column;
    justify-content: center;
}


    .scores-wrap .kpi .val {
        min-width: 1.4em;
        text-align: center;
    }

.scores-wrap .active {
    max-width: unset;
}

.scores-wrap .line.active {
    font-size: 14px;
    /* left: auto; */
    white-space: nowrap;
    line-height: 1;
    display: flex;
    gap: 5px;
    margin-bottom: 0.7rem;
    transition: 0.3s;
    align-items: center;
    flex-wrap: wrap;
}

    .scores-wrap .line.active > span {
        /* color: #616060; */
        /* margin-left: 5px; */
        /* flex: 1; */
    }

    .scores-wrap .line.active .close-line {
        font-size: 10px;
        position: absolute;
        box-shadow: -2px -2px 2px 0px rgb(0 0 0 / 22%);
        left: -1em;
        top: -0.9em;
        height: 1.6em;
        /* border-radius: 3px !important; */
        width: 1.6em;
    }

        .scores-wrap .line.active .close-line:not(:hover) {
            color: white;
            background: #8081e5;
        }

.scores-wrap .line .ai {
    margin: 0;
}

.scores-wrap .line > label {
    /* color: gray; */
    font-weight: 500;
}

.scores-wrap .line .spec {
    display: inline-flex;
    line-height: 1;
    gap: 2px;
    align-items: baseline;
}

    .scores-wrap .line .spec:before {
        content: '|';
        color: #adb1ff;
        display: inline-flex;
        justify-content: center;
        margin-left: 5px;
        font-size: 9px;
    }

.scores-wrap .score-consd {
    background: #ceceff !important;
    font-size: 13px !important;
}
/*
        .alter-scores > div.sp{
            max-width: 5px;
        }*/
/*.alter-scores .score-box.ball .outer {
        font-size: 20px !important;
    }
    .alter-scores .score-box.ball .val {
        margin: 0;
        text-align: center;
        color: white;
        text-shadow: 0px 0px 5px rgb(0 0 0 / 90%);
    }*/
/*#endregion */


/*#region .item-inner */
/*.item-inner{
    display:flex;
}

.results .alter{
    max-width:unset;
}

.item-inner .item-content {
    flex: 0 1 30rem;
}

.item-inner .scores-wrap {
    flex: 1;
    background: white;
    border-right: 1px solid #f0f0ff;
    padding-right: 1rem;
}
    .item-inner .scores-wrap .active > .line {
    }*/
/*#endregion */

/*#region pager */
.pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 1rem;
}

    .pager span {
        font-size: 18px;
        color: var(--color-text);
    }

#nextPage {
    display: flex;
    align-items: center;
    gap:5px;
    flex-direction: row-reverse !important;
}
/*#endregion */
@media only screen and (min-width : 667px) {
    main > div {
        max-height: calc(100vh - 130px) !important;
    }

    .results {
        overflow: auto;
        height: 100%;
        padding-left: 1rem;
    }

        .results .group-content .alter .card-img {
            font-size: 2.5rem;
            /* border: 1px solid #f0f0ff; */
        }

    .side-prod:not(:empty) {
        /* min-width: 32rem; */
        flex: 1 1 100%;
        padding: 0;
        overflow: auto;
        height: calc(100vh - 56px) !important;
    }

    .line-info .techs .line-body {
        width: 100%;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 0;
    }

    .side-menu {
        max-width: 21rem;
        display: block;
        overflow: auto !important;
        /* background: var(--color-back); */
        /* box-shadow: none; */
        margin: 0 0 1rem;
        border-radius: 8px;
        padding: 0;
    }

    .content {
        padding: 0;
        width: 100%;
        overflow: hidden;
        position: relative;
        /* min-width: 25rem; */
        /* padding-top: 0.5rem; */
        /* margin: 1rem 0; */
    }

    .close-compare {
        display: none !important;
    }

    .summary + .close-compare {
        display: none !important;
    }

    .compare-bar li {
        padding: 3px;
    }

    .item-content {
        padding: 1rem;
    }
}

/*#region name */

.item-inner {
    display: grid;
    width: 100%;
    /* gap: .5rem; */
    /* padding: .5rem; */
}


    .item-inner > .card-side {
        grid-area: image;
    }
    /*button to compare*/
    .item-inner > [data-id] {
        grid-area: compare;
    }

    /*titles*/
    .item-inner > .item-content {
        grid-area: title;
        padding: 0;
    }

    /*graph*/
    .item-inner > .scores-wrap {
        grid-area: factors;
    }

    /*price*/
    .item-inner > .bottom {
        grid-area: five;
    }


/*#endregion */



@media (min-width: 1024px) {
    .side-menu.collapse:not(.show) {
        display: inherit;
        margin-right: 0;
    }

    #filterRes {
        width: 10rem;
    }

    #toggleSideMenu,
    .side-menu #closeSideMenu {
        display: none;
    }

    .side-menu > .abs-end {
        top: 7px;
        left: 5px;
    }

    .group-content .recomand,
    .group-content .recomand.TopRecomand,
    .group-content .recomand.leading {
        font-size: 14px !important;
    }

    .card-vendors .vendor{
        gap:.5rem;
    }

    .results .alter {
        max-width: 100%;
    }

    .alter .card-body {
        flex-direction: row;
        justify-content: unset;
        align-items: flex-start;
        margin-right: .5rem;
    }

        .alter .card-body > :first-child {
            flex: 1;
        }

    .results .bottom > div.price-row {
        border: none;
        margin-top: 0;
        flex-direction: column;
        padding: 0 1rem;
        text-align: center;
        gap: 1rem;
    }

    .scores-wrap {
        background: none;
        border: 1px solid #eaebff;
        padding:  0;
        margin-top: .5rem;
    }

        .scores-wrap .kpi {
            /* background: none; */
            /* flex-direction: row; */
            /* padding-bottom: .5rem; */
        }
    /*  layout for destop*/
    .item-inner {
        grid-template-columns: 0.5fr 1fr 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "image title vendors"
            "image compare vendors"
            "image factors vendors";
        padding: .5rem;
        gap: .5rem;
        align-items: center;
    }

        .item-inner > [data-id] {
            /*text-align: center;*/
        }

    .scores-wrap .line.active {
        color: var(--color-accent);
    }

    .lines .initial {
        color: var(--color-accent);
    }

    .item-inner > .card-side a {
        font-size: 4rem !important;
    }

    /*button to compare*/
    /*.item-inner > [data-id] {
            order: 3;
            width: calc(100% - 19.5rem);
            flex: 1;
        }*/

    /*titles*/
    /*.item-inner > .item-content {
            order: 2;
            width: unset;
        }*/

    /*graph*/
    /*.item-inner > .scores-wrap {
            order: 4;
            background: none;
        }*/

    /*price*/
    .item-inner > .bottom {
        display: flex;
        justify-content: center;
        align-items: center;
        border-right: 1px solid #eaebff;
        margin-right: .5rem;
        height: 100%;
    }

    .card-vendors {
        border-right: 1px solid #eaebff;
        margin-right: .5rem;
        height: 100%;
        padding-left:.5rem;
        padding-top:.5rem;
        padding-right: 1rem;
    }

    .item-inner > .item-content {
        padding-top: .5rem;
    }

    .card-vendors > .open-vendors {
       margin-top:1rem;
    }
}

@media (max-width: 1023px) {
    .item-inner {
        grid-template-columns: 0.5fr 3fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "image title"
            "image compare"
            "vendors vendors"
            "factors factors";
        padding-top: .5rem;
        gap: 0 0.5rem;
    }

        .item-inner > .card-side {
            margin-right: .5rem;
            /* border: 1px solid #ebebeb; */
        }
        /*button to compare*/
        .item-inner > [data-id] {
            /* margin-right: .5rem; */
            /* text-align: center; */
        }

        /*titles*/
        .item-inner > .item-content > a {
            display: flex;
            padding-top: 0.2rem;
        }


        /*graph*/
        /*.item-inner > .scores-wrap {*/
        /* flex:1 1 100%; */
        /*width: 100%;*/
        /* width: calc(100% - 6rem); */
        /*}*/
        /*price*/
        .item-inner > .bottom {
            margin-left: .5rem;
        }

    .variants-tags {
        padding-bottom: .5rem;
    }

    .scores-wrap {
        /* padding: 0.5rem; */
        margin-top: .75rem;
    }
}

@media (max-width: 767px) {

    .results .group-content h1 {
        font-size: 18px;
    }

    .group-content .group-head span {
        font-size: 14px;
    }

    .results .item-content {
        /* padding: 0 .5rem; */
        /*most images are wider*/
        padding-right: 3px;
        margin-bottom: 0;
    }

    .container-fluid {
        padding: 0;
    }

    .results {
        padding: 0 0 5rem;
    }

    .alter {
        /* font-size: 0.9em; */
    }

    .results .alter {
        padding: 0;
    }

    main > .content {
        padding: 0;
        width: 100vw;
        /* margin-top: 0.5rem; */
        /* margin: 1rem 0; */
    }

    .side-prod:empty {
        padding: 0;
        margin: 0;
    }

    .side-prod:not(:empty) {
        /* overflow: auto; */
        position: fixed;
        left: 0;
        bottom: 0;
        max-height: 100vh !important;
        top: 57px;
        background: #f8f8ff;
        transition: 0.3s;
        width: 99vw;
        margin: 0;
        padding: 0;
        z-index: 22;
    }


    .side-prod:not(.show) {
        display: none;
    }

    .side-prod .prod {
        overflow: auto;
    }


    .side-prod section {
        padding: 1.5rem .75rem;
    }

    .group > div {
        padding: 1rem .5rem;
    }

        .group > div.group-head {
            padding: 0 .5rem;
        }

    .side-prod section.compare {
        overflow: auto;
        height: 100%;
    }

    .side-prod:not(.show) {
        transform: translateX(-100%);
        /* display: none; */
    }


    .summary, #bot-wrap .summary {
        padding: 1rem .5rem;
    }

        .summary + .close-compare {
            left: 0;
            right: unset;
        }

        .summary .msg > div {
            max-width: 100%;
            padding: 0.7rem .5rem;
        }

        .summary .mag-filter,
        .summary .msg-alter > .alter {
            width: 100%;
        }


    .tab-head {
        padding: .5rem;
    }

    .side-prod section:last-child {
        padding-bottom: 2rem;
    }




    #bot-wrap {
        left: 50%;
        transform: translateX(-50%);
    }

    .compare .alter .price {
        justify-content: center;
        font-size: 14px;
    }

    .side-menu > .abs-end {
        top: 6px;
        left: 9px;
        background: white;
    }

    #bot-wrap:not(.show) {
        transform: translate(-50%,calc(100% - 2.5rem));
    }

    .results .alter > a + .actions {
        margin-top: .5rem;
    }




    .group-content .recomand,
    .group-content .recomand.TopRecomand,
    .group-content .recomand.leading {
        font-size: 15px;
    }

    #shortlist {
        border-radius: 0;
        /* margin: 0 -.5rem; */
        padding: 1rem.5rem;
        /* margin: 0; */
        margin-top: 0;
    }

    .compare-cards {
        flex-direction: column;
    }

        .compare-cards .card {
            flex: unset;
        }

            .compare-cards .card .card-img {
                max-width: 4rem;
                max-height: 4rem;
            }

                .compare-cards .card .card-img img {
                    height: unset;
                    width: 100%;
                    max-height: 100%;
                }

            .alter .price, .alter h2, .compare-cards .card h3 {
                text-align: right !important;
                margin: 0;
                justify-content: flex-start !important;
            }

            .compare-cards .card, .compare-cards .card > a .item-content {
                flex-direction: row;
                flex-wrap: wrap;
                gap: 0;
                align-items: normal;
            }

    .compare-bar {
        position: fixed;
        padding: 0.5rem 0.6rem;
    }

    .compare-cards .card .card-body {
        flex: 1;
        display: flex;
        width: 100%;
        gap: 4px;
        font-size: 16px;
        flex-direction: column;
        justify-content: space-evenly;
    }

    .results h5 {
        top: 70px;
        font-size: 15px;
        right: 0;
        /* border-bottom: 2px solid var(--color-border); */
        margin: 0 -.75rem 1rem;
    }

    .group > div.res-head {
        margin: 0;
        padding: .75rem .75rem !important;
        padding: 0 .75rem 1rem;
        position: sticky;
        top: 0;
        z-index: 19;
        background: var(--color-back);
        box-shadow: 0px 3px 3px 0px rgb(0 0 0 / 10%);
    }

    .results .alter .card-img {
        height: 100%;
    }

    .results .alter img {
        height: unset;
        max-height: 100%;
        /* width: 100%; */
        object-fit: cover;
        font-size: 12px;
    }


    .compare-cards .card > a {
        /* padding: .5rem .5rem; */
        /* gap: .5rem; */
        width: 100%;
    }

    .card-menu {
        /* line-height: 1.8rem; */
    }

    .results .compare-cards .bottom > div.variants-tags {
        justify-content: flex-start;
    }

    .compare-bar li label {
        max-width: 4.3rem;
    }

    .alter-scores {
        height: 16px;
    }

    .price-row .btn {
        font-size: 14px;
        padding: 5px .5rem;
    }

    .card-vendors {
        border-top: 1px solid #f0f0ff;
        margin-top: .5rem;
        padding-top: .5rem;
        display: flex;
        flex-wrap:wrap;
        align-items: center;
        /*flex-direction: column;*/
        justify-content: space-between;
    }

        .card-vendors > .vendor {
            order:2;
            flex: 1 1 100%;
        }


        .card-vendors > .open-vendors {
            text-align: left;
            margin-left: .35rem;
            margin:0;
        }

        .card-vendors .btns .btn {
            padding: 4px .5rem !important;
        }
}