#heureka_only_desktop {
    background: #FFF;
    padding: 1.563rem 1.25rem;
    margin-bottom: 1.563rem;
}

#heureka_only_desktop .pros {
    color: green;
    margin-bottom: 4px;
}

#heureka_only_desktop .cons {
    color: red;
    margin-bottom: 4px;
}

#heureka_only_desktop .rating {
    margin: 5px 0;
}

#heureka_only_desktop .border_none {
    border: none !important
}

#heureka_only_desktop .star::before {
    content: "\2605";
}

#heureka_only_desktop .star.on {
    color: gold;
}

#heureka_only_desktop .star.half:after {
    content: "\2605";
    color: gold;
    position: absolute;
    margin-left: -20px;
    width: 10px;
    overflow: hidden;
}

#heureka_only_desktop .star {
    font-size: x-large;
    line-height: 12px;
    width: 18px;
    display: inline-block;
    color: gray;
    cursor: auto;
}

#heureka_only_desktop .star:last-child {
    margin-right: 0;
}

#heureka_only_desktop div.hodnoceni {
    padding: 5px;
    margin-bottom: 8px;
    background: #FFF;
}

#heureka_only_desktop div.hodnoceni:not(.hodnoceni_homepage) {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.sho_hp #recenze_url_p {
    border-top: 1px solid rgba(0, 0, 0, .125);
    padding-top: 10px;
    clear: both;
}

#heureka_only_desktop span.right {
    float: right;
}

#heureka_only_desktop h3.center {
    text-align: center;
}

#heureka_only_desktop .icon-plus {
    color: green;
}

#heureka_only_desktop .icon-minus {
    color: red;
}

#heureka_only_desktop .star-ratings {
    background: url("/modules/shaim_heureka_cz_hodnoceni_obchodu/img/star-rating-sprite.png") repeat-x;
    font-size: 0;
    height: 21px;
    line-height: 0;
    overflow: hidden;
    text-indent: -999em;
    width: 110px;
    margin-bottom: 8px;
}

#heureka_only_desktop .star-ratings-value {
    background: url("/modules/shaim_heureka_cz_hodnoceni_obchodu/img/star-rating-sprite.png") repeat-x;
    background-position: 0 100%;
    float: left;
    height: 21px;
    display: block;
}

#heureka_only_desktop .mr-1 {
    margin-right: 0.25rem !important;
}

#heureka_only_desktop .autor_hodnoceni {
    font-weight: bold;
    margin-bottom: 8px;
}

#heureka_only_desktop > h2 {
    text-align: center;
}

@media only screen and (max-width: 1024px) {
    #heureka_only_desktop > h2 {
        text-align: left;
    }

    span.heureka_only_desktop_cms {
        display: block !important;
    }
}

#heureka_only_desktop .center {
    text-align: center;
}


/* Zobrazeni hodnoceni jako karet */
#heureka_only_desktop .ratings {
    display: grid;
    gap: 16px;
    padding: 16px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

#heureka_only_desktop .ratings .hodnoceni {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 250px;
    overflow: hidden;
    font-size: 0.85em;
    font-weight: normal;
    color: #8d9197;
}

#heureka_only_desktop .ratings .hodnoceni .heureka-logo-stars {
    display: flex;
}

#heureka_only_desktop .ratings .hodnoceni .heureka-logo-stars .logo.blue {
    background-image: url('img/heureka_blue.svg');
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    margin-right: 10px;
}

#heureka_only_desktop .ratings .hodnoceni .heureka-logo-stars .autor_hodnoceni,
#heureka_only_desktop .ratings .hodnoceni .heureka-logo-stars .star-ratings {
    margin-top: auto;
    margin-bottom: 0;
}

#heureka_only_desktop .ratings .hodnoceni .heureka-logo-stars .autor_hodnoceni > span {
    font-weight: normal;
    margin-left: 2px;
}

#heureka_only_desktop .ratings .hodnoceni .heureka-logo-stars .star-rating {
    display: inline-block;
    position: relative;
    width: 90px;
    height: 20px;
    background: #d1d1d1;
    background-size: 20px 100%;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 24"><path d="M12 17.3L4.6 21l1.4-8.1L0 7.3l8.2-1.2L12 0l3.8 6.1 8.2 1.2-6 5.6 1.4 8.1zM36 17.3l-7.4 3.7 1.4-8.1-6-5.6 8.2-1.2L36 0l3.8 6.1 8.2 1.2-6 5.6 1.4 8.1zM60 17.3l-7.4 3.7 1.4-8.1-6-5.6 8.2-1.2L60 0l3.8 6.1 8.2 1.2-6 5.6 1.4 8.1zM84 17.3l-7.4 3.7 1.4-8.1-6-5.6 8.2-1.2L84 0l3.8 6.1 8.2 1.2-6 5.6 1.4 8.1zM108 17.3l-7.4 3.7 1.4-8.1-6-5.6 8.2-1.2L108 0l3.8 6.1 8.2 1.2-6 5.6 1.4 8.1z"/></svg>') center / contain no-repeat;
}

#heureka_only_desktop .ratings .hodnoceni .heureka-logo-stars .star-rating-filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #0096ff;
}

#heureka_only_desktop .ratings .hodnoceni .heureka-logo-stars .star-rating-filled.negative {
    background-color: #e50013;
}

#heureka_only_desktop .ratings .hodnoceni .heureka-logo-stars .star-rating-filled.neutral {
    background-color: #ff660a;
}

#heureka_only_desktop .scrollable-content {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 10px;
    order: -1;
    font-style: italic;
}

#heureka_only_desktop .scrollable-content::-webkit-scrollbar {
    width: 6px;
}

#heureka_only_desktop .scrollable-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#heureka_only_desktop .scrollable-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

#heureka_only_desktop .scrollable-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media (min-width: 1200px) {
    #heureka_only_desktop .ratings {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1199px) {
    #heureka_only_desktop .ratings {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    #heureka_only_desktop .ratings {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    #heureka_only_desktop .ratings {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* levé menu, speciální styly */
#heureka_only_desktop .ratings.hodnoceni_hook_left {
    grid-template-columns: repeat(1, 1fr);
}

#heureka_only_desktop .ratings.hodnoceni_hook_left .hodnoceni {
    height: auto;
    padding: 15px;
}

#heureka_only_desktop .ratings.hodnoceni_hook_left {
    padding: 0;
}
