.detail-top__info__buy_left {
    width: 100%;
}

.detail-top__info__buy__topline {
    display: grid !important;
    grid-template-columns: 150px 180px !important;
    align-items: start !important;
    justify-content: start !important;
    column-gap: 28px !important;
    width: 100% !important;
    margin-bottom: 34px !important;
}

.detail-top__info__buy__price-wrap {
    min-width: 0;
}

.detail-top__info__buy__topline .detail-top__info__buy__price {
    margin-bottom: 0;
}

.detail-top__info__buy__heureka {
    display: block !important;
    width: 180px !important;
    min-width: 0 !important;
}

.heureka-product-badge {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    width: 180px !important;
    max-width: 180px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    border-radius: 0;
    background: #fff;
    font-size: 13px !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

.heureka-product-badge__logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.heureka-product-badge__logo img {
    width: 78px !important;
    height: 78px !important;
    display: block;
}

.heureka-product-badge__text {
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center;
    max-width: 180px !important;
    white-space: normal !important;
    color: #000;
    font-weight: 400;
    text-decoration: none;
}

.heureka-product-badge__text:hover,
.heureka-product-badge__text:focus {
    color: #000;
    text-decoration: none;
}

@media (max-width: 575.98px) {
    .detail-top__info__buy__topline {
        grid-template-columns: 1fr;
        row-gap: 14px;
    }

    .heureka-product-badge {
        margin-bottom: 14px;
        font-size: 16px;
        gap: 10px;
        width: auto;
    }

    .heureka-product-badge__logo img {
        width: 82px;
        height: 82px;
    }
}

.heureka_reviews {
    display: block;
    width: 100%;
    color: #37474f;
    font-size: 14px;
    padding: 20px;
}

.heureka_reviews .left {
    width: 50%;
    display: block;
    float: left;
}

.heureka_reviews .right {
    width: 50%;
    display: block;
    float: left;
}

.heureka_reviews .left .heureka_link {
    color: #00a0dc;
    display: block;
}

.heureka_reviews .left .mobile_reviews {
    display: none;
}

.heureka_reviews .left .heureka_link:before {
    content: "\2192";
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}

.heureka_reviews .left a {
    display: block;
    margin-top: 5px;
}

.heureka_reviews .items .item {
    height: 175px;
}

.heureka_reviews .items .item .bg_helper {
    background: #fff;
    height: 150px;
    padding: 15px 40px;
}

.heureka_reviews .left h2 {
    margin: 0px;
    padding: 0px;
}

.heureka_reviews .left p {
    margin: 50px 0px 0px 0px;
    padding: 0px;
}

.heureka_reviews .items .item .text {
    display: block;
    clear: both;
    font-style: italic;
}

.heureka_reviews .items .item .date {
    display: block;
    clear: both;
    margin-top: 10px;
    font-size: 12px;
    color: #909090;
}

.heureka_reviews .items .item .overeno_icon {
    width: 50px;
    display: table;
    margin: 0 auto;
    margin-top: -25px;
}

.heureka_reviews .stars {
    background: url('half.png') no-repeat;
    width: 66px;
    height: 12px;
    display: block;
    float: left;
    margin-top: 5px;
}

.heureka_reviews .stars_inside {
    background: url('stars.png') no-repeat;
    width: 66px;
    height: 12px;
    display: block;
    float: left;
}

@media (max-width: 1024px) {
    .heureka_reviews .left {
        width: 100%;
    }

    .heureka_reviews .left .mobile_reviews {
        display: block;
    }

    .heureka_reviews .right {
        display: none;
    }

    .heureka_reviews .left p {
        margin: 25px 0px 0px 0px;
    }

    .heureka_reviews .left h2 {
        margin: 0px 0px 25px 0px;
    }
}

.heureka_reviews .items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

.heureka_reviews .item {
    padding: 12px;
    width: calc(25% - 15px);
    /* 4 na řádek */
    box-sizing: border-box;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    height: 320px;
    /* pevná výška pro zarovnání */
    overflow: hidden;
}

.bg_helper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.stars {
    width: 80px;
    height: 16px;
    background: url('/img/star-empty.svg') repeat-x;
    position: relative;
    margin-bottom: 8px;
}

.stars_inside {
    background: url('/img/star-full.svg') repeat-x;
    height: 16px;
    position: absolute;
    top: 0;
    left: 0;
}

.bottom_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-top: auto;
    padding-top: 8px; 
    min-height: 40px; 
}

.left_col, .right_col {
    display: flex;
    align-items: center;
    height: 100%;
}

.right_col {
    text-align: right;
    white-space: nowrap; 
    padding-left: 10px; 
}

.text {
    flex: 1 0 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    color: #333;
    margin: 8px 0;
    min-height: 4.8em;
    display: -webkit-box;
    -webkit-line-clamp: 4; 
    -webkit-box-orient: vertical;
}


.left_col .name {
    font-weight: bold;
}

.left_col .date {
    color: #777;
    font-size: 11px;
}

.right_col img.overeno_icon {
    height: 24px;
}

.summary_row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 50px;
}

.summary_left {
    font-size: 36px;
    font-weight: bold;
    color: #000;
    line-height: 1;
}

.summary_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #000;
    line-height: 1.2;
}

.summary_text strong {
    font-size: 16px;
}

.summary_text .more_reviews a {
    font-size: 13px;
    text-decoration: underline;
    color: #000;
}

.summary_right a {
    color: #37474f;
    ;
}

@media (max-width: 1024px) {
    .heureka_reviews .item {
        width: calc(50% - 15px); /* 2 na řádek na tabletech */
        height: auto; /* Flexibilní výška */
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .heureka_reviews .item {
        width: 100%; /* 1 na řádek na mobilech */
        min-height: auto;
    }
    
    .bottom_row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .right_col {
        text-align: left;
        padding-left: 0;
    }
}
