/* =========================
   SCORECARD LIST
========================= */

.sts-wrap {
    width: 100%;
    font-family: Arial, sans-serif;
}

.sts-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sts-filters input,
.sts-filters select {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.sts-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.sts-table th {
    background: #f7f7f7;
    font-weight: 600;
    padding: 12px 10px;
    border-bottom: 2px solid #ddd;
    text-align: left;
}

.sts-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.sts-row:hover {
    background: #fafafa;
}

.sts-expand {
    width: 32px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

.sts-thumb-cell {
    width: 70px;
}

.sts-thumb {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.sts-score {
    text-align: center;
}

.sts-score strong {
    font-size: 16px;
}

.sts-score small {
    display: block;
    color: #666;
}

/* =========================
   EXPANDED SECTION
========================= */

.sts-details {
    display: none;
    background: #fafafa;
}

.sts-details-wrap {
    display: flex;
    gap: 30px;
    padding: 20px;
    align-items: flex-start;
}

.sts-details-image {
    width: 300px;
    flex-shrink: 0;
}

.sts-details-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.sts-details-scores {
    flex: 1;
}

.sts-inner {
    width: 100%;
    border-collapse: collapse;
}

.sts-inner td {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
}

.sts-inner td:first-child {
    font-weight: 600;
    width: 60%;
}

.sts-inner td:last-child {
    text-align: right;
    font-weight: 600;
}

/* =========================
   COMPARE BUTTON
========================= */

.sts-compare-bar {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 15px;
    border-top: 1px solid #ddd;
    text-align: center;
    z-index: 100;
}

#sts-compare-btn {
    padding: 10px 18px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

/* =========================
   COMPARE PAGE
========================= */

.sts-compare {
    margin-top: 20px;
}

.sts-compare-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
}

.sts-compare-table thead th {

    position: sticky;
    top: 0;
    z-index: 100;

    background: #fff;

    border-bottom: 2px solid #ddd;

    padding: 15px 10px;

    text-align: center;
}

.sts-compare-table thead th:first-child {
    text-align: left;
}

.sts-compare-table th,
.sts-compare-table td {
    padding: 12px 10px;
}

.sts-compare-table td {

    border-bottom: 1px solid #eee;

    text-align: center;
}

.sts-compare-table td:first-child {

    text-align: left;

    width: 38%;

    font-weight: 600;
}

.sts-compare-images td {

    background: #fafafa;

    position: sticky;
    top: 53px;
    z-index: 90;
}

.sts-compare-image {

    width: 100%;
    max-width: 220px;

    height: auto;

    display: block;

    margin: 0 auto;
}

.sts-compare-table tr:hover td {
    background: #fafafa;
}

.sts-compare-overall td {

    font-weight: bold;

    background: #f6f6f6;
}

/* =========================
   SCORE HIGHLIGHTING
========================= */

.sts-best {

    background: #e8f6e8;

    color: #1b5e20;

    font-weight: 700;
}

.sts-worst {

    background: #fdeaea;

    color: #b71c1c;
}

.sts-equal {

    background: #e8f6e8;

    color: #1b5e20;

    font-weight: 700;
}

/* =========================
   BACK BUTTON
========================= */

.sts-back-button {

    display: inline-block;

    padding: 10px 20px;

    border: 1px solid #ddd;

    border-radius: 4px;

    text-decoration: none;

    color: inherit;

    background: #fff;

    transition: all .2s ease;
}

.sts-back-button:hover {

    background: #f7f7f7;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .sts-table {
        font-size: 13px;
    }

    .sts-thumb {
        width: 40px;
        height: 40px;
    }

    /* Hide thumbnail */
.sts-table th:nth-child(2),
.sts-table td:nth-child(2),

/* Hide manufacturer */
.sts-table th:nth-child(4),
.sts-table td:nth-child(4),

/* Hide type */
.sts-table th:nth-child(6),
.sts-table td:nth-child(6),

/* Hide release */
.sts-table th:nth-child(7),
.sts-table td:nth-child(7),

/* Hide review */
.sts-table th:nth-child(8),
.sts-table td:nth-child(8),

/* Hide MSRP */
.sts-table th:nth-child(9),
.sts-table td:nth-child(9) {
    display: none;
}

.sts-table th:nth-child(1),
.sts-table td:nth-child(1) {
    width: 30px;
}

.sts-table th:nth-child(3),
.sts-table td:nth-child(3) {
    width: 55px;
    text-align: center;
}

.sts-table th:nth-child(5),
.sts-table td:nth-child(5) {
    width: auto;
}

.sts-table th:nth-child(10),
.sts-table td:nth-child(10) {
    width: 65px;
    text-align: center;
    white-space: nowrap;
}
    .sts-details-wrap {
        flex-direction: column;
    }

    .sts-details-image {
        width: 100%;
    }

    .sts-details-image img {
        max-width: 100%;
    }

    .sts-inner td {
        padding: 10px 6px;
    }
.sts-compare-table {
    table-layout: fixed;
}

.sts-compare-table th,
.sts-compare-table td {

    padding: 8px 4px;

    font-size: 12px;
}

.sts-compare-table th:first-child,
.sts-compare-table td:first-child {

    width: 40%;
}

.sts-compare-image {

    max-width: 90px;
}
.sts-row {
    cursor: pointer;
    transition: background .15s ease;
}

.sts-row:hover {
    background: #f8f8f8;
}

@media (max-width: 768px) {

    .sts-inner {
        width: 100%;
        table-layout: fixed;
    }

    .sts-inner td:first-child {
        width: 75%;
        display: table-cell;
    }

    .sts-inner td:last-child {
        width: 25%;
        display: table-cell;
        text-align: right;
        white-space: nowrap;
    }

}