/* Árukereső vásárlói vélemények — csillagok, termékoldali összesítő és lista, termékkártya-sor.
   BT_2026 nyelv: szögletes, #1E5594, hűvös szürke keret; a csillag borostyán. */

.ak-stars {
    --ak-rating: 0%;
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 1px;
    white-space: nowrap;
    vertical-align: -1px;
    background: linear-gradient(90deg, #F5A623 var(--ak-rating), #D5DAE1 var(--ak-rating));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ak-stars::before {
    content: "\2605\2605\2605\2605\2605";
}

.ak-stars-sm {
    font-size: 13px;
}

.ak-stars-lg {
    font-size: 24px;
}

/* Termékoldal: a cím alatti összesítő */
.ak-rating-link {
    /* blokkszintű flex: inline-flexnél a sor magassága elnyelné a cím alatti negatív margót */
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
    margin: 4px 0 14px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: #1F2A37;
    text-decoration: none;
    cursor: pointer;
}

/* Közvetlenül a cím alatt: a téma a címet relatívan eltolja (asztalin top:-13px, mobilon top:15px +
   20px padding), ezért a csillagsort feljebb húzzuk, hogy kb. 10px maradjon a szöveg alatt. */
.product_title + .ak-rating-link {
    margin-top: -16px;
}

@media (max-width: 992px) {
    .product_title + .ak-rating-link {
        margin-top: -8px;
    }
}

.ak-rating-link:focus-visible {
    outline: 2px solid #1E5594;
    outline-offset: 3px;
}

.ak-rating-link:hover,
.ak-rating-link:focus {
    color: #1E5594;
    text-decoration: none;
}

.ak-rating-link:hover .ak-rating-count,
.ak-rating-link:focus .ak-rating-count {
    text-decoration: underline;
}

.ak-rating-count {
    color: #5B6573;
}

/* Termékoldal: a "Vásárlói vélemények" fül */
.ak-reviews {
    padding: 8px 0 16px;
}

.ak-reviews-summary {
    display: grid;
    grid-template-columns: minmax(180px, auto) minmax(220px, 360px) auto;
    align-items: center;
    gap: 24px 40px;
    padding: 20px 24px;
    margin-bottom: 24px;
    border: 1px solid #ECEFF3;
    background: #FAFBFC;
}

.ak-reviews-score {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.ak-reviews-average {
    font-size: 42px;
    font-weight: bold;
    line-height: 1;
    color: #1F2A37;
}

.ak-reviews-total {
    color: #5B6573;
    font-size: 13px;
}

.ak-reviews-distribution {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ak-reviews-distribution li {
    display: grid;
    grid-template-columns: 70px 1fr 36px;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #5B6573;
    line-height: 22px;
}

.ak-dist-bar {
    height: 8px;
    background: #ECEFF3;
    overflow: hidden;
}

.ak-dist-bar span {
    display: block;
    height: 100%;
    background: #F5A623;
}

.ak-dist-count {
    text-align: right;
}

.ak-reviews-aspects {
    margin: 0;
}

.ak-reviews-aspects div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    line-height: 26px;
}

.ak-reviews-aspects dt {
    font-weight: normal;
    color: #5B6573;
}

.ak-reviews-aspects dd {
    margin: 0;
    font-weight: bold;
    color: #1F2A37;
}

.ak-reviews-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ak-review {
    padding: 16px 0;
    border-bottom: 1px solid #ECEFF3;
}

.ak-review.is-hidden {
    display: none;
}

.ak-review:focus {
    outline: 2px solid #1E5594;
    outline-offset: 2px;
}

.ak-review-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #5B6573;
}

.ak-review-verified {
    color: #2E7D32;
}

.ak-review-head time {
    margin-left: auto;
}

.ak-review p {
    margin: 0 0 6px;
    line-height: 1.55;
    color: #1F2A37;
}

.ak-review-pros .fa {
    color: #2E7D32;
    margin-right: 4px;
}

.ak-review-cons .fa {
    color: #C62828;
    margin-right: 4px;
}

.btn.ak-reviews-more {
    margin-top: 18px;
    padding: 10px 24px;
    background: #fff;
    color: #1E5594;
    border: 2px solid #1E5594;
}

.btn.ak-reviews-more:hover,
.btn.ak-reviews-more:focus {
    background: #1E5594;
    color: #fff;
}

.ak-reviews-source {
    margin-top: 18px;
    font-size: 12px;
    color: #5B6573;
}

/* Termékkártya: a név alatti sor mindig foglal helyet, hogy az árak egy vonalban maradjanak */
.ak-card-rating-wrap {
    display: flex;
    align-items: center;
    height: 22px;
    margin: -4px 0 6px;
}

.ak-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #5B6573;
    text-decoration: none;
}

.ak-card-rating:hover,
.ak-card-rating:focus {
    color: #1E5594;
    text-decoration: none;
}

.ak-card-rating-value {
    font-weight: bold;
    color: #1F2A37;
}

@media (max-width: 991px) {
    .ak-reviews-summary {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 16px;
    }
    .ak-review-head time {
        margin-left: 0;
    }
}
