/* Guide pages, the guide lists and the next-steps lines (1.1.0): the site's own table look from prf-table.css (its
   blue buttons, grey borders and stripes, the variant grey) and the theme's fonts. Wide tables scroll in their own box. */
.prf-product, .prf-product *, .prf-guide-button { box-sizing: border-box; }
.prf-product { max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
.prf-product .prf-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1em;
}
.prf-product table { width: 100%; border-collapse: collapse; margin: 0; }
.prf-product .prf-specs th, .prf-product .prf-specs td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}
.prf-product .prf-specs th { width: 45%; background-color: #f5f5f5; font-weight: bold; }
.prf-product .prf-specs tr:nth-child(even) td { background-color: #f9f9f9; }
.prf-product .prf-not { color: #676c77; }
.prf-product .prf-variant {
    display: block;
    color: #676c77;
    font-size: 0.85em;
    font-weight: normal;
}
.prf-product .check-price-button, .prf-guide-button .check-price-button, .prf-guide-button .prf-explore-button {
    background-color: #1e90ff;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.5;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    max-width: 100%;
    white-space: normal;
    transition: background-color 0.3s;
}
.prf-product .check-price-button:hover, .prf-product .check-price-button:focus,
.prf-guide-button .check-price-button:hover, .prf-guide-button .check-price-button:focus,
.prf-guide-button .prf-explore-button:hover, .prf-guide-button .prf-explore-button:focus {
    background-color: #1873cc;
    color: white;
}
.prf-product .prf-buy { margin-bottom: 1em; }
.prf-product .prf-versions h3 { margin-top: 1em; }
.prf-version-row, .prf-guide-button { display: flex; flex-wrap: wrap; gap: 10px; max-width: 100%; min-width: 0; }
.prf-version-row { padding: 10px; border-bottom: 1px solid #ddd; align-items: center; }
.prf-version-row .prf-variant { flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere; }
.prf-guide-button > *, .prf-product th, .prf-product td { min-width: 0; overflow-wrap: anywhere; }
.post-type-archive-prf_robot article, .tax-prf_brand article,
.post-type-archive-prf_spacleaner article, .tax-prf_spacleaner_brand article,
.post-type-archive-prf_hardshell article, .tax-prf_hardshell_brand article { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.prf-product .prf-compare-head .check-price-button { margin-left: 8px; }
.prf-data-disclaimer { font-size: 0.9em; }
.prf-next-steps ul { margin-left: 0; padding-left: 20px; }
/* The score box prints nothing until the rows have scores (card 6-7). */
.prf-product .prf-score { border: 1px solid #ddd; padding: 15px; margin-bottom: 1em; }
.prf-product .prf-stars { position: relative; display: inline-block; color: #ddd; }
.prf-product .prf-stars::before { content: "\2605\2605\2605\2605\2605"; }
.prf-product .prf-stars::after {
    content: "\2605\2605\2605\2605\2605";
    position: absolute;
    left: 0;
    top: 0;
    width: calc(var(--prf-stars) / 5 * 100%);
    overflow: hidden;
    color: #1e90ff;
}
@media screen and (max-width: 600px) {
    .prf-product .prf-specs th, .prf-product .prf-specs td { padding: 8px; }
}
