/* =============================================
   Comparator Feature Styles
   File: comparator.css
   ============================================= */

/* ─── Comparar button – blue and rounded ─── */
.btn-comparar {
    background-color: #4269f5;
    border-color: #4269f5;
    color: #fff;
    border-radius: 25px;
}

.btn-comparar:hover,
.btn-comparar:focus {
    background-color: #2a4dcc;
    border-color: #2a4dcc;
    color: #fff;
}

/* ─── Comparison slot cards ─── */
.comparator-slot {
    position: relative;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.comparator-slot__image-wrap {
    height: 150px;
    padding: 10px;
    box-sizing: border-box;
}

.comparator-slot__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.comparator-slot__remove {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #dc3545;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

.comparator-slot__remove:hover,
.comparator-slot__remove:focus {
    background-color: #b02a37;
    color: #fff;
}

.comparator-slot__counter {
    position: absolute;
    top: 8px;
    right: 10px;
    font-weight: 700;
    font-size: .8rem;
    color: #495057;
}

.comparator-slot__body {
    padding: 8px 10px;
    text-align: center;
}

.comparator-slot__title {
    font-weight: 700;
    color: #1f2937;
    font-size: .9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comparator-slot__subtitle {
    color: #6c7a89;
    font-size: .8rem;
}
