:root {
    --theme: rgba(161, 171, 255, 1);
    --main-text: rgba(64, 64, 64, 1);
    --white: #ffffff;
    --secondery-text: #848484;
    --secondery-light-text: #C4C4C4;
    --offer-text: #00A110;
}


.sp-compare-widget, .sp-compare-checkbox, .sp-compare-product-button {
    --theme: rgba(161, 171, 255, 1);
    --main-text: rgba(64, 64, 64, 1);
    --white: #ffffff;
    --secondery-text: #848484;
    --secondery-light-text: #C4C4C4;
    --offer-text: #00A110;
    --widget-background: rgba(0,0,0,.75);
    --widget-compare-button-background: var(--theme);
    --widget-compare-button-text: var(--white);
    --widget-item-removeall: var(--white);
    --widget-item-background: var(--white);
    --widget-item-discount: var(--offer-text);
    --widget-item-primary: var(--main-text);
    --widget-item-secondary: rgba(64, 64, 64, 0.5);
    --compare-checkbox: var(--theme);
    --compare-checkbox-text: var(--theme);
    --compare-checkbox-icon-before: rgba(171, 171, 171, 1);
    --compare-checkbox-icon-after: var(--theme);
    --compare-button-text: var(--white);
    --compare-button-background: var(--theme);
}

#compare-app-sections {
    display: none !important;
}

.sp-compare-main .sp-compare-wrap {
    position: relative;
    width: fit-content;
    padding-left: 23px;
    font-family: inherit;
}

.sp-compare-main .sp-compare-wrap input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: inherit;
    display: block;
    opacity: 0;
    z-index: 1;
    cursor: pointer;
}

.sp-compare-main .sp-compare-wrap label {
    font-size: 14px;
    padding: 0;
    margin: 0;
    line-height: 20px;
}

.sp-compare-main .sp-compare-wrap label span {
    display: block;
    color: var(--compare-checkbox-text);
}

.sp-compare-main .sp-compare-wrap label svg {
    max-width: 25px;
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
    height: auto;
}

.sp-compare-main .sp-compare-wrap label:after {
    height: 17px;
    width: 17px;
    border: solid 1px var(--compare-checkbox);
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 2px;
    border-radius: 4px;
    transition: all ease-in-out 0.3s;
}

.sp-compare-main .sp-compare-wrap label:before {
    content: '';
    display: block;
    height: 5px;
    width: 9px;
    border-bottom: solid 2px #fff;
    border-left: solid 2px #fff;
    position: absolute;
    top: 7px;
    left: 4px;
    z-index: 2;
    transform: rotate(-45deg);
}

.sp-compare-main .sp-compare-wrap input:checked+label:after {
    background-color: var(--compare-checkbox);
}

.sp-compare-main .sp-compare-icon.sp-compare-wrap {
    padding-left: 0;
}

.sp-compare-main .sp-compare-icon label:after,
.sp-compare-main .sp-compare-icon label:before {
    content: unset;
}

.sp-compare-main .sp-compare-wrap.sp-compare-icon label span {
    display: none;
    line-height: 20px;
}

.sp-compare-main .sp-compare-wrap label svg {
    display: none;
}

.sp-compare-main .sp-compare-icon label svg.sp-active {
    display: block;
}

.sp-compare-main .sp-compare-icon label svg path {
    transition: all ease-in-out 0.3s;
}

.sp-compare-main .sp-compare-icon input:checked+label svg path {
    fill: var(--compare-checkbox-icon-after);
}

.sp-com-w {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
}

.sp-com-w .sp-com-w-btn {
    background-color: var(--widget-compare-button-background);
    color: var(--widget-compare-button-text);
    padding: 8px;
    border: unset;
    display: flex;
    font-family: inherit;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    border-radius: 5px 5px 0px 0px;
    cursor: pointer;
    margin: 0 20px;
    align-items: center;
}

.sp-com-w .sp-com-w-btn p {
    padding: 0 8px;
    margin: unset;
    white-space: nowrap;
}

.sp-com-w .sp-com-w-btn span {
    font-weight: 600;
    font-size: 12px;
    line-height: 14px;
    color: var(--widget-compare-button-background);
    display: flex;
    background-color: var(--widget-compare-button-text);
    height: 20px;
    width: 20px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.sp-com-w .sp-com-w-body {
    background: var(--widget-background);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px;
}

.sp-com-w .sp-com-w-body .sp-com-w-pro-remove {
    position: absolute;
    right: 5px;
    top: 5px;
    display: flex;
    cursor: pointer;
}

.sp-com-w .sp-com-w-body .sp-com-w-product-item {
    position: relative;
    background: var(--widget-item-background);
    border-radius: 5px;
    display: flex;
    padding: 10px 25px 10px 10px;
    width: calc(25% - 10px);
    max-width: 380px;
    margin-right: 10px;
}

.sp-com-w .sp-com-w-body .sp-com-w-product {
    width: 100%;
    max-width: calc(100% - 200px);
    display: flex;
    flex-wrap: wrap;
}

.sp-com-w .sp-com-w-body .sp-com-w-pro-img {
    width: 60px;
}

.sp-com-w .sp-com-w-body .sp-com-w-pro-img-wrap {
    overflow: hidden;
    position: relative;
    padding-bottom: 100%;
    width: 100%;
    border-radius: 4px;
}

.sp-com-w .sp-com-w-body .sp-com-w-pro-img-wrap img {
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    object-fit: contain;
    margin: auto;
}

.sp-com-w .sp-com-w-body .sp-com-w-pro-content {
    padding-left: 8px;
    max-width: calc(100% - 60px);
}

.sp-com-w .sp-com-w-body .sp-com-w-pro-content h6 {
    font-weight: 500;
    font-size: 13px;
    line-height: 17px;
    color: var(--widget-item-primary);
    margin: 0 0 4px;
}

.sp-com-w .sp-com-w-body .sp-com-w-pro-content p {
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: var(--secondery-text);
    padding-bottom: 6px;
    margin: unset;
}

.sp-com-w .sp-com-w-body .sp-com-w-pro-price {
    display: flex;
    flex-wrap: wrap;
    row-gap: 3px;
}

.sp-com-w .sp-com-w-body .sp-com-current-price {
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    padding-right: 3px;
    color: var(--widget-item-primary);
}

.sp-com-w .sp-com-w-body .sp-com-old-price {
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    text-decoration-line: line-through;
    color: var(--widget-item-secondary);
    padding-right: 3px;
}

.sp-com-w .sp-com-w-body .sp-com-discount {
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: var(--widget-item-discount);
}

.sp-com-w .sp-com-w-body .sp-com-w-action {
    display: flex;
    max-width: 200px;
    width: 100%;
    align-items: center;
    justify-content: end;
}

.sp-com-w .sp-com-w-body .sp-com-w-action .sp-com-w-compare {
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    background: var(--widget-compare-button-background);
    border-radius: 3px;
    color: var(--widget-compare-button-text);
    border: unset;
    padding: 10px 15px;
    font-family: inherit;
    cursor: pointer;
}

.sp-com-w .sp-com-w-body .sp-com-w-action .sp-com-w-clear {
    border: 1px solid var(--widget-item-removeall);
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: var(--widget-item-removeall);
    padding: 9px 14px;
    background-color: transparent;
    font-family: inherit;
    cursor: pointer;
    margin-left: 10px;
    transition: all ease-in-out 0.3s;
}

.sp-com-w .sp-com-w-body .sp-com-w-action .sp-com-w-clear:hover {
    border: 1px solid var(--widget-item-background);
    background: var(--widget-item-background);
    color: var(--widget-compare-button-background);
}

.sp-com-w.sp-com-w-1 .sp-com-w-body {
    overflow: hidden;
    visibility: hidden;
    padding-top: 0;
    padding-bottom: 0;
    max-height: 0;
}

.sp-com-w.sp-com-w-1.sp-com-w-active .sp-com-w-body {
    visibility: visible;
    max-height: 150px;
    transition: max-height 0.5s ease-in-out;
}

.sp-com-w.sp-com-w-1 .sp-com-w-body .sp-com-w-product {
    padding-top: 10px;
    padding-bottom: 10px;
}

.sp-com-w.sp-com-w-1.sp-com-w-h-bottom-center .sp-com-w-btn {
    margin: 0 auto;
}

.sp-com-w.sp-com-w-1.sp-com-w-h-bottom-right .sp-com-w-btn {
    margin-right: 20px;
    margin-left: auto;
}

.sp-com-w.sp-com-w-1.sp-com-w-h-bottom-left .sp-com-w-btn {
    margin-right: auto;
    margin-left: 20px;
}

.sp-com-w.sp-com-w-1.sp-com-w-active,
.sp-com-w.sp-com-w-2.sp-com-w-h-bottom-right.sp-com-w-active,
.sp-com-w.sp-com-w-2.sp-com-w-h-bottom-left.sp-com-w-active,
.sp-com-w.sp-com-w-2.sp-com-w-h-bottom-center.sp-com-w-active {
    bottom: 0 !important;
}

.sp-com-w.sp-com-w-2[class*='sp-com-w-h-bottom-'] .sp-com-w-body {
    overflow: hidden;
    visibility: hidden;
    padding-top: 0;
    padding-bottom: 0;
    max-height: 0;
}

.sp-com-w.sp-com-w-2[class*='sp-com-w-h-bottom-'].sp-com-w-active .sp-com-w-body {
    visibility: visible;
    max-height: 650px;
    transition: max-height 1s ease-in-out;
}

.sp-com-w.sp-com-w-2[class*='sp-com-w-h-bottom-'] .sp-com-w-body .sp-com-w-product {
    padding-top: 15px;
}

.sp-com-w.sp-com-w-2[class*='sp-com-w-h-bottom-'] .sp-com-w-body .sp-com-w-action {
    padding-bottom: 15px;
}

.sp-com-w.sp-com-w-2 {
    max-width: 320px;
}

.sp-com-w.sp-com-w-2 .sp-com-w-body .sp-com-w-product {
    max-width: 100%;
}

.sp-com-w.sp-com-w-2 .sp-com-w-body .sp-com-w-product-item {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
}

.sp-com-w.sp-com-w-2 .sp-com-w-body .sp-com-w-action {
    max-width: 100%;
}

.sp-com-w.sp-com-w-2 .sp-com-w-body .sp-com-w-action .sp-com-w-compare {
    max-width: calc(50% - 5px);
    width: 100%;
}

.sp-com-w.sp-com-w-2 .sp-com-w-body .sp-com-w-action .sp-com-w-clear {
    max-width: calc(50% - 5px);
    width: 100%;
}

.sp-com-w.sp-com-w-2 .sp-com-w-body {
    border-radius: 0 8px 0 0;
    padding: 15px;
}

.sp-com-w.sp-com-w-2 .sp-com-w-btn {
    margin: 0 15px;
}

.sp-com-w.sp-com-w-2.sp-com-w-h-bottom-right {
    right: 0;
    left: unset;
}

.sp-com-w.sp-com-w-2.sp-com-w-h-bottom-right .sp-com-w-btn {
    margin-left: auto;
}

.sp-com-w.sp-com-w-2.sp-com-w-h-bottom-right .sp-com-w-body {
    border-radius: 8px 0 0 0;
}

.sp-com-w.sp-com-w-2.sp-com-w-h-bottom-center {
    left: 50%;
    transform: translateX(-50%);
}

.sp-com-w.sp-com-w-2.sp-com-w-h-bottom-center .sp-com-w-btn {
    margin-left: auto;
    margin-right: auto;
}

.sp-com-w.sp-com-w-2.sp-com-w-h-bottom-center .sp-com-w-body {
    border-radius: 8px 8px 0 0;
}

.sp-com-w.sp-com-w-2.sp-com-w-h-bottom-left .sp-com-w-wrap,
.sp-com-w.sp-com-w-2.sp-com-w-h-bottom-right .sp-com-w-wrap,
.sp-com-w.sp-com-w-2.sp-com-w-v-center-right .sp-com-w-wrap,
.sp-com-w.sp-com-w-2.sp-com-w-v-bottom-right .sp-com-w-wrap,
.sp-com-w.sp-com-w-2.sp-com-w-v-top-right .sp-com-w-wrap,
.sp-com-w.sp-com-w-2.sp-com-w-v-center-left .sp-com-w-wrap,
.sp-com-w.sp-com-w-2.sp-com-w-v-bottom-left .sp-com-w-wrap,
.sp-com-w.sp-com-w-2.sp-com-w-v-top-left .sp-com-w-wrap {
    position: relative;
}

.sp-com-w.sp-com-w-2.sp-com-w-v-center-left .sp-com-w-btn-wrap,
.sp-com-w.sp-com-w-2.sp-com-w-v-top-left .sp-com-w-btn-wrap,
.sp-com-w.sp-com-w-2.sp-com-w-v-bottom-left .sp-com-w-btn-wrap {
    position: absolute;
    left: 100%;
    transform: rotate(90deg) translateX(-50%);
    width: fit-content;
    top: 50%;
    transform-origin: 8% 62%;
}

.sp-com-w.sp-com-w-2.sp-com-w-v-center-left {
    top: 50%;
    transform: translateY(-50%);
    height: fit-content;
}

.sp-com-w.sp-com-w-2.sp-com-w-v-top-left {
    top: 100px;
}

.sp-com-w.sp-com-w-2.sp-com-w-v-bottom-left {
    top: unset;
    bottom: 50px;
}

.sp-com-w.sp-com-w-2.sp-com-w-v-bottom-left.sp-com-w-active,
.sp-com-w.sp-com-w-2.sp-com-w-v-top-left.sp-com-w-active,
.sp-com-w.sp-com-w-2.sp-com-w-v-center-left.sp-com-w-active {
    left: 0 !important;
}

.sp-com-w.sp-com-w-v-center-left .sp-com-w-body,
.sp-com-w.sp-com-w-v-top-left .sp-com-w-body,
.sp-com-w.sp-com-w-v-bottom-left .sp-com-w-body {
    border-radius: 0 8px 8px 0;
}

.sp-com-w.sp-com-w-v-center-right .sp-com-w-body,
.sp-com-w.sp-com-w-v-top-right .sp-com-w-body,
.sp-com-w.sp-com-w-v-bottom-right .sp-com-w-body {
    border-radius: 8px 0 0 8px;
}

.sp-com-w.sp-com-w-2.sp-com-w-v-center-left,
.sp-com-w.sp-com-w-2.sp-com-w-v-top-left,
.sp-com-w.sp-com-w-2.sp-com-w-v-bottom-left {
    left: -320px;
    right: unset;
}

.sp-com-w.sp-com-w-v-top-right,
.sp-com-w.sp-com-w-v-bottom-right,
.sp-com-w.sp-com-w-v-center-right {
    right: -320px;
    left: unset;
}

.sp-com-w.sp-com-w-v-center-right .sp-com-w-btn-wrap,
.sp-com-w.sp-com-w-v-top-right .sp-com-w-btn-wrap,
.sp-com-w.sp-com-w-v-bottom-right .sp-com-w-btn-wrap {
    position: absolute;
    right: 100%;
    transform: rotate(-90deg) translateX(50%);
    width: fit-content;
    top: 50%;
    transform-origin: 89% 49%;
}

.sp-com-w.sp-com-w-v-top-right .sp-com-w-btn-wrap{
    top: 85px;
}

.sp-com-w.sp-com-w-2.sp-com-w-v-center-right {
    top: 50%;
    transform: translateY(-50%);
    height: fit-content;
}

.sp-com-w.sp-com-w-2.sp-com-w-v-top-right {
    top: 100px;
}

.sp-com-w.sp-com-w-2.sp-com-w-v-bottom-right {
    top: unset;
    bottom: 50px;
}

.sp-com-w.sp-com-w-2.sp-com-w-v-center-right.sp-com-w-active,
.sp-com-w.sp-com-w-2.sp-com-w-v-top-right.sp-com-w-active,
.sp-com-w.sp-com-w-2.sp-com-w-v-bottom-right.sp-com-w-active {
    right: 0 !important;
}

.sp-com-w.sp-com-w-2.sp-com-w-v-bottom-right .sp-com-w-body,
.sp-com-w.sp-com-w-2.sp-com-w-v-top-right .sp-com-w-body .sp-com-w.sp-com-w-2.sp-com-w-v-center-right .sp-com-w-body {
    border-radius: 8px 0 0 8px;
}

.sp-com-w.sp-com-w-3 .sp-com-w-btn {
    border-radius: 50%;
    position: relative;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.sp-com-w.sp-com-w-3 .sp-com-w-btn svg {
    width: 20px;
    height: auto;
}

.sp-com-w.sp-com-w-3 .sp-com-w-btn p {
    display: none;
}

.sp-com-w.sp-com-w-3 .sp-com-w-btn span {
    position: absolute;
    top: -5px;
    left: -7px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
}

.sp-com-w.sp-com-w-3.sp-com-w-h-bottom-right .sp-com-w-btn {
    margin-right: 20px;
    margin-left: auto;
}

.sp-com-w.sp-com-w-3.sp-com-w-h-bottom-center .sp-com-w-btn {
    margin-right: auto;
    margin-left: auto;
}

.sp-com-w.sp-com-w-3 .sp-com-w-body {
    position: absolute;
    bottom: 50px;
    right: 35px;
    border-radius: 8px;
    flex-direction: column;
    padding: 15px;
    transform: scale(0);
    transform-origin: bottom right;
    transition: all ease-in-out 0.3s;
    opacity: 0;
    max-width: 320px;
    width: 100%;
}

.sp-com-w.sp-com-w-3.sp-com-w-active .sp-com-w-body {
    transform: scale(1);
    opacity: 1;
    bottom: 75px;
    right: 20px;
}

.sp-com-w.sp-com-w-3 .sp-com-w-body::after {
    content: '';
    display: block;
    position: absolute;
    width: 12px;
    height: 12px;
    top: calc(100% - 6px);
    right: 15px;
    border: solid 6px;
    border-color: rgba(0, 0, 0, 0.75) transparent transparent rgba(0, 0, 0, 0.75);
    border-radius: 4px 0 0 0;
    transform: rotate(-135deg);
}

.sp-com-w.sp-com-w-3 .sp-com-w-body .sp-com-w-product {
    flex-direction: column;
    max-width: 100%;
}

.sp-com-w.sp-com-w-3 .sp-com-w-body .sp-com-w-product-item {
    width: 100%;
    margin-bottom: 15px;
    margin-right: 0;
}

.sp-com-w.sp-com-w-3 .sp-com-w-body .sp-com-w-action {
    max-width: 100%;
}

.sp-com-w .sp-com-w-body .sp-com-w-action .sp-com-w-compare,
.sp-com-w .sp-com-w-body .sp-com-w-action .sp-com-w-clear {
    max-width: 50%;
    width: 100%;
}

.sp-com-w.sp-com-w-3.sp-com-w-h-bottom-left .sp-com-w-body {
    left: 35px;
    right: unset;
    transform-origin: bottom left;
}

.sp-com-w.sp-com-w-3.sp-com-w-h-bottom-left.sp-com-w-active .sp-com-w-body {
    left: 20px;
    right: unset;
}

.sp-com-w.sp-com-w-3.sp-com-w-h-bottom-left .sp-com-w-body::after {
    left: 15px;
    right: unset;
}

.sp-com-w.sp-com-w-3.sp-com-w-h-bottom-center .sp-com-w-body {
    right: 50%;
    transform-origin: bottom right;
}

.sp-com-w.sp-com-w-3.sp-com-w-h-bottom-center.sp-com-w-active .sp-com-w-body {
    right: calc(50% - 20px);
}

/* WIDGET LAYOUT 4 CSS START */
.sp-com-w.sp-com-w-4 {
    left: unset;
    width: auto;
}

.sp-com-w.sp-com-w-4 .sp-com-w-body {
    border-radius: 0 10px 0 0;
    padding: 0 10px;
    display: block;
}

.sp-com-w.sp-com-w-4.sp-com-w-h-bottom-left .sp-com-w-body,
.sp-com-w.sp-com-w-4.sp-com-w-h-bottom-center .sp-com-w-body,
.sp-com-w.sp-com-w-4.sp-com-w-h-bottom-right .sp-com-w-body {
    transition: max-height 1s cubic-bezier(0, 1, 0, 1);
    overflow: hidden;
    max-height: 0;
    display: block;
}

.sp-com-w.sp-com-w-4.sp-com-w-h-bottom-left.sp-com-w-active .sp-com-w-body,
.sp-com-w.sp-com-w-4.sp-com-w-h-bottom-center.sp-com-w-active .sp-com-w-body,
.sp-com-w.sp-com-w-4.sp-com-w-h-bottom-right.sp-com-w-active .sp-com-w-body {
    max-height: 700px;
    transition: max-height 1s ease-in-out;
}

.sp-com-w.sp-com-w-4 .sp-com-w-body .sp-com-w-product {
    max-width: unset;
    margin-right: -10px;
    width: auto;
    padding-top: 10px;
    flex-wrap: unset;
}

.sp-com-w.sp-com-w-4 .sp-com-w-body .sp-com-w-action {
    max-width: 100%;
    padding-top: 15px;
    padding-bottom: 10px;
    width: auto;
}

.sp-com-w.sp-com-w-4 .sp-com-w-body .sp-com-w-product-item {
    padding: 10px;
    flex-wrap: wrap;
    max-width: 138px;
    width: 100%;
}

.sp-com-w.sp-com-w-4 .sp-com-w-body .sp-com-w-product-item:only-child {
    max-width: 100%;
}

.sp-com-w.sp-com-w-4 .sp-com-w-body .sp-com-w-pro-img {
    width: 100%;
}

.sp-com-w.sp-com-w-4 .sp-com-w-body .sp-com-w-pro-content {
    max-width: 100%;
    padding-left: 0;
    padding-top: 5px;
}

.sp-com-w.sp-com-w-4 .sp-com-w-body .sp-com-w-pro-remove {
    background-color: #fff;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 1px 1px 2px rgb(0 0 0 / 10%);
}

.sp-com-w.sp-com-w-4 .sp-com-w-body .sp-com-w-action .sp-com-w-compare,
.sp-com-w.sp-com-w-4 .sp-com-w-body .sp-com-w-action .sp-com-w-clear {
    max-width: unset;
    width: auto;
}

.sp-com-w.sp-com-w-4.sp-com-w-h-bottom-center {
    margin: 0 auto;
    right: 0;
}

.sp-com-w.sp-com-w-4.sp-com-w-h-bottom-center .sp-com-w-body {
    border-radius: 10px 10px 0 0;
}

.sp-com-w.sp-com-w-4.sp-com-w-h-bottom-center .sp-com-w-btn {
    margin: 0 auto;
}

.sp-com-w.sp-com-w-4.sp-com-w-h-bottom-right {
    margin: 0 0 0 auto;
    right: 0;
}

.sp-com-w.sp-com-w-4.sp-com-w-h-bottom-right .sp-com-w-body {
    border-radius: 10px 0 0 0;
}

.sp-com-w.sp-com-w-4.sp-com-w-h-bottom-right .sp-com-w-btn {
    margin: 0 20px 0 auto;
}

.sp-com-w.sp-com-w-4.sp-com-w-v-top-left {
    top: 100px;
    left: 0;
    transition: all ease-in-out 0.3s;
}

.sp-com-w.sp-com-w-4.sp-com-w-v-top-left.sp-com-w-active,
.sp-com-w.sp-com-w-4.sp-com-w-v-center-left.sp-com-w-active,
.sp-com-w.sp-com-w-4.sp-com-w-v-bottom-left.sp-com-w-active {
    left: 0;
}

.sp-com-w.sp-com-w-4.sp-com-w-v-top-left .sp-com-w-btn-wrap,
.sp-com-w.sp-com-w-4.sp-com-w-v-center-left .sp-com-w-btn-wrap,
.sp-com-w.sp-com-w-4.sp-com-w-v-bottom-left .sp-com-w-btn-wrap {
    position: absolute;
    left: 100%;
    transform: rotate(90deg);
    transform-origin: left bottom;
    margin-top: 40px;
}

.sp-com-w.sp-com-w-4.sp-com-w-v-top-left .sp-com-w-body,
.sp-com-w.sp-com-w-4.sp-com-w-v-bottom-left .sp-com-w-body,
.sp-com-w.sp-com-w-4.sp-com-w-v-center-left .sp-com-w-body {
    border-radius: 0 10px 10px 0;
}

.sp-com-w.sp-com-w-4.sp-com-w-v-top-left .sp-com-w-btn,
.sp-com-w.sp-com-w-4.sp-com-w-v-bottom-left .sp-com-w-btn,
.sp-com-w.sp-com-w-4.sp-com-w-v-center-left .sp-com-w-btn {
    margin: 0 auto;
}

.sp-com-w.sp-com-w-4.sp-com-w-v-bottom-left .sp-com-w-wrap,
.sp-com-w.sp-com-w-4.sp-com-w-v-center-left .sp-com-w-wrap,
.sp-com-w.sp-com-w-4.sp-com-w-v-top-left .sp-com-w-wrap {
    left: -100%;
    position: relative;
    transition: all ease-in-out .3s;
}

.sp-com-w.sp-com-w-4.sp-com-w-v-top-left.sp-com-w-active .sp-com-w-wrap,
.sp-com-w.sp-com-w-4.sp-com-w-v-center-left.sp-com-w-active .sp-com-w-wrap,
.sp-com-w.sp-com-w-4.sp-com-w-v-bottom-left.sp-com-w-active .sp-com-w-wrap {
    left: 0;
}

.sp-com-w.sp-com-w-4.sp-com-w-v-center-left {
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    transition: all ease-in-out 0.3s;
    bottom: unset;
}

.sp-com-w.sp-com-w-4.sp-com-w-v-bottom-left {
    bottom: 100px;
    left: 0;
    transition: all ease-in-out 0.3s;
}

.sp-com-w.sp-com-w-4.sp-com-w-v-top-right {
    top: 100px;
    right: 0;
    transition: all ease-in-out 0.3s;
}

.sp-com-w.sp-com-w-4.sp-com-w-v-bottom-right .sp-com-w-wrap,
.sp-com-w.sp-com-w-4.sp-com-w-v-center-right .sp-com-w-wrap,
.sp-com-w.sp-com-w-4.sp-com-w-v-top-right .sp-com-w-wrap {
    right: -100%;
    position: relative;
    transition: all ease-in-out .3s;
}

.sp-com-w.sp-com-w-4.sp-com-w-v-top-right.sp-com-w-active .sp-com-w-wrap,
.sp-com-w.sp-com-w-4.sp-com-w-v-center-right.sp-com-w-active .sp-com-w-wrap,
.sp-com-w.sp-com-w-4.sp-com-w-v-bottom-right.sp-com-w-active .sp-com-w-wrap {
    right: 0;
}

.sp-com-w.sp-com-w-4.sp-com-w-v-top-right .sp-com-w-btn-wrap,
.sp-com-w.sp-com-w-4.sp-com-w-v-center-right .sp-com-w-btn-wrap,
.sp-com-w.sp-com-w-4.sp-com-w-v-bottom-right .sp-com-w-btn-wrap {
    position: absolute;
    right: 100%;
    transform: rotate(-90deg);
    transform-origin: right bottom;
    margin-top: 40px;
    top: unset;
}

.sp-com-w.sp-com-w-4.sp-com-w-v-top-right .sp-com-w-body,
.sp-com-w.sp-com-w-4.sp-com-w-v-bottom-right .sp-com-w-body,
.sp-com-w.sp-com-w-4.sp-com-w-v-center-right .sp-com-w-body {
    border-radius: 10px 0 0 10px;
}

.sp-com-w.sp-com-w-4.sp-com-w-v-top-right .sp-com-w-btn,
.sp-com-w.sp-com-w-4.sp-com-w-v-bottom-right .sp-com-w-btn,
.sp-com-w.sp-com-w-4.sp-com-w-v-center-right .sp-com-w-btn {
    margin: 0 auto;
}

.sp-com-w.sp-com-w-4.sp-com-w-v-center-right {
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    transition: all ease-in-out 0.3s;
    bottom: unset;
}

.sp-com-w.sp-com-w-4.sp-com-w-v-bottom-right {
    bottom: 100px;
    right: 0;
    transition: all ease-in-out 0.3s;
}

@media only screen and (max-width:1024px) {
    .sp-com-w .sp-com-w-body .sp-com-w-product-item {
        width: calc(50% - 5px);
        margin-bottom: 10px;
        margin-right: 0;
    }

    .sp-com-w .sp-com-w-body .sp-com-w-product {
        justify-content: space-between;
    }

    .sp-com-w .sp-com-w-btn {
        margin: 0 10px;
    }

    .sp-com-w.sp-com-w-4 {
        max-width: 600px;
    }

    .sp-com-w.sp-com-w-4 .sp-com-w-body .sp-com-w-action {
        padding-top: 5px;
    }

    .sp-com-w.sp-com-w-4 .sp-com-w-body .sp-com-w-product-item {
        max-width: 135px;
        margin-right: 10px;
    }
}

@media only screen and (max-width:767px) {

    .sp-com-w .sp-com-w-body .sp-com-w-action {
        max-width: 100%;
    }

    .sp-com-w .sp-com-w-body .sp-com-w-product {
        max-width: 100%;
    }
}

@media only screen and (max-width:650px) {
    .sp-com-w.sp-com-w-4 {
        max-width: calc(100% - 50px);
    }

    .sp-com-w.sp-com-w-4 .sp-com-w-body .sp-com-w-product-item {
        max-width: unset;
        flex: 1;
    }
}

@media only screen and (max-width:450px) {
    .sp-com-w .sp-com-w-body .sp-com-w-product-item {
        width: 100%;
        max-width: unset;
    }

    .sp-com-w.sp-com-w-4 .sp-com-w-body .sp-com-w-product-item {
        max-width: calc(50% - 10px);
        flex: unset;
    }

    .sp-com-w.sp-com-w-4.sp-com-w-h-bottom-left.sp-com-w-active .sp-com-w-body,
    .sp-com-w.sp-com-w-4.sp-com-w-h-bottom-center.sp-com-w-active .sp-com-w-body,
    .sp-com-w.sp-com-w-4.sp-com-w-h-bottom-right.sp-com-w-active .sp-com-w-body {
        max-height: 1000px;
    }
}
/* WIDGET LAYOUT 4 CSS END */

@media only screen and (max-width:1024px) {
    .sp-com-w .sp-com-w-body .sp-com-w-product-item {
        width: calc(50% - 5px);
        margin-bottom: 10px;
        margin-right: 0;
    }

    .sp-com-w .sp-com-w-body .sp-com-w-product {
        justify-content: space-between;
    }

    .sp-com-w .sp-com-w-btn {
        margin: 0 10px;
    }
}


/* PRODUCT DETAIL COMPARE BUTTON CSS START */
.sp-compare-button svg path {
    fill: var(--compare-button-text);
}
.sp-compare-button {
    width: 100%;
    height: auto;
    text-transform: uppercase;
    border: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--compare-button-background);
    padding: 10px 15px;
    color: var(--compare-button-text);
    margin: 10px 0;
    transition: all ease-in-out 0.3s;
    cursor: pointer;
}
.sp-compare-button svg {
    max-width: 23px;
    height: auto;
    display: none;
}
.sp-compare-button p {
    margin: 0;
    padding: 0 10px;
    font-family: inherit;
    font-weight: 600;
    line-height: initial;
    font-size: inherit;
    display: block;
    max-width: calc(100% - 23px);
}
.sp-compare-button svg.sp-active {
    display: block;
}
.sp-compare-button.sp-compare-added{opacity: .8;}
.sp-compare-button:hover {
    opacity: .6;
}
/* PRODUCT DETAIL COMPARE BUTTON CSS END */

@media only screen and (max-width:767px) {

    .sp-com-w .sp-com-w-body .sp-com-w-action {
        max-width: 100%;
    }

    .sp-com-w .sp-com-w-body .sp-com-w-product {
        max-width: 100%;
    }
}

@media only screen and (max-width:450px) {
    .sp-com-w .sp-com-w-body .sp-com-w-product-item {
        width: 100%;
        max-width: unset;
    }
}

.sp-com-w .sp-com-w-body .sp-com-w-pro-content h6, .sp-comp-t-box .sp-comp-t-img-cont-wrap h3 a {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sp-compare-main .sp-compare-wrap input {z-index:3; !important}