/* assets/css/compare.css */

.wcpc-compare-btn { 
    color: #ddd;
    background: none;
    border: 1px solid #999;
    border-radius: 4px;
    height: 30px;
    width: 30px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0;
    font-size: 0;
}

.wcpc-compare-btn svg path { 
    stroke: #999;
}

.wcpc-compare-btn:hover,
.wcpc-compare-btn.active {
    background: #E88F40;
    color: #fff;
    border: 1px solid #E88F40
}

.wcpc-compare-btn:hover svg path,
.wcpc-compare-btn.active svg path {
    stroke: #fff;
}

.wcpc-small {
    font-size: 12px;
    padding: 5px 10px;
    margin-top: 10px;
}
 

/* Таблица сравнения */
.wcpc-table-container {
    overflow-x: auto;
    margin: 20px 0;
}

.wcpc-compare-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.wcpc-compare-table th,
.wcpc-compare-table td {
    border: 1px solid #ddd;
    padding: 12px;
    vertical-align: top;
}

.wcpc-compare-table th {
    background: #f5f5f5;
    width: 200px;
}

.wcpc-product-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wcpc-remove-btn,
.wcpc-clear-all {
    background: #dc3232;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 5px 10px;
    cursor: pointer;
}

.wcpc-clear-table {
    margin-bottom: 15px;
    float: right;
}

@media (max-width: 768px) {
    .wcpc-compare-table {
        font-size: 12px;
    }
}