@media screen and (max-width: 425px) {
    #comparison-modal .product-comparison-table .product-comparison-dd-select {
        width: calc(43vw - 1.75rem) !important;
    }
} 
#comparison-modal #compare-overlay {
    align-items: flex-start;
    overflow-y: auto;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    font: normal 1.125rem/1.5rem Roboto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}
#comparison-modal #compare-overlay::after {
        content: "";
        background-color: #00000080;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 0;
        opacity: 0;
        transition: opacity 0.3s ease-out;
    }
#comparison-modal #compare-overlay:not([hidden])::after {
        opacity: 1;
}
#comparison-modal .bo-dialog {
    position: relative;
    width: 90vw;
    max-width: 1200px;
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
    z-index: 9;
    height: 75%;
    margin-top: 150px;
    background-color: #111;
    border: 1px solid #1c1c1c;
    border-radius: 10px;
    overflow: hidden;
}
#comparison-modal .product-comparison {
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}
#comparison-modal .product-comparison-table {
    width: 100%;
}
#comparison-modal .product-comparison .product-comparison-table thead {
    top: -80px;
}
@media screen and (max-width: 767px) {
    #comparison-modal #compare-overlay {
        left: 0;
    		width: 100vw;
    }
    #comparison-modal .product-comparison .product-comparison-table thead {
        top: -50px;
    }
    #comparison-modal .bo-dialog {
        width: 90vw;
    }
}
#comparison-modal thead tr th.product-comparison-theader-dd {
    padding: 1rem 3rem;
}
#comparison-modal .product-comparison-image img{ width: 100%; max-width: 300px;}
#comparison-modal .product-comparison-dd-select select:focus-within,
#comparison-modal .product-comparison-dd-select select {
    border: 1px solid #44d62c;
}
@media screen and (max-width: 768px) {
			#comparison-modal .bo-dialog {
        height: 95%;
        margin-top: 170px;
    }
    #comparison-modal .product-comparison {
        &.show-all-products {
            .product-comparison-table tbody tr.product-comparison-facets td {
                min-width: 35vw;
            }
        }
    }
    #comparison-modal .product-comparison {
        & .product-comparison-table {
            & .product-comparison-dd-select {
                margin: 1.5rem 0.625rem 0 0.625rem;
            }
        }
    }
    #comparison-modal .product-comparison-table .product-comparison-dd-select {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    #comparison-modal .product-comparison-table .product-comparison-dd-select select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    #comparison-modal .product-comparison .product-comparison-table thead {
        background: #111;
        display: table-header-group;
    }
    #comparison-modal .product-comparison .product-comparison-table thead tr {
        display: flex;
        flex-wrap: wrap;
    }
    #comparison-modal .product-comparison .product-comparison-table thead tr th {
        box-sizing: border-box;
        width: 50%;
        padding: 0.5rem;
    }
    #comparison-modal .product-comparison .product-comparison-table thead tr th.product-comparison-theader-dd {
         padding-top: 3rem;
    }
    #comparison-modal .compare-modal-popup .main-heading {
        margin-bottom: 0;
    }
    #comparison-modal .product-comparison .product-comparison-table tbody {
        display: block;
    }
    #comparison-modal .product-comparison .product-comparison-table tbody tr {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        td.product-comparison-link {
            display: flex; 
            justify-content: flex-end;
            .product-link-buy-button {
                align-self: center;
            }
        }
    }
    #comparison-modal .product-comparison .product-comparison-table tbody tr > td {
        box-sizing: border-box;
        width: 50%;
        display: block;
    }
    #comparison-modal .product-comparison .product-comparison-table tbody tr > td.product-comparison-facets {
        width: 100%;
    }
}
@media screen and (max-width: 425px) {
    #comparison-modal .product-comparison .product-comparison-table tbody tr td.product-comparison-link {
        flex-direction: column;
    }
}
#compare-overlay .bo-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: 0 0;
    color: #44d62c;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    transition: all .3s ease;
    z-index: 100;
}
#compare-overlay .bo-close:hover {
    transform: rotate(90deg)
}
#compare-overlay .bo-close:focus {
    outline: 0!important
}
#compare-overlay .bo-close:focus::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #06c;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999
}
#compare-overlay .bo-close:focus:not(:focus-visible)::after {
    display: none
}
@media (min-width:769px) { 
.product-comparison {
  & .product-comparison-table {
    & .product-comparison-name-desktop-only {
      font: 500 1.125rem/1.5rem Roboto, Arial, Helvetica, sans-serif;
      color: #ffffff;
      padding-top: 1rem;
    }
  }
}
}
@media screen and (max-width: 425px) {
    .product-comparison .product-comparison-name-desktop-only {
        display: none; 
    }
}
@media screen and (max-width: 768px) {
    .product-comparison .product-comparison-name-desktop-only {
        font: 500 1rem/1.25rem Roboto, Arial, Helvetica, sans-serif;
        color: #ffffff;
        padding-top: 1rem;
    }
}