:root {
  --highlight-color: #4f46e5;
  --light-color: #505458;
  --text-color: #111;
  --border-color: rgba(255, 255, 255, 0.3);;
  --underline-border-color: rgba(255, 255, 255, 0.3);
  --text-color-light: #64748B;
  --body-background: #f8fafc;
  --btn-color: #334155;
  --thpc-box-shadow:0 4px 30px rgba(0, 0, 0, 0.1);
    --thpc-box-background:rgb(255 255 255 / 34%);
}

.th-compare-output-wrap .th-compare-output-wrap-inner {
      background-color: rgb(247 251 255 / 88%);
    backdrop-filter: blur(7px);
  height: 100%;
  width: 100%;
  position: relative;
  overflow: auto;
  padding-top: 69px;

}

.th-compare-output-product{
    max-width: 80rem;
    margin: 54px auto;
    border-radius: 1rem;
    background: var( --thpc-box-background);
    border-radius: 16px;
    box-shadow: var(--thpc-box-shadow);
    /* backdrop-filter: blur(8.4px);
    -webkit-backdrop-filter: blur(8.4px); */
    border: 1px solid var(--border-color);
}
.th-compare-output-product table{
  border: 0;
}
.tooltip-show-with-title {
  background-color: black;
  position: absolute;
  z-index: 100000;
  border: 1px solid black;
  padding: 4px 13px;
  color: white;
  border-radius: 3px;
  text-align: center;
  width: fit-content;
  max-width: 182px;
  transition: 0.2s transform ease, 0.2s opacity ease;
  transform: translateY(-25px);
  opacity: 0;
}
.tooltip-show-with-title.active {
  visibility: visible;
  transform: translateY(0);
  opacity: 1;
}
.tooltip-show-with-title .pointer_ {
  height: 10px;
  width: 15px;
  margin: auto;
  display: block;
  fill: black;
  position: absolute;
  bottom: -10px;
  transform: translateX(-50%) rotateZ(180deg);
  left: 50%;
}

.th-product-compare-btn {
  margin: 10px 0;
  display: inline-flex;
  align-items: center;
  position: relative;
  line-height: 1;
}
.th-product-compare-btn.txt_type {
  color: #3575e9;
  font-weight: bold;
}
/*.th-product-compare-btn.icon_type.th-added-compare i {
  display: none;
}*/
.th-product-compare-btn.btn_type,
.th-product-compare-btn.icon_type {
  background: transparent;
  color: inherit;
  padding: 8px 10px;
  text-align: inherit;
  /*  font-size: 14px;*/
  font-size: 18px;
  outline: 0;
  border: 0;
}

.single-product .th-product-compare-btn.icon_type {
  padding: initial;
  text-align: inherit;
  outline: 0;
  border: 0;
  margin: initial;
  display: initial;
  align-items: initial;
  line-height: initial;
}
.th-product-compare-btn.icon_type .icon{
  margin-right: 9px;
  font-style: normal;
}
.th-product-compare-btn.icon_type.th-added-compare,
.th-product-compare-btn.txt_type.th-added-compare{
  opacity: .7;
}
.th-product-compare-btn.icon_type:hover:after{
    content: attr(th-tooltip);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    line-height: initial;
    white-space: nowrap;
    z-index: 10;
}
.th-product-compare-btn.btn_type.th-added-compare::before{
  content: "\f15e";
  font-family: "dashicons";
  display: inline-block;
  box-sizing: border-box;
  background: #111;
  color: #FFF;
  border-radius: 5px;
  margin-right: 9px;
}
/* .th-product-compare-btn.loading {
  pointer-events: none;
}
.th-product-compare-btn.loading:after {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 4px solid #436eee;
  border-top-color: white;
  animation: loaderTMKWithCenter 0.8s linear 0s infinite forwards;
} */

@keyframes loaderTMKWithCenter {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.th_product_Compare_body_Class {
  overflow: hidden !important;
}

.th-compare-output-wrap {
  position: fixed;
  width: 100%;
  z-index: 1000000000;
  top: 0;
  height: 100%;
  left: 0;
  opacity: 0;
  visibility: hidden;
  box-sizing: border-box;
  transition: 0.5s visibility linear;
}
.th-compare-output-wrap.active {
  visibility: visible;
   opacity: 1; 
  animation: popupStyle1 1.2s ease 0s 1 forwards;
}
.th-product-compare-btn-wrap{
  text-align: center;
}
.th-product-compare-btn-wrap a{
  text-decoration: none;
}
.th-compare-output-wrap.active.th-animation-2 {
  animation: popupStyle2 1.2s ease 0s 1 forwards;
}
.th-compare-output-wrap.active.th-animation-3 {
  animation: popupStyle3 1.2s ease 0s 1 forwards;
}
.th-compare-output-wrap.active.th-animation-4 {
  animation: popupStyle4 1.2s ease 0s 1 forwards;
}
.th-compare-output-wrap.th-compare-output-wrap-close {
  animation: popupStyle1close 0.4s linear 0s;
}

#thpc-removeall {
  font-size: 12px;
  margin-left: 12px;
  color: inherit;
  cursor: pointer;
  opacity: .8;
}
#thpc-removeall:hover{
  color: #FFF;
}

.th-compare-output-wrap .th-compare-output-wrap-inner::-webkit-scrollbar {
  width: 2px;
}
.th-compare-output-wrap .th-compare-output-wrap-inner::-webkit-scrollbar-track {
  border-radius: 10px;
}
.th-compare-output-wrap .th-compare-output-wrap-inner::-webkit-scrollbar-thumb {
  background: #838383;
  border-radius: 10px;
}
.th-compare-output-wrap .th-compare-loader {
  display: none;
}
.th-compare-output-wrap.th-loading .th-compare-loader {
  position: absolute;
  z-index: 10000;
  background: #ffffffe8;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.th-compare-output-wrap.th-loading .th-compare-loader svg {
  animation: loaderTMK 0.8s linear 0s infinite forwards;
}
.th-compare-loader svg{
  fill: #fff!important;
}
.th-compare-output-wrap .th-compare-heading {
  position: fixed;
  z-index: 10000;
  top: 0;
  width: 100%;
}
.th-compare-output-wrap .th-compare-output-close {
  width: fit-content;
  position: absolute;
  right: 29px;
  top: 50%;
  transform: translate(0, -50%);
}
.th-compare-output-wrap .th-compare-output-close i {
  font-size: 28px;
  color: #979797;
 background: rgb(255 255 255 / 60%);
  height: unset;
  width: unset;
  cursor: pointer;
  border-radius: 3px;
}

.th-compare-output-wrap-inner * {
  box-sizing: border-box;
}
.th-compare-output-wrap-inner .th-compare-heading {
    text-align: center;
    padding: .6rem;
    line-height: 1;
    color: #464646;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: rgb(255 255 255 / 58%);
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    /* backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); */
}
.wrap-category_{
  flex-grow: 2;

}
.th-compare-output-wrap-inner .th-compare-heading .heading_ {
  font-weight: 700;
    font-size: 1rem;
    line-height: 1.75rem;
    color: var(--text-color);
    letter-spacing: .009rem;
}
.th-compare-output-wrap-inner .th-compare-heading .error_ {
  color: #eb3033;
  display: block;
  font-size: 13px;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.th-compare-output-wrap-inner .th-compare-heading .wrap-category_ .wrap-category_inner {
    display: flex;
    width: 456px;
    grid-gap: 12px;
    margin: 0 auto;
    padding: 8px 5px;
    align-items: center;
}
.th-compare-output-wrap-inner .th-compare-heading .wrap-category_ .wrap-category_inner {
  overflow-x: auto; /* Enables horizontal scrolling */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
}

.th-compare-output-wrap-inner .th-compare-heading .wrap-category_ .wrap-category_inner::-webkit-scrollbar {
  height: 4px; /* Custom scrollbar height */
}

.th-compare-output-wrap-inner .th-compare-heading .wrap-category_ .wrap-category_inner::-webkit-scrollbar-track {
  background-color: #f1f5f9; /* Track color */
}

.th-compare-output-wrap-inner .th-compare-heading .wrap-category_ .wrap-category_inner::-webkit-scrollbar-thumb {
  background-color: #cbd5e1; /* Thumb color */
  border-radius: 10px; /* Rounded corners */
}

.th-compare-output-wrap-inner .th-compare-heading .wrap-category_ .wrap-category_inner::-webkit-scrollbar-thumb:hover {
  background-color: #b2bcc5; /* Thumb hover color */
}

.th-compare-output-wrap-inner .th-compare-heading .wrap-category_ .wrap-category_inner a {
text-transform: capitalize;
    font-weight: 500;
    font-size: 0.78rem;
    cursor: pointer;
    color: #323232;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    text-decoration: none;
    background: rgb(255 255 255 / 23%);
    border-radius: 9999px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* backdrop-filter: blur(8.4px);
    -webkit-backdrop-filter: blur(8.4px); */
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex: none;
}
.th-compare-output-wrap-inner .th-compare-heading .wrap-category_ .wrap-category_inner a:hover{
  background: #e5e7eb;
}
.th-compare-output-wrap-inner .th-compare-heading .wrap-category_ .wrap-category_inner a.active{
 color: #FFF;
    background: rgb(0 0 0 / 69%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgb(86 85 85 / 30%);

}
.th-compare-output-product {
  overflow: auto;
}
.th-compare-output-product a,
.th-compare-output-product span {
  font-family: "inherit", sans-serif;
}
.th-compare-add-to-cart-btn{
  display: flex!important;
  justify-content: center!important;
  align-items: center!important;
}
.th-compare-output-product .th-compare-add-to-cart-btn {
  width: fit-content;
}

.th-compare-output-product .th-compare-rating .star-rating {
  float: unset;
  margin: auto;
  font-family: "star";
  color: #ffd532;
  font-size: 16px;
}
.th-compare-output-product .th-compare-rating span {
  font-family: "star";
  line-height: 1;
}
.th-compare-output-product .th-compare-rating .th-rating-count {
  font-size: 12px;
  display: none;
}
.th-compare-output-product .product-table-configure {
  margin: 0;
  width: 100%;
}
.th-compare-output-product .product-table-configure tr {
  position: relative;
  border-bottom: 1px solid var(--underline-border-color);
}
.th-compare-output-product
  .product-table-configure
  tr.th-difference-row
  td:not(.left-title) {
  background-color: #fdff5a1c;
  border-bottom: 1px solid #ffdd5170;
}
.th-compare-output-product .product-table-configure tr.th-hide-difference-row {
  display: none;
}
.th-compare-output-product .product-table-configure td {
  padding: 1rem;
  vertical-align: top;
  border: none;
  min-width: 250px;
  max-width: 250px;
  text-align: center;
}
.th-compare-output-product .product-table-configure td .th-in-stoct {
   position: relative;
    color: #15803d;
    background: #dcfce78c;
    width: max-content;
    margin: 0 auto;
    padding: 0 .50rem;
    border-radius: 9999px;
    text-transform: capitalize;
    padding: .25rem .75rem;
    font-size: 0.75rem !important;
    line-height: 1rem;
    border: 1px solid var(--border-color);
}
.th-compare-output-product .product-table-configure td .th-in-stoct:before{
  content: "\f147";
  font-family: "dashicons";
  position: relative;
  transform: translateY(2px);
    display: inline-flex
}
.th-compare-output-product .product-table-configure td .th-out-of-stoct {
  color: #a90a0a;
}
.th-compare-output-product .product-table-configure td.left-title {
 position: relative;
    z-index: 1000;
    width: 220px;
    min-width: 178px;
    max-width: 242px;
    font-weight: 600;
    color: inherit;
    text-transform: capitalize;
    text-align: left;
    padding-left: 20px;
    vertical-align: middle;
    position: sticky;
    left: 0 !important;

}
.th-compare-output-product .product-table-configure td.left-title span {
    font-size: 14px;
    opacity: .6;
    color: inherit;
}
.th-compare-output-product .product-table-configure .top-title td.left-title {
  z-index: 1010;
}
.th-compare-output-product .product-table-configure .th-add-to-cart_ {
  display: flex;
  grid-gap: 7px;
  flex-wrap: wrap;
}
.th-compare-output-product
  .product-table-configure
  .th-add-to-cart_
  .th-compare-add-to-cart-btn.loading,
.th-compare-output-product
  .product-table-configure
  .th-add-to-cart_
  .added_to_cart.loading {
  display: flex;
  align-items: center;
  width: fit-content;
}
.th-compare-output-product
  .product-table-configure
  .th-add-to-cart_
  .th-compare-add-to-cart-btn.loading:after,
.th-compare-output-product
  .product-table-configure
  .th-add-to-cart_
  .added_to_cart.loading:after {
  position: unset;
  margin-left: 5px;
}
.th-compare-output-product .product-table-configure .price_ {
  color: inherit;
  font-weight: 600;
  display: flex;
  grid-gap: 7px;
  letter-spacing: 1px;
  font-size: 1.25rem;
  line-height: 1.75rem;
  justify-content: center;
}
.product-table-configure .price_ ins{
  text-decoration: none;
}
.price_  del{
  color: #1111119c;
}
.th-compare-output-product
  .product-table-configure
  ._image_
  .image-and-addcart
  .img_ {
  position: relative;
  margin: 0 auto;
  transition: all .2s linear;
}
.image-and-addcart .img_{
  width: 168px;
  height: 168px;
}
.th-compare-output-product .product-table-configure ._image_ .image-and-addcart .img_:hover{
  transform: scale(1.1);
}
.th-compare-output-product
  .product-table-configure
  ._image_
  .image-and-addcart
  .img_
  img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  border-radius: .5rem;
border: 1px solid var(--border-color);
}
.th-compare-output-product
  .product-table-configure
  ._image_
  .image-and-addcart
  .product-title_
  > a {
  color: #5d5e61;
  font-weight: 600;
  letter-spacing: 1px;
}
.th-compare-output-product .product-table-configure .th-compare-product-remove {
  color: #444444;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  grid-gap: 4px;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 1px;
}
.th-compare-output-product
  .product-table-configure
  .th-compare-product-remove
  i {
  color: #d84747;
  font-size: 14px;
  height: unset;
  width: unset;
}
.th-compare-output-product
  .product-table-configure
  .th-compare-product-remove:hover {
  border-bottom: 1px solid #d84747;
}

.th_auto_single_page {
  margin-bottom: 10px;
}
.th_auto_single_page .th-compare-output-wrap-inner .th-compare-heading {
  background-color: #f7f7f7;
  text-align: center;
  padding: 6px 20px;
}
.th_auto_single_page
  .th-compare-output-wrap-inner
  .th-compare-heading
  .heading_ {
  color: black;
}
.th_auto_single_page .th-compare-output-product {
  border: 1px solid whitesmoke;
}
.th_auto_single_page
  .th-compare-output-product
  .product-table-configure
  tr:first-child
  td.left-title {
  background-color: white;
}

@keyframes popupStyle1 {
  0% {
    transform: translateY(-80px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes popupStyle2 {
  0% {
    opacity: 0;
    transform: translateX(-210px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes popupStyle3 {
  0% {
    opacity: 0;
    transform: translateX(210px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes popupStyle4 {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes popupStyle1close {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: 0;
  }
}
@keyframes loaderTMK {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.th-compare-output-product::-webkit-scrollbar {
  height: 7px;
  width: 2px;
}
.th-compare-output-product::-webkit-scrollbar-track {
    background-color: #f1f5f9; /* Track color */
    
}
.th-compare-output-product::-webkit-scrollbar-thumb {
 background-color: #cbd5e1; /* Thumb color */
 border-bottom-left-radius: 1rem;    /* fully rounded */
  border-bottom-right-radius: 1rem;  
}
.th-compare-output-product::-webkit-scrollbar-thumb:hover {
  background-color: #b2bcc5; /* Thumb hover color */
}

tr td .mobile-title{
display:none;
}
.product_image .empty-slot {
    width: 50px;
    height: 50px;
    background: transparent!important;
    border: 2px dashed #ccc;
    display: inline-block;
    margin-right: 5px;
    border-radius: 5px;
}
.th-heighlights-products {
    display: flex;
    grid-gap: 9px;
    margin-right: 45px;

}
.th-heighlights-products > div {
    width: fit-content;
    color: inherit;
    padding: 4px 8px;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    grid-gap: 4px;
    font-weight: 500;
    letter-spacing: .02rem;
    opacity: 0.8;
}


/* Each button */
.th-heighlights-products > div {
  position: relative;
  padding-left: 48px;   /* space for toggle */
  cursor: pointer;
  user-select: none;
  font-size: .875rem;
  line-height: 1.25rem;
}

/* Toggle track */
.th-heighlights-products > div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 38px;
    height: 20px;
    border-radius: 20px;
    transition: 0.25s ease;
    background: rgb(229 231 235 / 80%);
}

/* Toggle knob */
.th-heighlights-products > div::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s ease;
}

/* ACTIVE (ON) */
.th-heighlights-products > div.active::before {
  background: rgb(99 102 241 / 72%);
}

.th-heighlights-products > div.active::after {
  transform: translateX(18px);
}


.th-mobile-view .th-heighlights-products {
  width: 100%;
}

.th-compare-add-shortcode {
  display: flex;
}
.th-compare-add-shortcode > div:not(.themehunk-sidebar) {
  padding-right: 30px;
  flex: 1;
}
.th-compare-add-shortcode .add-product-wrap {
  display: flex;
  grid-gap: 20px;
  padding: 28px;
  flex-wrap: wrap;
  width: 100%;
  flex-direction: column;
}
.th-compare-add-shortcode .add-product-wrap > .bold-heading {
  width: 280px;
}
.th-compare-add-shortcode .add-product-wrap .add-by-enter-product {
  border: 1px solid #d2d2d2;
  padding: 10px;
  width: 65%;
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .added-product-id {
  display: flex;
  grid-gap: 10px;
  margin-bottom: 11px;
  flex-wrap: wrap;
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .added-product-id
  .added_id {
  color: #666666;
  padding: 3px 3px 3px 16px;
  position: relative;
  border-radius: 5px;
  background: #e4e4e4;
  letter-spacing: 1px;
  border: 1px solid #aaa;
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .added-product-id
  .rm_ {
  position: absolute;
  left: 0;
  font-size: 12px;
  transform: translateY(-50%);
  top: 69%;
  cursor: pointer;
  color: #999;
  font-weight: 700;
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .added-product-id
  .rm_:hover {
  color: #686868;
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .wrap-input-product {
  position: relative;
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .wrap-input-product
  .input-placeholder {
  padding: 11px;
  background: #e5e5e5;
  border-radius: 4px 0px 0px 4px;
  position: absolute;
  left: 1px;
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .wrap-input-product
  .input-placeholder
  span:before {
  content: "\f179";
  font-family: "dashicons";
  font-size: 16px;
  display: block;
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .wrap-input-product.loading
  .input-placeholder
  span:before {
  content: "\f463";
  animation: loaderTMK 0.8s linear 0s infinite forwards;
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .wrap-input-product
  input {
  width: 100%;
  padding: 0 5px 5px 47px;
  border-color: #e4e4e7;
  margin: 0;
  height: 40px;
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .wrap-input-product
  .product-result {
  visibility: hidden;
  position: absolute;
  border: 1px solid #d2d2d2;
  flex-direction: column;
  background-color: whitesmoke;
  border-radius: 0 0 4px 4px;
  transform: translateY(30px);
  opacity: 0;
  transition: 0.2s all linear;
  max-height: 300px;
  overflow: auto;
  width: 330px;
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .wrap-input-product
  .product-result
  span[data-id] {
  padding: 8px 10px;
  border-bottom: 1px solid #d2d2d2;
  cursor: pointer;
  transition: 0.2s all ease;
  display: flex;
  align-items: center;
  grid-gap: 5px;
  font-size: 15px;
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .wrap-input-product
  .product-result
  span[data-id]:before {
  content: "\f159";
  font-family: "dashicons";
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .wrap-input-product
  .product-result
  span[data-id].checked {
  background: #d5e0e5;
  color: black;
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .wrap-input-product
  .product-result
  span[data-id].checked:before {
  content: "\f147";
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .wrap-input-product
  .product-result
  span[data-id]:hover {
  background: #07618f;
  color: white;
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .wrap-input-product
  .product-result
  span[data-id]
  .img_ {
  height: 40px;
  width: 75px;
  position: relative;
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .wrap-input-product
  .product-result
  span[data-id]
  .img_
  img {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  object-fit: scale-down;
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .wrap-input-product
  .product-result
  span.th-no-product-found {
  padding: 10px;
  border-bottom: 1px solid #d2d2d2;
  min-width: 230px;
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-by-enter-product
  .wrap-input-product.active
  .product-result {
  opacity: 1;
  visibility: visible;
  display: flex;
  transform: translateY(0);
}
.th-compare-add-shortcode .add-product-wrap .add-product-shortcode-shortcode {
  margin: 25px 0 0;
  width: 75%;
}
.th-compare-add-shortcode
  .add-product-wrap
  .add-product-shortcode-shortcode
  .th_product_compare_id {
  padding: 10px 26px;
  background-color: #f0f0f1;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 3px;
  font-size: 15px;
  line-height: 1;
  color: #5a5a5a;
  text-align: center;
  word-break: break-word;
}

.th_hide_footerwp {
  display: none;
}

/* .th-compare-footer-wrap {
  position: fixed;
  z-index: 1000000000;
  background-color: #0000007a;
  width: 100%;
  bottom: -150px;
  transition: 0.8s all ease;
  box-sizing: border-box;
} */
 .th-compare-footer-wrap *{
  box-sizing: border-box;
 }

.th-compare-footer-wrap {
   position: fixed;
    z-index: 50;
    left: 1rem;
    transition: 0.8s all ease;
    right: 1rem;
    bottom: 1rem;
    justify-content: center;
    display: flex;
}
.th-compare-footer-wrap a{
  text-decoration: none;
}
.th-compare-footer-wrap.active {
  bottom: 1rem;
}
.th-compare-footer-wrap.active .th-footer-up-down .icon_2 {
  transform: rotate(180deg);
}
.th-compare-footer-wrap .th-footer-up-down {
  margin: 0;
  position: absolute;
  top: -35px;
  height: 35px;
  padding: 0 12px;
  border-radius: 8px 8px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translatex(-50%);
  left: 50%;
  background-color: #111;
  grid-gap: 8px;
  color: #FFF;
  border: none;
  font-weight: 700;
  letter-spacing: 0.03rem;
  font-size: 14px;
  box-shadow: 0px -4px 8px 0px rgba(69, 77, 89, 0.21);
  cursor: pointer;
  display: none;
}
.th-compare-footer-wrap .th-footer-up-down:focus {
  outline: none;
}
.th-compare-footer-wrap .th-footer-up-down .icon_2 {
  transition: 0.2s transform ease;
}
.th-compare-footer-wrap .th-compare-footer-level2 {
   background: rgb(1 1 8 / 86%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgb(97 97 97 / 50%);
    display: flex;
    grid-gap: 10px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    border-radius: 1rem;
    max-width: 48rem;
    width: 100%;
    transition-duration: 300ms;
    padding: 0.75rem;
    color: #FFF;
}
.th-compare-footer-level3{
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.th-compare-footer-level3 .th-compare-left,
.th-compare-footer-level3 .th-compare-right{
  display: flex;
  align-items: center;
  gap: .75rem;
}
.th-compare-footer-wrap > div .th-footer-bar-opner {
  visibility: visible;
}
.th-compare-footer-wrap > div .th-add-product-bar {
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  color: #464646;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03rem;
}
.th-compare-footer-wrap.position-left > div .th-add-product-bar,
.th-compare-footer-wrap.position-right > div .th-add-product-bar{
  width: max-content;
  margin: 0 auto;
}
.th-compare-footer-wrap.position-right  .th-atleast,
.th-compare-footer-wrap.position-left  .th-atleast{
  text-align: center;
  line-height: 21px;
}
.th-compare-footer-wrap.position-right > div .product_image,
.th-compare-footer-wrap.position-left > div .product_image{
/*  max-height: 499px;*/
max-height: 452px;
}
#thpc-removeall span{
  display: flex;
}
.th-compare-footer-wrap > div .th-add-product-bar i {
  height: unset;
  width: unset;
  font-size: 18px;
  padding: 9px;
  background-color: #32373e;
  color: #9ca3af;
  border: 2px dashed #9ca3af;
  border-radius: 5px;
}
.th-compare-footer-wrap > div .th-add-product-bar i:hover{
  border-color: var(--highlight-color);
  color: var(--highlight-color);
}
.th-compare-footer-wrap > div .th-add-product-bar span {
  padding: 0 11px;
}
.th-compare-footer-wrap .product_image {
  /* overflow: auto; */
    display: flex;
    column-gap: 12px;
    margin-left: 18px;   
}
.th-compare-footer-wrap > div .product_image .img_ {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  position: relative;
  background: #dbdbdb;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.th-compare-footer-wrap > div .product_image .img_:hover .th-remove-product {
  opacity: 1;
}
.th-compare-footer-wrap > div .product_image .img_ .th-remove-product {
  position: absolute;
  right: -5px;
  top: -8px;
  z-index: 10;
  color: white;
  background: var(--btn-color);
  width: unset;
  height: unset;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.2s all linear;
  padding: 2px;
  opacity: 0;
  line-height: 1;
}
.th-compare-footer-wrap > div .product_image .img_ .th-remove-product:hover{
  background: red;
}
.th-compare-footer-wrap > div .product_image .img_ .th-remove-product:before {
  content: "\f158";
  font-family: "dashicons";
  font-style: normal;
  font-size: 12px;
}
.th-compare-footer-wrap > div .product_image .img_ a {
  height: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.th-compare-footer-wrap > div .product_image .img_ img {
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
    border-radius: .5rem;
}
.th-compare-footer-wrap
  > div
  .th-compare-enable
  .th-compare-footer-product-opner {
  line-height: 1;
  padding: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  background: #fff;
  color: #111;
  font-weight: 500;
    font-size: .795rem;
    line-height: 1.25rem;
    letter-spacing: 0.03rem;
    padding: 9px 16px;
}
.th-compare-footer-wrap > div .th-compare-enable .th-compare-footer-product-opner:hover{
  background: #e9f1ff;
  color: var(--highlight-color);
}
.th-compare-footer-wrap
  > div
  .th-compare-enable
  .th-compare-footer-product-opner
  .icon_ {
  height: unset;
  width: unset;
  font-size: 16px;
  /* padding: 11px; */
  /* background-color: #b1b1b1; */
  border-radius: 8px 0px 0 8px;
  color: var(--highlight-color);
}
.th-compare-footer-wrap
  > div
  .th-compare-enable
  .th-compare-footer-product-opner
  .text_ {
  padding: 0 9px 0 5px;
}
.th-compare-footer-wrap
  > div
  .th-compare-enable
  .th-compare-footer-product-opner.active
  .icon_:before {
  content: "\f158";
}
.th-compare-footer-wrap .th-compare-loader {
  display: none;
}
.th-compare-footer-wrap.loading .th-compare-loader {
    position: absolute;
    z-index: 10000;
    background: #727272b8;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
    border-radius: 14px;
    background: rgb(0 0 0 / 48%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(5px);
}
.th-compare-footer-wrap.loading .th-compare-loader svg {
  animation: loaderTMK 0.8s linear 0s infinite forwards;
}
.th-compare-footer-wrap.position-right,
.th-compare-footer-wrap.position-left {
  width: 150px;
  height: 100%;
  bottom: 0;
}
.th-compare-footer-wrap.position-right > div,
.th-compare-footer-wrap.position-left > div {
  height: 100%;
  flex-direction: column;
  padding: 20px 0;
}
.th-compare-footer-wrap.position-right > div .product_image,
.th-compare-footer-wrap.position-left > div .product_image {
  flex-direction: column;
  justify-content: center;
}
.th-compare-footer-wrap.position-right > div .th-add-product-bar i,
.th-compare-footer-wrap.position-left > div .th-add-product-bar i {
  border-radius: 4px;
}
.th-compare-footer-wrap.position-right > div .th-add-product-bar span,
.th-compare-footer-wrap.position-left > div .th-add-product-bar span {
  display: none;
}
.th-compare-footer-wrap.position-right
  > div
  .th-compare-footer-product-opner
  .icon_,
.th-compare-footer-wrap.position-left
  > div
  .th-compare-footer-product-opner
  .icon_ {
  border-radius: 4px;
}
.th-compare-footer-wrap.position-right
  > div
  .th-compare-footer-product-opner
  .text_,
.th-compare-footer-wrap.position-left
  > div
  .th-compare-footer-product-opner
  .text_ {
  display: none;
}
.th-compare-footer-wrap.position-right .th-footer-up-down,
.th-compare-footer-wrap.position-left .th-footer-up-down {
  top: 50%;
  width: 30px;
  padding: 10px 14px;
  height: fit-content;
  transform: translateY(-50%);
  flex-direction: column;
  word-break: break-word;
  font-size: 12px;
}
.th-compare-footer-wrap.position-right .th-footer-up-down .text_,
.th-compare-footer-wrap.position-left .th-footer-up-down .text_ {
  display: none;
}
.th-compare-footer-wrap.position-right .th-footer-up-down:before,
.th-compare-footer-wrap.position-left .th-footer-up-down:before {
  content: attr(data-text);
  display: block;
  width: max-content;
  background-color: inherit;
  position: absolute;
  padding: 8px 10px;
  border-radius: 4px;
  color: inherit;
  font-size: 17px;
  opacity: 0;
  transition: 0.2s all linear;
  visibility: hidden;
}
.th-compare-footer-wrap.position-right .th-footer-up-down:after,
.th-compare-footer-wrap.position-left .th-footer-up-down:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: inherit;
  transform: rotate(45deg);
  opacity: 0;
  transition: 0.3s all linear;
  visibility: hidden;
}
.th-compare-footer-wrap.position-right .th-footer-up-down:hover:before,
.th-compare-footer-wrap.position-right .th-footer-up-down:hover:after,
.th-compare-footer-wrap.position-left .th-footer-up-down:hover:before,
.th-compare-footer-wrap.position-left .th-footer-up-down:hover:after {
  opacity: 1;
  visibility: visible;
}
.th-compare-footer-wrap.position-left {
  left: -150px;
}
.th-compare-footer-wrap.position-left .th-footer-up-down .icon_2 {
  transform: rotate(90deg);
}
.th-compare-footer-wrap.position-left.active {
  left: 0;
}
.th-compare-footer-wrap.position-left.active .th-footer-up-down .icon_2 {
  transform: rotate(-90deg);
}
.th-compare-footer-wrap.position-left .th-footer-up-down {
  right: -30px;
  left: unset;
  border-radius: 0 8px 8px 0;
}
.th-compare-footer-wrap.position-left .th-footer-up-down:before {
  left: 40px;
}
.th-compare-footer-wrap.position-left .th-footer-up-down:after {
  left: 40px;
}
.th-compare-footer-wrap.position-left .th-footer-up-down:hover:after {
  left: 35px;
}
.th-compare-footer-wrap.position-right {
  right: -150px;
}
.th-compare-footer-wrap.position-right .th-footer-up-down .icon_2 {
  transform: rotate(-90deg);
}
.th-compare-footer-wrap.position-right.active {
  right: 0;
}
.th-compare-footer-wrap.position-right.active .th-footer-up-down .icon_2 {
  transform: rotate(90deg);
}
.th-compare-footer-wrap.position-right .th-footer-up-down {
  left: -30px;
  right: unset;
  border-radius: 8px 0 0 8px;
}
.th-compare-footer-wrap.position-right .th-footer-up-down:before {
  right: 40px;
}
.th-compare-footer-wrap.position-right .th-footer-up-down:after {
  right: 40px;
}
.th-compare-footer-wrap.position-right .th-footer-up-down:hover:after {
  right: 35px;
}
.th-compare-footer-wrap.position-top {
  top: -150px;
  height: fit-content;
}
.th-compare-footer-wrap.position-top .th-footer-up-down .icon_2 {
  transform: rotate(180deg);
}
.th-compare-footer-wrap.position-top.active {
  top: 0;
}
 .logged-in .th-compare-footer-wrap.position-top.active {
  top: 30px;
}
.th-compare-footer-wrap.position-top.active .th-footer-up-down .icon_2 {
  transform: rotate(0);
}
.th-compare-footer-wrap.position-top .th-footer-up-down {
  top: unset;
  bottom: -35px;
  border-radius: 0 0px 8px 8px;
}

.th-add-more-product-container {
  display: none;
  position: fixed;
  background: #060606eb;
  width: 100%;
  height: 100%;
  z-index: 10000000;
  left: 0;
  top: 0;
}
.th-add-more-product-container * {
  box-sizing: border-box;
}
.th-add-more-product-container.active {
  display: flex;
  justify-content: center;
}
.th-add-more-product-container .th-add-more-product-inner {
  display: flex;
  align-items: center;
  height: 100%;
  width: 60%;
}
.th-add-more-product-container .th-add-more-product-inner .th-search-product {
  padding: 10px 10px;
  background-color: white;
  border-radius: 4px;
  position: relative;
  width: 100%;
}
.th-add-more-product-container
  .th-add-more-product-inner
  .th-search-product
  .remove_search_popup {
  position: absolute;
  right: -15px;
  top: -15px;
  background: #cd0b0b;
  color: white;
  border-radius: 3px;
  cursor: pointer;
  width: 33px;
  line-height: 33px;
  height: 33px;
}
.th-add-more-product-container
  .th-add-more-product-inner
  .th-search-product
  .th-search-product-input {
  width: 100%;
}
.th-add-more-product-container
  .th-add-more-product-inner
  .th-search-product
  .th-search-product-input
  input {
  width: 100%;
  border: 1px solid #d5e0e5;
  margin-bottom: 12px;
  border-radius: 4px;
  background-color: white;
  padding: 14px;
}
.th-add-more-product-container
  .th-add-more-product-inner
  .th-search-product
  .th-search-product-input-result {
  min-height: 200px;
  max-height: 340px;
  overflow: auto;
  background-color: white;
}
.th-add-more-product-container
  .th-add-more-product-inner
  .th-search-product
  .th-search-product-input-result
  .th-compare-external-popup-open {
  padding: 15px;
  border-bottom: 1px solid #f2f2f2;
  cursor: pointer;
  transition: 0.2s all ease;
  display: flex;
  align-items: center;
  grid-gap: 5px;
  font-size: 16px;
}
.th-add-more-product-container
  .th-add-more-product-inner
  .th-search-product
  .th-search-product-input-result
  .th-compare-external-popup-open:before {
  content: "\f159";
  font-family: "dashicons";
}
.th-add-more-product-container
  .th-add-more-product-inner
  .th-search-product
  .th-search-product-input-result
  .th-compare-external-popup-open.checked {
  background: #d5e0e5;
  color: black;
}
.th-add-more-product-container
  .th-add-more-product-inner
  .th-search-product
  .th-search-product-input-result
  .th-compare-external-popup-open.checked:before {
  content: "\f147";
}
.th-add-more-product-container
  .th-add-more-product-inner
  .th-search-product
  .th-search-product-input-result
  .th-compare-external-popup-open:hover {
  background: #07618f;
  color: white;
}
.th-add-more-product-container
  .th-add-more-product-inner
  .th-search-product
  .th-search-product-input-result
  .th-compare-external-popup-open
  .img_ {
  height: 60px;
  width: 75px;
  position: relative;
}
.th-add-more-product-container
  .th-add-more-product-inner
  .th-search-product
  .th-search-product-input-result
  .th-compare-external-popup-open
  .img_
  img {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  object-fit: scale-down;
}
.th-addremove{
  display: flex;
  align-items: center;
}
@media screen and (max-width: 1024px) {

.th-mobile-type-displey tr.th-custom-attr td.left-title{
  display: none!important;
}
tr td .mobile-title{
display:none;
}
.th-mobile-type-displey tr td:nth-child(1) .mobile-title,
.th-mobile-type-displey tr.th-custom-attr td:nth-child(2) .mobile-title{
display:block;
text-transform:capitalize;
margin-bottom:5px;
}
.th-compare-output-product .product-table-configure td {
vertical-align: bottom;
}

}
@media screen and (max-width: 768px) {
  .th-compare-output-wrap-inner .th-compare-heading{
    flex-direction: column;
    align-items: flex-start;
  }
}
@media screen and (max-width: 450px) {
  .th-compare-left{
    max-width: 70%;
  }
  .th-compare-footer-wrap > div .product_image{
    min-width: initial;
    max-width: 50%;
    margin-left: 0;
  }
  .th-compare-footer-wrap .product_image{
     overflow-x: auto; /* Enables horizontal scrolling */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
  }
    .th-compare-output-product .product-table-configure td {
    min-width: unset;
  }
  .th-compare-output-product .product-table-configure td.left-title {
    padding: 10px;
  }
  .th-compare-output-product .product-table-configure td.left-title span {
    font-size: 16px;
  }
  .th-compare-output-product
    .product-table-configure
    .image
    .image-and-addcart
    .img_ {
    min-width: unset;
    max-width: 60px;
    max-height: 80px;
  }
  .th-compare-footer-wrap > div {
    padding: 0 10px;
    justify-content: space-between;
  }
  .th-compare-footer-wrap > div .th-add-product-bar i {
    border-radius: 4px;
  }
  .th-compare-footer-wrap > div .th-add-product-bar span {
    display: none;
  }
  .th-compare-footer-wrap > div .th-compare-footer-product-opner .icon_ {
    border-radius: 4px !important;
  }
  .th-compare-footer-wrap > div .th-compare-footer-product-opner .text_ {
    display: none;
  }

  .th-add-more-product-container .th-add-more-product-inner {
    justify-content: center;
    width: 95%;
  }
  .th-add-more-product-container .th-add-more-product-inner .th-search-product {
    max-width: 90%;
  }
  .th-add-more-product-container
    .th-add-more-product-inner
    .th-search-product
    .th-search-product-input-result
    .th-compare-external-popup-open {
    font-size: 14px;
  }
  .th-add-more-product-container
    .th-add-more-product-inner
    .th-search-product
    .th-search-product-input-result
    .th-compare-external-popup-open
    .img_ {
    height: 45px;
    width: 52px;
  }
  .th-add-more-product-container
    .th-add-more-product-inner
    .th-search-product
    .th-search-product-input
    input {
    padding: 4px;
    margin-bottom: 4px;
  }
  .th-add-product-bar span{
    display: none;
  }
  .th-compare-footer-wrap > div .th-add-product-bar{
    display: initial;
  }
    #thpc-removeall {
    margin-left: 9px;
}
.th-compare-footer-wrap > div .th-add-product-bar i,
.th-compare-footer-wrap > div .th-compare-enable .th-compare-footer-product-opner .icon_{
  background: #FFF;
}
.th-atleast{
  display: none;
}
.th-compare-output-wrap-inner .th-compare-heading{
  flex-wrap: wrap;
  gap: 5px;
}
.th-heighlights-products > div{
  font-size: 9px;
}
.th-compare-output-wrap-inner .th-compare-heading .heading_{
  font-size: .9rem;
  line-height: 1.2rem;
}
.th-compare-output-wrap-inner .th-compare-heading .wrap-category_ .wrap-category_inner a{
  padding-left: .7rem;
    padding-right: .7rem;
    padding-top: 0.175rem;
    padding-bottom: 0.175rem;
}
.th-compare-output-wrap .th-compare-output-close{
  right: 9px;
  top: 18px;
  transform: initial;
}
.th-compare-output-wrap-inner .th-compare-heading .wrap-category_ .wrap-category_inner::-webkit-scrollbar{
  display: none;
}
.th-compare-footer-wrap .product_image::-webkit-scrollbar{
  display: none!important;
}
.th-compare-output-product{
  max-height: 529px;
}
.th-compare-output-wrap .th-compare-output-wrap-inner{
  padding-top: 108px!important;
}
}

.woocommerce .product-table-configure  ._add-to-cart_ .th-add-to-cart_,
.woocommerce .product-table-configure .th-add-to-cart_ .th-add-to-cart_,
.woocommerce .th-add-to-cart_{
    border-radius: .5rem;
    background: #1f2937;
    color: #FFF;
    letter-spacing: 0.005rem;
    min-width: 10rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    
  }
  .th-add-to-cart_  .th-compare-add-to-cart-btn{
    padding: 0.7rem 0.5rem!important;
    background: transparent!important;
  }
   .th-add-to-cart_ {
     margin-bottom: 16px;
   }
.woocommerce .product-table-configure  ._add-to-cart_ .th-add-to-cart_,
.woocommerce .product-table-configure .th-add-to-cart_ .th-add-to-cart_,
.th-compare-output-product .product-table-configure  .th-first-wrap td > span,
.th-compare-output-product .product-table-configure  .th-first-wrap + tbody td > span,
.th-compare-output-product .product-table-configure .th-add-to-cart_{
  align-items: center;  
  display: flex;
    justify-content: center;
  }
  .left-title span{
    justify-content: flex-start!important;
  }
  .woocommerce .product-table-configure  ._add-to-cart_ .th-add-to-cart_ a,
.woocommerce .product-table-configure .th-add-to-cart_ .th-add-to-cart_ a,
.woocommerce .th-add-to-cart_ a{
  background: transparent;
  color: inherit;
  padding: 0;
  text-decoration: none;
}
.woocommerce .th-compare-output-product .added_to_cart.wc-forward{
    margin-top: 9px;
  }
.th-atleast{
  font-size: 15px;
  color: inherit;
  max-width: 152px;
  margin: 0;
}
.th-atleast .th-selected{
    display: block;
    font-size: .7rem;
    line-height: .7rem;
    text-align: center;
    text-transform: uppercase;
    color: inherit;
    opacity: .7;
}
/* Compare Styling with checkbox feature Start*/
/* Container for the compare checkbox */
.th-product-compare-btn-wrap {
    margin: 5px 0;
    justify-content: center;
    display: flex;
}
.single-product .th-product-compare-btn-wrap{
  justify-content: flex-start;
  margin: 0;
}
.th-product-compare-btn.checkbox_type {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
  padding: 5px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

/* Optional: Style label background when checked */

/* Hide the default checkbox but keep it accessible */
.th-compare-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Style the custom checkbox (using span as the visual checkbox) */
.th-product-compare-btn.checkbox_type > span {
  position: relative;
  padding-left: 28px;
  line-height: 20px;
  color: #333;
  font-weight: 500;
}

/* Custom checkbox box (unchecked state) */
.th-product-compare-btn.checkbox_type > span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid #111;
  background-color: #fff;
  border-radius: 4px;
  transition: all 0.2s ease;
}

/* Custom checkbox checkmark (checked state) */
.th-compare-checkbox:checked + span::after {
  content: '\2713';
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

/* Checked state background */
.th-compare-checkbox:checked + span::before {
  background-color: green;
  border-color: green;
}

/* Hover effect */
.th-product-compare-btn.checkbox_type:hover > span::before {
  border-color: #005580;
}

/* Focus state for accessibility */
.th-compare-checkbox:focus + span::before {
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.3);
}

/* Disabled state */
.th-compare-checkbox:disabled + span::before {
  background-color: #f0f0f0;
  border-color: #ccc;
  cursor: not-allowed;
}

/* Disabled checked state */
.th-compare-checkbox:disabled:checked + span::before {
  background-color: #999;
  border-color: #777;
}
/* Loader styles for when loading class is added */
.th-product-compare-btn.loading {
  pointer-events: none; /* Prevent interaction during loading */
  opacity: 0.7; /* Slight fade effect */
}

.th-product-compare-btn.loading::before,
.th-compare-checkbox.loading + span:after{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid #0073aa;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin-loader 0.8s linear infinite;
  z-index: 10;
}
.single-product .th-product-compare-btn.loading::before{
  content: ' '!important;
}
/* Spinner animation */
@keyframes spin-loader {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* Compare Styling with checkbox feature End*/

/* product_image with black background */

/* Customize the horizontal scrollbar */
.product_image::-webkit-scrollbar {
  height: 6px; /* Thin scrollbar */
}

.product_image::-webkit-scrollbar-thumb {
  background-color: #888; /* Light grey thumb */
  border-radius: 10px; /* Rounded corners */
}

.product_image::-webkit-scrollbar-thumb:hover {
  background-color: #555; /* Darker grey when hovering */
}

.product_image::-webkit-scrollbar-track {
  background-color: #222; /* Darker track */
}
.th-compare-footer-wrap.position-right .product_image::-webkit-scrollbar,
.th-compare-footer-wrap.position-left .product_image::-webkit-scrollbar {
  width: 5px; /* Thin scrollbar */
}


.th-first-wrap {
  background: #fafafa;
  border-bottom: 1px solid var(--underline-border-color);
}
.th-compare-output-product .th-first-wrap td{
  background: #fff!important;
}
.th-compare-output-product .th-first-wrap img{
  border-radius: .5rem;
}

.th-first-wrap + tbody tr{
  border-bottom: 1px solid var(--underline-border-color);
}
.th-first-wrap + tbody tr:last-child{
  border: 0;
}
.th-compare-output-product .product-table-configure .th-first-wrap + tbody td{
  padding: 1rem;
}
.product-title_ a{
    font-size: .925rem;
    line-height: .95rem;
    font-weight: 700;
    text-decoration: none;
}

/* .th-first-wrap tr{
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
} */


.pc-product-details{
  display: flex;
  flex-direction: column;
  gap: 9px;
}
._SKU_{
  color: inherit;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  text-transform: capitalize;
}
.th-compare-heading .th-compare-count{
  font-size: 0.8rem;
    line-height: 1.25rem;
    color: inherit;
    display: block;
    text-align: left;
    text-transform: capitalize;
    font-weight: 500;
    opacity: 0.6;
}
._description_ span{
  text-align: left;
  font-size: 0.825rem;
 
}
.th-compare-enable.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}
.th-compare-enable.disabled a{
  background: #32373e!important;
  color: #999!important;
  border: 1px solid #999!important;
}

.th-compare-enable.active {
  opacity: 1;
  pointer-events: auto;
}
