.compare {
    background-color: #fff;
    display: none;
    width: 100%;
    height: auto;
    position: fixed;
    z-index: 1000;
    bottom: 0;
    margin-bottom: 0;
    max-height: 80vh;
    overflow: auto;
    box-shadow: 0 0px 16px rgba(0, 0, 0, 0.4);
}
.compare .item-box{
    display: flex;
  justify-content: center; /* Horizontal center */
  align-items: center;     /* Vertical center */
    height: 100px;
    width: 100px;
    border: 1px dotted #b4b4b4;
    background: #efefef;
    padding: 2px;
    margin: 2px;
    border-radius: 5px !important;
    text-align: center;
    background-size: cover;
    position: relative;
}
.compare .item-box .btn-close {
    position: absolute;
    top: -2px;
    right: 0px;
    width: 20px;
    padding: 0;
    height: 20px;
    margin: 0;
    background: transparent;
    color: #000000;
    font-size: 18px;
  }
.compare .panel{
    margin-bottom: 0;
}
.compare .d-flex.justify-content-center{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:5px;
    padding:15px;
}

    .compare i {
        float: right;
        font-size: 25px;
        padding: 10px 0;
    }

    .compare button.close-btn {
        background: none;
        border: var(--themeColor) solid 2px;
        color: var(--themeColor);
        font-size: 20px;
    }

.accordion-button {
    background-color: var(--themeColor) !important;
    align-items: center;
    width: 100%;
    color: #ffff;
    text-align: left;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    outline: 0 !important;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;
}

.compare-items h3 {
    font-size: 14px;
}

.compare-items img {
    max-width: 25%;
    height: 112px;
    object-fit: contain;
}

.compare button.btn-info {
    position: absolute;
    margin-left: 162px;
    margin-top: -11px;
    height: 27px;
    border-radius: 5px !important;
}



.compare-table-container {
    max-height: 70vh;
    overflow-y: auto;
    background: white;
    margin: 10px;
    border: 1px solid #ddd;
}

#compare-table {
    width: 100%;
    table-layout: fixed;
}

#compare-table th {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.compare-items {
    min-width: 200px; /* Ensure consistent width */
    position: relative;
}
.custom-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
  }
  
  .custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .custom-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    border-radius: 24px !important;
    transition: background-color 0.3s;
  }
  
  .custom-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
  }
  .custom-slider::before {
    transform: var(--slider-transform, translateX(0));
  }
    
  