/* ── Multivendor Product Compare Styles ── */

.mvc-wrapper {
    margin: 40px 0;
    font-family: inherit;
}

.mvc-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mvc-title svg {
    color: #2d8f47;
    flex-shrink: 0;
}

/* Table Wrapper */
.mvc-table-wrap {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Table */
.mvc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.mvc-table thead tr {
    background: #f7f7f7;
    border-bottom: 1px solid #e5e5e5;
}

.mvc-table thead th {
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
}

.mvc-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.mvc-table tbody tr:last-child {
    border-bottom: none;
}

.mvc-table tbody tr:hover {
    background: #fafafa;
}

/* Current product row highlight */
.mvc-table tbody tr.mvc-current {
    background: #f6fbf8;
}

.mvc-table tbody tr.mvc-current:hover {
    background: #f0faf3;
}

.mvc-table td {
    padding: 14px 16px;
    vertical-align: middle;
}

/* Vendor Name */
.mvc-vendor-name {
    min-width: 160px;
}

.mvc-viewing-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    background: #e8f5ee;
    color: #2d8f47;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
    display: block;
    width: fit-content;
}

.mvc-store-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #2d8f47 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.15s;
}

.mvc-store-link:hover {
    color: #246e38 !important;
    text-decoration: underline !important;
}

/* Price */
.mvc-price {
    font-weight: 700;
    font-size: 15px;
    color: #222;
    white-space: nowrap;
}

.mvc-price .woocommerce-Price-amount {
    font-size: 15px;
    font-weight: 700;
}

.mvc-best-price {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    background: #fff3e0;
    color: #e65c00;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 6px;
    vertical-align: middle;
}

/* Stock */
.mvc-in-stock {
    color: #2d8f47;
    font-weight: 600;
    font-size: 13px;
}

.mvc-out-stock {
    color: #e53935;
    font-weight: 600;
    font-size: 13px;
}

/* Action buttons */
.mvc-action {
    text-align: right;
    white-space: nowrap;
}

.mvc-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.mvc-btn-buy {
    background: #2d8f47;
    color: #fff !important;
}

.mvc-btn-buy:hover {
    background: #246e38;
    color: #fff !important;
}

.mvc-btn-current {
    background: #f0f0f0;
    color: #999 !important;
    cursor: default;
}

/* Responsive */
@media (max-width: 600px) {
    .mvc-table thead {
        display: none;
    }

    .mvc-table,
    .mvc-table tbody,
    .mvc-table tr,
    .mvc-table td {
        display: block;
        width: 100%;
    }

    .mvc-table tr {
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    .mvc-table td {
        padding: 4px 16px;
        border: none;
    }

    .mvc-action {
        text-align: left;
        padding-top: 10px;
    }

    .mvc-btn {
        width: 100%;
        text-align: center;
        display: block;
    }
}
