/*region Compare */
.product-compare .empty-content .mdl-compare {
    width: 350px;
}
.compare-blurb p {
    margin-bottom: 0;
    color: var(--s-f-c1);
}
.cmpr-head .actions {
    float: right;
    display: flex;
    gap: 8px;
}

.cmpr-head .actions .btn {
    padding: 5px 12px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cmpr-head .actions .btn.print {
    background: #F5F6FC;
    color: #081621;
    border-color: #F5F6FC;
}
.cmpr-table {
    border-top: 2px solid #e2e4e8;
    margin: 30px 0 0px;
    padding-top: 24px;
}

.cmpr-table tr {
    display: flex;
    margin-bottom: -2px;
}

.cmpr-table tbody tr:hover {
    background: #fafbfc;
}

.cmpr-table tr td {
    flex: 0 0 20%;
    border-right: 1px solid #ECEDEF;
    border-bottom: 1px solid #ECEDEF;
    padding: 15px 24px;
    line-height: 20px;
}
.cmpr-table tr td:last-child {
    border-right: none;
}
.cmpr-table.count-4 tbody td {
    flex: 0 0 25%;
}

.cmpr-table.count-3 tbody td {
    flex: 0 0 33.33%;
}

.cmpr-table tr td:first-child {
    color: #666666;
    padding-left: 30px;
}

.cmpr-table tr td:first-child strong {
    color: #000;
}
.cmpr-table thead tr td:first-child .material-icons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    margin: 0;
}

.cmpr-table .btn {
    width: 100%;
}

.cmpr-table tr td h4 {
    color: #000;
    font-size: 20px;
    padding: 10px 0;
}

.cmpr-table tr td p {
    color: #666666;
}

.cmpr-table thead td {
    flex: 0 0 100%;
    background: var(--s-b-bg);
    margin-top: -2px;
    padding-left: 0;
}
.cmpr-table thead tr td:first-child {
    flex: 0 0 100%;
    background: #F5F6FC;
    font-size: 20px;
    margin: 0 0 1px;
    display: flex;
    padding: 15px 30px;
    justify-content: space-between;
    font-weight: 400;
    color: var(--s-secondary);
}

.cmpr-table tr td .material-icons {
    float: left;
    font-size: 16px;
    margin: 0 6px 0 8px;
    font-weight: bold;
    cursor: pointer;
    height: 16px;
    width: 16px;
}

.cmpr-table tr td .material-icons.collapse {
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.cmpr-table tr td .material-icons:hover {
    color: #111;
}
.cmpr-table .cmpr-field .material-icons {
    visibility: hidden;
}

.cmpr-table .blank .cmpr-field .material-icons {
    visibility: visible;
}

.cmpr-table .cmpr-field input {
    box-shadow: none;
    border: 1px solid #ddd;
    background: #F2F4F8;
}
.cmpr-table .value.blank .cmpr-field input{
    background: transparent;
}

.cmpr-table .cmpr-field i {
    top: 11px;
}

.cmpr-table tr td.blank p {
    text-align: center;
    padding-top: 100px;
}

.cmpr-table tr td ul li {
    display: block;
    padding-bottom: 8px;
}

.cmpr-table tr td ul li:last-child {
    padding-bottom: 0;
}

.cmpr-table .compare-item-wrapper {
    text-align: center;
    position: relative;
}

.cmpr-table .p-item-img {
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 15px;
}

.cmpr-table .p-item-name {
    margin: 0 0 20px;
    line-height: 20px;
    height: auto;
    overflow: visible;
    display: block;
    color: #111;
}

.cmpr-table .p-item-name:hover {
    color: var(--s-primary);
}

.cmpr-table .p-item-price {
    line-height: 30px;
    font-size: 22px;
    font-weight: 400;
    color: var(--s-primary);
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.cmpr-table .compare-item-wrapper .remove {
    font-size: 13px;
    color: #666;
    text-decoration: underline;
    position: absolute;
    top: 12px;
    right: 10px;
}

.cmpr-table tr td .rating-icon {
    display: block;
}

.cmpr-table tr td .rating-icon.material-icons {
    margin: 0;
    font-weight: normal;
}
.cmpr-table tr td .rating-star {
    display: flex;
    color: #000;
    font-weight: bold;
    gap: 4px;
    align-items: center;
}
.cmpr-table tr td .rating-text {
    background: #F5F6FC;
    display: flex;
    padding: 4px 8px;
    border-radius: 20px;
    color: #666;
    width: fit-content;
    gap: 2px;
}

.on-scroll .cmpr-table tr.cmpr-header {
    position: fixed;
    background: #fff;
    top: 48px;
    max-width: 1286px;
    width: 100%;
    z-index: 5;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.05);
    left: 50%;
    transform: translateX(-50%);
}

.on-scroll .cmpr-table {
    margin-top: 150px;
}

.on-scroll .cmpr-table tr.cmpr-header .cmpr-field,
.on-scroll .cmpr-table tr.cmpr-header .p-item-img,
.on-scroll .cmpr-table tr.cmpr-header .p-item-price,
.on-scroll .cmpr-table tr.cmpr-header .remove {
    display: none;
}

.on-scroll .cmpr-table tr.cmpr-header td.blank .cmpr-field {
    display: block;
}

.on-scroll .cmpr-table tr.cmpr-header td.blank .cmpr-field input {
    margin: 0;
}

.on-scroll .cmpr-table tr td.blank p {
    display: none;
}

.on-scroll .cmpr-table tr td.compare-blurb p {
    display: none;
}

.on-scroll .cmpr-table tr td h4 {
    padding-top: 0;
    font-size: 16px;
    opacity: .5;
}

.on-scroll .cmpr-table .p-item-name {
    margin: 0;
}

.on-scroll .cmpr-table .p-item-name {
    margin: 0;
}

/*endregion*/
@media (min-width: 1280px) and (max-width: 1365px) {
    .on-scroll .cmpr-table tr.cmpr-header {
        max-width: 1235px;
    }
}

@media screen and (max-width: 991px) {
    .cmpr-table {
        border: none;
        margin-top: 0px;
        margin-bottom: 20px;
    }

    .on-scroll .cmpr-table {
        margin-top: 200px;
    }

    .cmpr-table tr {
        flex-wrap: wrap;
    }

    .cmpr-table tr.cmpr-header {
        border-top: 2px solid var(--s-secondary);
    }

    .cmpr-table.count-3 tbody td {
        flex: 0 0 50%;
    }

    .cmpr-table tbody td,
    .cmpr-table.count-4 tbody td {
        flex: 0 0 50%;
        padding: 10px;
        font-size: 13px;
    }

    .cmpr-table tr td:nth-child(3) {
        border-right: none;
    }

    .cmpr-table tr td:first-child {
        flex: 0 0 100%;
        text-align: center;
        padding: 5px;
        background: #f5f7f9;
        border: none;
        font-size: 12px;
        font-weight: bold;

    }

    .cmpr-table tr td:nth-child(4),
    .cmpr-table tr td:nth-child(5),
    .cmpr-table tr td:nth-child(6),
    .cmpr-table tr td:nth-child(7),
    .cmpr-table tr td:nth-child(8) {
        display: none;

    }

    .cmpr-table thead td {
        flex: 0 0 100%;
        padding-left: 0;
        background: var(--s-secondary);
        color: #fff;
    }

    .cmpr-table thead td strong {
        color: #fff;
    }

    .cmpr-table tr td h4 {
        margin-top: 10px;
        margin-bottom: 5px;
    }

    .compare-blurb, .cmpr-head .actions .btn.print {
        display: none;
    }

    .cmpr-head .actions {
        float: initial;
        justify-content: center;
        margin-bottom: 10px;
    }

    .on-scroll .cmpr-table tr.cmpr-header {
        margin-right: 0;
        z-index: 5;
        max-width: calc(100% - 34px);
    }

    .cmpr-table tr.cmpr-header .cmpr-field {
        text-align: left;
    }

    .cmpr-table tr.cmpr-header .cmpr-field li {
        padding-bottom: 0;
    }

    .on-scroll .cmpr-table tr.cmpr-header .p-item-name {
        height: 40px;
        overflow: hidden;
        margin: 0;
    }

    .on-scroll .cmpr-table tr.cmpr-header .p-item-name strong {
        font-weight: normal;
    }

    .cmpr-table thead tr td:first-child {
        background: var(--s-hf-bg);
        padding: 6px 15px;
        font-size: 15px;
        color: rgba(255, 255, 255, 0.5);
    }

    .cmpr-table tr td .material-icons:hover {
        color: #fff;
    }

    .cmpr-table tr td:first-child strong {
        color: #fff;
        font-weight: normal;
    }
}