
/** compare-section **/

.compare-section{
  position: relative;
}

.compare-section .inner-container{
  position: relative;
  border: 1px solid #E5E5E5;
}

.compare-section .content-block{
  position: relative;
  float: left;
  width: 25%;
  border-right: 1px solid #E5E5E5;
}

.compare-section .content-block:last-child{
  border-right: none;
}

.compare-section .content-block .image-box{
  position: relative;
  padding: 30px;
  padding-bottom: 50px;
  min-height: 417px;
}

.compare-section .content-block .image-box span{
  position: relative;
  display: block;
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  padding-top: 30px;
}

.compare-section .content-block .image-box .image{
  max-width: 250px;
  margin: 0 auto;
}

.compare-section .content-block .search-box{
  position: relative;
  margin-bottom: 37px;
}

.compare-section .content-block .search-box .form-group{
  position: relative;
  margin-bottom: 0px;
}

.compare-section .content-block .search-box .form-group input[type='search']{
  position: relative;
  display: block;
  width: 100%;
  height: 50px;
  border: 1px solid #E5E5E5;
  border-radius: 50px;
  font-size: 16px;
  color: var(--text-color);
  padding: 10px 50px 10px 20px;
  transition: all 500ms ease;
}

.compare-section .content-block .search-box .form-group input:focus{

}

.compare-section .content-block .search-box .form-group button[type='submit']{
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 16px;
  color: var(--title-color);
  cursor: pointer;
  transition: all 500ms ease;
}

.compare-section .content-block .search-box .form-group input:focus + button,
.compare-section .content-block .search-box .form-group button:hover{

}

.compare-section .content-block .list-item li{
  position: relative;
  display: block;
  font-size: 16px;
  line-height: 26px;
  padding: 12px 30px;
}

.compare-section .content-block .list-item li span{
  font-weight: 600;
}

.compare-section .content-block .list-item li:nth-child(odd){
  background: #F7F7F7;
}

.compare-section .content-block .btn-box{
  position: relative;
  display: block;
  padding: 30px;
  min-height: 110px;
}

.compare-section .content-block .btn-box .theme-btn{
  width: 100%;
  background: transparent;
  border: solid;
  border-width: 1px;
  color: var(--theme-color) !important;
  padding: 9px 30px;
}

.compare-section .content-block .btn-box .theme-btn:hover{
  color: #fff !important;
}


/* ── kokila-custom: themed compare table (CT-086..093) ────────────────── */

.compare-section .sec-title h2{
  font-size: 32px;
  line-height: 40px;
}

/* CT-087 — horizontal scroll wrapper so wide tables never break the layout */
.compare-table-outer{
  position: relative;
  width: 100%;
  overflow-x: auto;
  border: 1px solid #E5E5E5;
  border-radius: 6px;
}

.compare-table{
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
}

.compare-table th,
.compare-table td{
  padding: 18px 24px;
  border-bottom: 1px solid #E5E5E5;
  border-right: 1px solid #E5E5E5;
  vertical-align: middle;
  text-align: center;
  font-size: 15px;
  color: var(--title-color);
}

.compare-table tr:last-child th,
.compare-table tr:last-child td{
  border-bottom: none;
}

.compare-table td:last-child{
  border-right: none;
}

/* CT-087 — sticky label column so rows stay readable while scrolling */
.compare-table th[scope="row"]{
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 130px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--title-color);
  background: #F7F7F7;
}

.compare-table tr:nth-child(even) td{
  background: #FCFCFC;
}

/* Product cell */
.compare-product{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.compare-product .compare-image{
  display: inline-block;
}

.compare-product .compare-image img{
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.compare-product .compare-name{
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  color: var(--title-color);
}

.compare-product .compare-name:hover{
  color: #FFAC00;
}

/* CT-088 — themed remove control */
.compare-remove-form{
  margin: 0;
}

.compare-remove{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  line-height: 20px;
  color: #7C7C7C;
  background: transparent;
  border: 1px solid #E5E5E5;
  border-radius: 30px;
  padding: 4px 14px;
  cursor: pointer;
  transition: all 300ms ease;
}

.compare-remove:hover,
.compare-remove:focus-visible{
  color: #fff;
  background: #E92530;
  border-color: #E92530;
  outline: none;
}

.compare-price{
  font-size: 18px;
  font-weight: 600;
  color: #E92530;
}

.compare-stock{
  color: #28C01B;
  font-weight: 500;
}

/* CT-092 — explicit out-of-stock labels instead of a bare dash */
.compare-stock-out{
  color: #E92530;
  font-weight: 500;
}

.compare-na{
  color: #9A9A9A;
  font-style: italic;
}

/* CT-090 — render stars instead of "4 / 5" text */
.compare-rating{
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.compare-rating li{
  display: inline-block;
  font-size: 14px;
}

.compare-rating li i.star-filled{ color: #F8CD2E; }
.compare-rating li i.star-empty{ color: #D9D9D9; }

.compare-rating li span{
  margin-left: 4px;
  color: #7C7C7C;
  font-size: 13px;
}

.compare-empty h3{
  margin-bottom: 8px;
}


/** rtl-css **/

.rtl .compare-table th[scope="row"]{
  left: auto;
  right: 0;
  text-align: right;
}

.rtl .compare-table th,
.rtl .compare-table td{
  border-right: none;
  border-left: 1px solid #E5E5E5;
}

.rtl .compare-table td:last-child{
  border-left: none;
}

.rtl .compare-rating li span{
  margin-left: 0;
  margin-right: 4px;
}


/** responsive-css **/

@media only screen and (max-width: 1200px){

}

@media only screen and (max-width: 991px){
  .compare-section .content-block{
    width: 50%;
  }
}

@media only screen and (max-width: 767px){
  .compare-section .content-block{
    width: 100%;
    border-right: none;
  }

  .compare-section .content-block .image-box,
  .compare-section .content-block .btn-box{
    min-height: auto;
  }

  .compare-table th,
  .compare-table td{
    padding: 14px 16px;
  }
}

@media only screen and (max-width: 599px){

}

@media only screen and (max-width: 499px){

}











































