/* ==========================================================================
   WSM Ahrefs Stats — Single product stats table (Astra/Elementor edition)
   Light neutral theme matching overview-table.css.
   ========================================================================== */

.wsm-ahrefs-stats-wrapper {
    margin: 25px 0;
    clear: both;
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    overflow: hidden;
}

.wsm-ahrefs-stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0 !important;
    border: none !important;
}

/* Override theme table row spacing rules that create gaps between
   row borders and row background colors. */
.wsm-ahrefs-stats-table tr {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Title lives inside <thead> as a full-width header row so it always
   aligns with the table width. */
.wsm-ahrefs-stats-table thead .wsm-ahrefs-stats-title-row {
    background: #f7f8fa;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    padding: 13px 18px !important;
    border: none !important;
    border-bottom: 2px solid #0170b9 !important;
    text-transform: none;
    letter-spacing: 0;
}

.wsm-ahrefs-stats-table th,
.wsm-ahrefs-stats-table td {
    padding: 12px 18px !important;
    border: none !important;
    border-bottom: 1px solid #e8eaed !important;
    text-align: left;
    font-size: 14px;
}

.wsm-ahrefs-stats-table tbody th {
    font-weight: 400;
    color: #5f6368;
    width: 55%;
    background: transparent;
}

.wsm-ahrefs-stats-table tbody td {
    font-weight: 600;
    color: #1a1a1a;
}

.wsm-ahrefs-stats-table tbody tr:nth-child(even) {
    background: #f7f8fa;
}

.wsm-ahrefs-stats-table tbody tr:last-child th,
.wsm-ahrefs-stats-table tbody tr:last-child td {
    border-bottom: none !important;
}

@media (max-width: 480px) {
    .wsm-ahrefs-stats-table th,
    .wsm-ahrefs-stats-table td {
        padding: 9px 12px !important;
        font-size: 13px;
    }
}
