html,
body {
  width: 100%;
  scroll-behavior: smooth;
}

#main {
  min-height: 100vh;
  width: 100%;
}
#htc-compare h3 {
  font-size: var(--tblTitleFontSize);
  font-weight: var(--tblTitleFontWeight);
  color: var(--tblTitleColor);
  text-align: var(--tblTitleAlign);
}
.htc-mobile-table-title {
    font-size: var(--tblTitleFontSize);
  font-weight: var(--tblTitleFontWeight);
  color: var(--tblTitleColor);
  text-align: var(--tblTitleAlign);
}

.page-title.h0{
  font-size: var(--tblHeaderPageFontSize);
  font-weight: var(--tblHeaderPageFontWeight);
  color: var(--tblHeaderPageColor);
  text-align: var(--tblHeaderPageAlign);
}

.htc-body-side-padding {
  padding: 0 6vw;
}

.htc-versus {
  color: var(--primary-color);
}

.htc-sub-heading {
  font-size: var(--sub-heading-font-size);
  color: var(--heading-color);
  letter-spacing: var(--letter-spacing);
  background-color: cyan;
}

.htc-second-sub-heading {
  /* v8. */
  font-size: var(--second-heading-font-size);
  color: var(--heading-color);
  letter-spacing: var(--letter-spacing);
}

.htc-para {
  font-size: var(--para-font-size);
  color: var(--para-color);
  line-height: 1.8rem;
  letter-spacing: 0.01rem;
}

.htc-rating_cont {
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
}

.htc-star_cont {
  margin-right: 0.5rem;
}

.htc-star_cont i {
  color: var(--rating-color);
  font-size: 0.9rem;
}

.htc-rating_cont span {
  font-size: 0.9rem;
}

.htc-Buy-btn {
  padding: 0.3rem 0.5rem;
  width: fit-content;
  background-color: black;
  color: white;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border-radius: 0.3rem;
  border: none;
  font-size: 0.9rem;
}

.htc-scroll-Controller {
  scroll-margin-block-start: 6vw;
}

footer {
  height: 30vw;
  width: 100%;
  background-color: black;
  margin-top: 1.5vw;
}

/* ================ comparison preview =============== */
.htc-comparison-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}
.htc-comparison-preview-header.htc-header-hidden {
  padding: 0rem;
}
.htc-comparison-preview-header.htc-header-hidden .htc-comparison-preview-title {
display: none;
}
.htc-comparison-preview-header.htc-header-hidden  a {
  display: none;
}

.htc-comparison-preview-header i {
  font-size: 1.5vw;
  color: white;
}

.htc-comparison-preview {
  width: 100%;
  position: fixed;
  bottom: 0%;
  background-color: rgb(44 48 52 / 94%);
}

.htc-comparison-list {
  display: flex;

  height: 0;
  align-items: center;
}

.htc-open {
  height: fit-content !important;
  padding: 0vw 0.5vw 0vw 6vw;
}
.htc-arrow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: -20px;
  left: var(--overlayArrowPosition);
  width: 200px;
  border-radius: 10px 10px 0px 0px;
  transform: translate(-50%, 0);
}
.htc-arrow.htc-arrow-open {
  transform: rotate(-90deg) !important;
}

.htc-arrow {
  transform: rotate(90deg) !important;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
}

.htc-comparison-list #main-compare-list-cont {
  width: 90%;
  display: flex;
  height: 0;
  justify-content: flex-start;
  margin: 0;
  overflow-y: auto;
}

.htc-open #main-compare-list-cont {
  height: fit-content !important;
}

.htc-comparison-list ul {
  padding: 0rem !important;
}

.htc-preview_product {
  position: relative;
  width: 20%;
  margin: 1rem;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: fit-content;
}

.htc-comparison-preview-clear-list {
  position: absolute;
  top: 5%;
  right: 5%;
}

.htc-open .htc-comparison-preview-clear-list {
  border: none;
  background-color: #ffffff;
}

.htc-comparison-preview-clear-list svg path {
  color: black;
}

.htc-comparison-preview-name {
  width: 100%;
  margin: 0.2rem;
  color: white;
  font-size: 1.4rem;
  text-overflow: ellipsis;
    overflow: hidden;

}

.htc-preview_product .htc-comparison-preview-img {
  width: auto;
  height: 100px;
}

.htc-preview_product .htc-comparison-preview-img img {
  width: 100px;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.htc-comparison-list .htc-comparison-preview-button-cont {
  display: none;
}

.htc-comparison-list .htc-comparison-preview-button-cont {
  display: none;
}

.htc-open .htc-comparison-preview-button-cont {
  display: grid;
  text-align: center;
}

.htc-overllayCmpBtn {
  padding: 0.5vw 2vw;
  background-color: var(--overlayCompareBtnBgColor);
  color: var(--overlayCompareBtnTxtColor);
  border: var(--overlayCompareBtnBorderShow);
  border-radius: var(--overlayCompareBtnBorderRadius);
  border-width: var(--overlayCompareBtnBorderThickness);
  border-color: var(--overlayCompareBtnBorderColor);
  margin-bottom: 2rem;
  text-decoration: none;
  width: auto;
}

.htc-htc_clearAll {
  padding: 0.5vw 2vw;
  background-color: var(--overlayClearAllBtnBgColor);
  color: var(--overlayClearAllBtnTxtColor);
  border: var(--overlayClearAllBtnBorderShow);
  border-radius: var(--overlayClearAllBtnBorderRadius);
  border-width: var(--overlayClearAllBtnBorderThickness);
  border-color: var(--overlayClearAllBtnBorderColor);
  cursor: pointer !important;
}

.htc-comparison-preview-title {
  width: 100%;
  color: var(--overlayTextColor);
  margin-left: 1rem;
}

.htc-comparison-preview-title span {
  margin-left: 1rem;
  color: var(--overlayTextColor);
}
.htc-arrowUP {
  transform: rotate(180deg);
}

.htc-compare-remove-button {
  background: rgb(0, 0, 0);
  border: none;
  border-radius: 100%;
  color: #fff;
  font-size: 12px;
  height: 26px;
  padding: 2px 2px 0;
  position: absolute;
  right: 0px;
  top: -10px;
  width: 26px;
  cursor: pointer;
}

.htc-table-heading ul {
  padding: 0 !important;
}
.htc-clear-all-mobile{
  display: none;
}
.htc-clear-all-desktop{
  display: block;
}

@media (max-width: 768px) {
  .htc-preview_product {
    width: 30% !important;
    flex-direction: column;
  }
  .htc-clear-all-desktop{
    display: none;
  }
  .htc-clear-all-mobile{
    display: block;
    text-align: center;
    min-width: 100px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-right: 1rem;
  }
  .htc-preview_product .htc-comparison-preview-img {
    width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .htc-preview_product .htc-comparison-preview-img img{
    width: 77px;
    height: 77px;
  }
  .htc-preview_product{
    text-align: center;
  }

  #main-compare-list-cont {
    width: 100% !important;
    overflow-x: scroll;
  }

  .htc-comparison-preview-name {
    font-size: 1rem;
  }

  .htc-comparison-preview-button-cont {
    text-align: center;
    height: 0;
    padding-bottom: 1rem;
    display: none;
  }

  .htc-comparison-preview-button-cont.htc-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    margin-bottom: 1rem;
    padding: 10px;
  }

  .htc-comparison-preview-header{
    padding-top: 16px;
  }
  .htc-arrow-container{
    width: 50px;
    top: -21px;
    height: 22px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
  }
  .htc-compare-remove-button{
    width: 22px;
    height: 22px;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 7px;
    top: 0px;
  }

  .htc-overllayCmpBtn {
    margin: 0;
    width: 100%;
    padding-top: 1.2vw;
    padding-bottom: 1.2vw;
  }
}

/* ================ comparison preview end =============== */
/* ================ Redesigning Comparison Table Start =============== */

.htc-product-compare_table_re {
  display: flex;
  position: relative;
  background-color: #fffcfc00;
}
.htc-table-body ul {
  margin: 0px;
}

.htc-table-body ul li:hover {
  background-color: var(--color-3);
  transition: background-color 0.3s ease;
}
.htc-table-body ul li {
  margin: 0px;
  transition: all 0.3s ease;
  border-bottom: none;
  border-right: var(--compareTblVBorderShow);
  border-color: var(--tblValueBorderColor);
  background-color: var(--tblValueBgColor);
  color: var(--tblValueTxtColor);
  display: flex;
  flex-direction: column;
  align-items:  var(--tblValuetxtAligne);
  text-align: var(--tblValuetxtAligne);
  justify-content: center;
}
.htc-table-body ul li:last-child {
  border-bottom: var(--compareTblHBorderShow);
  border-color: var(--tblValueBorderColor);
}
.htc-table-body ul li p {
  text-align: var(--tblValuetxtAligne);
}
.htc-header {
  background-color: var(--tblValueNameBgColor);
  color: var(--tblValueNameTxtColor);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.htc-table-body .htc-header {
  background-color: var(--tblValueNameBgColor);
  color: var(--tblValueNameTxtColor);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 35px;
  border: none !important;
  overflow: hidden !important;
}
.htc-toggle-container {
  display: flex;
  align-items: center;
}
.htc-toggle-label {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 25px;
}
.htc-toggle-label input {
  opacity: 0;
  width: 0;
  height: 0;
}
.htc-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 25px;
  margin: 0px !important;
}
.htc-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .htc-slider {
  background-color: #4caf50;
}
input:checked + .htc-slider:before {
  transform: translateX(24px);
}

.htc-table-body ul:last-child li {
  border-right: none;
}
.htc-table-body ul:first-of-type li {
  border-left: none;
}
.htc-table-body ul li:hover {
  background-color: var(--tblValueHBgColor);
  color: var(--tblValueHTxtColor);
  border-color: var(--tblValueBorderColor) !important;
}
.htc-table-body .htc-header:hover {
  background-color: var(--tblValueNameBgColor);
  color: var(--tblValueNameTxtColor);
}

.htc-table-body ul:nth-child(odd) {
  background-color: var(--color-1);
}

.htc-table-body ul:nth-child(even) {
  background-color: #fff;
}
.htc-table-image {
  background: #ffffff00;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
  border-right: var(--compareTblVBorderShow) !important;

  border-bottom: none !important;
  border-top: none !important;
  border-left: none !important;
  border-color: var(--tblValueBorderColor) !important;
  padding: 20px 20px 10px !important;
}
.htc-header-info-container {
  position: sticky;
  z-index: 1;
  top: 0;
  background: #ffffff !important;
  overflow: hidden !important;
  display: flex;
  height: 72px;
  flex-direction: column;
  border-right: var(--compareTblVBorderShow);
  border-top: none !important;
  border-left: none !important;
  border-bottom: var(--compareTblHBorderShow) !important;
  border-color: var(--tblValueBorderColor) !important;
  padding: 10px 20px 20px !important;
  height: fit-content;
}

.htc-table-body ul:last-of-type li.htc-table-image,
.htc-table-body ul:last-of-type li.htc-header-info-container {
  border-right: none !important;
}

.highlights-li {
  border-bottom: var(--compareTblHBorderShow);
  border-color: var(--tblValueBorderColor);
}
.action-li {
  border-bottom: var(--compareTblHBorderShow);
  border-left: var(--compareTblVBorderShow);
  border-color: var(--tblValueBorderColor);
  font-weight: var(--tblHeaderFontWeight) !important;
  font-size: var(--tblHeaderFontSize) !important;
  align-items: var(--tblHeaderAlign) !important;
  justify-content: center !important;
  height: var(--tblHeaderHeight) !important;
}

.htc-diff {
  font-weight: var(--tblValueFontWeight) ;
  font-size: var(--tblValueFontSize) !important;
}
.htc-table-locations_re {
  padding: 5px !important;
  text-align: center;
}

.htc-check-price_re {
  padding: 5px 20px;
  text-transform: uppercase;
  display: inline-block;
  font-size: 1rem;
  font-weight: 501;
  text-align: center;
  vertical-align: middle;
  border-radius: 10px;
  border: 1px solid transparent;
  color: white !important;
  background-color: #090909c7;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.htc-check-price_re:hover {
  background-color: rgba(255, 255, 255, 0.214);
  border: 1px solid black;
  color: black !important;
  transform: translateY(-2px);
}

.htc-check-price_re:active {
  transform: translateY(0);
  background-color: #bababa;
}

.htc-check-price_re:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(151, 93, 93, 0.5);
}
#MainContent{
  background-color: var(--backgroundTableContainer) !important;
}
/* ================ Redesigning Comparison Table End =============== */
