/* Кнопка на карточке товара */
.wc-compare-add-btn.added {
    background-color: #2d6299;
    cursor: default;
    opacity: 0.7;
}

/* Плавающая кнопка */
#wc-compare-float-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #d1232a;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 9999;
}
#wc-compare-float-btn .compare-icon {
    font-size: 24px;
}
#wc-compare-float-btn .compare-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Попап */
#wc-compare-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
#wc-compare-popup {
    background: #fff;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 5px;
    padding: 20px;
    position: relative;
}
.wc-compare-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.wc-compare-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wc-compare-close {
    font-size: 30px;
    cursor: pointer;
    color: #333;
}
.wc-compare-table {
    width: 100%;
    border-collapse: collapse;
}
.wc-compare-table th, .wc-compare-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
.wc-compare-table th {
    background: #f5f5f5;
}