/* Header vizual pentru tabel comparare */
.icr-compare-table-header {
    text-align: center;
    margin-top: 10px;
}
.icr-compare-table-header h3 {
    text-align: center;
    font-size: 18px !important;
    color: #000000;
    font-family: inherit;
    font-weight: 600;
    text-transform: uppercase;
}

/* Buton produs */
.icr-compare-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: #000;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}
.icr-compare-btn:hover {
  color: #F37A1F;
}

/* Buton global */
.icr-compare-global-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: green;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.icr-remove-compare {
    display: inline-block;
    float: right;
    color: red;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 5px;
}
.icr-remove-compare:hover {
    color: darkred;
}

/* Titlu tabel comparare */
.icr-compare-table-title td {
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
    background-color: #0073e6;
    padding: 12px 0;
    border-bottom: 2px solid #005bb5;
    border-radius: 4px 4px 0 0;
    letter-spacing: 0.5px;
}

/* Overlay popup */
.icr-compare-popup-overlay {
    display: none; /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    overflow-y: auto;
}

/* Popup box */
.icr-compare-popup-content {
    background: #fff;
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

/* Close button */
.icr-compare-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .icr-compare-popup-content {
        width: 90%;
        margin: 30px auto;
        padding: 15px;
    }
}
.icr-compare-popup-loader {
    text-align: center;
    padding: 50px 0;
    font-size: 18px;
    color: #333;
}
/* Tabel comparare */
.icr-compare-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-top: 20px;
}

.icr-compare-table td {
    vertical-align: top;
    padding: 15px;
    border: 1px solid #F37A1F;
    text-align: center;
}
.icr-compare-table table {
    width: 100%;
}

/* Titlu produs */
.icr-compare-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

/* Imagine produs */
.icr-compare-img img {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 4px;
}
.icr-compare-img {
    display: flex;
    justify-content: center;
    max-width: 150px;
    margin: 0 auto 10px;
}

/* Preț produs */
.icr-compare-price {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-bottom: 8px;
}

/* Date tehnice */
.icr-compare-date {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}
.icr-compare-icon {
  margin-right: 6px;
  vertical-align: text-bottom;
}

/* Descriere Scurta */
.icr-compare-descriere {
    margin-bottom: 15px;
}

/* Cart */
.icr-compare-add-to-cart a.button.add_to_cart_button.ajax_add_to_cart {
    background: #000;
    border-color: #000;
    font-size: 14px;
    color: #F37A1F;
    font-family: inherit;
}
.icr-compare-add-to-cart a.button.add_to_cart_button.ajax_add_to_cart:hover {
    background: #F37A1F;
    border-color: #F37A1F;
    font-size: 15px;
    color: #000;
    font-family: inherit;
}
.icr-compare-add-to-cart a.button.add_to_cart_button.ajax_add_to_cart:focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0 .2rem rgb(255 255 255 / 50%) !important;
    box-shadow: 0 0 0 .2rem rgb(255 255 255 / 50%) !important;
}