/* ==========================================================
   CHOCO BONTÉ – HEUREKA REVIEWS v1
========================================================== */

:root{
    --cbh-primary:#c70342;
    --cbh-primary-dark:#a50237;
    --cbh-text:#302529;
    --cbh-muted:#75686c;
    --cbh-card:#ffffff;
    --cbh-border:rgba(199,3,66,.10);
    --cbh-radius:24px;
    --cbh-gap:18px;
}

.cb-heureka{
    width:100%;
    padding:88px 0 82px;
    background:transparent;
    font-family:Montserrat,Arial,sans-serif;
}

.cb-heureka__inner{
    width:min(1380px,calc(100% - 96px));
    margin:0 auto;
}

.cb-heureka__header{
    margin-bottom:34px;
}

.cb-heureka__title{
    position:relative;
    display:inline-block;
    margin:0 0 22px;
    color:var(--cbh-text);
    font-size:clamp(31px,3vw,48px);
    line-height:1.08;
    font-weight:800;
    letter-spacing:-.035em;
}

.cb-heureka__title::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-17px;
    width:100%;
    height:14px;
    background-repeat:no-repeat;
    background-position:left center;
    background-size:100% 100%;
    background-image:url("data:image/svg+xml,%3Csvg width='1000' height='16' viewBox='0 0 1000 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 10C62 1 119 15 179 8C239 1 298 15 358 8C418 1 477 15 537 8C597 1 656 15 716 8C776 1 835 15 895 8C940 3 971 11 997 6' fill='none' stroke='%23c70342' stroke-width='5.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.cb-heureka__subtitle{
    max-width:720px;
    margin:0;
    color:var(--cbh-muted);
    font-size:16px;
    line-height:1.6;
    font-weight:500;
}

.cb-heureka__layout{
    display:grid;
    grid-template-columns:minmax(280px,.72fr) minmax(0,1.8fr);
    gap:24px;
    align-items:stretch;
}

.cb-heureka__summary{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:100%;
    padding:34px 30px;
    border-radius:var(--cbh-radius);
    background:var(--cbh-primary);
    color:#fff;
    box-shadow:0 16px 38px rgba(73,31,44,.13);
}

.cb-heureka__badge{
    display:inline-flex;
    align-items:center;
    width:max-content;
    margin-bottom:22px;
    padding:8px 12px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:999px;
    background:rgba(255,255,255,.10);
    color:#fff;
    font-size:11px;
    line-height:1;
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.cb-heureka__score{
    display:flex;
    align-items:flex-end;
    gap:8px;
    margin-bottom:8px;
}

.cb-heureka__score-main{
    font-size:64px;
    line-height:.95;
    font-weight:800;
    letter-spacing:-.06em;
}

.cb-heureka__score-max{
    padding-bottom:7px;
    color:rgba(255,255,255,.75);
    font-size:18px;
    font-weight:700;
}

.cb-heureka__stars{
    margin-bottom:18px;
    color:#ffd66b;
    font-size:22px;
    line-height:1;
    letter-spacing:2px;
}

.cb-heureka__meta{
    margin:0 0 24px;
    color:rgba(255,255,255,.86);
    font-size:14px;
    line-height:1.55;
    font-weight:500;
}

.cb-heureka__cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    width:max-content;
    min-height:46px;
    padding:12px 20px;
    border-radius:999px;
    background:#fff;
    color:var(--cbh-primary)!important;
    text-decoration:none!important;
    font-size:13px;
    font-weight:800;
    transition:transform .2s ease,background .2s ease,color .2s ease;
}

.cb-heureka__cta::after{
    content:"→";
    transition:transform .2s ease;
}

.cb-heureka__cta:hover{
    transform:translateY(-2px);
    background:#f7edf1;
    color:var(--cbh-primary-dark)!important;
}

.cb-heureka__cta:hover::after{
    transform:translateX(4px);
}

.cb-heureka__reviews{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:var(--cbh-gap);
}

.cb-heureka__review{
    display:flex;
    flex-direction:column;
    min-height:220px;
    padding:26px 24px 24px;
    border:1px solid var(--cbh-border);
    border-radius:var(--cbh-radius);
    background:var(--cbh-card);
    box-shadow:0 10px 30px rgba(73,31,44,.07);
    transition:transform .28s cubic-bezier(.22,.61,.36,1),box-shadow .28s ease,border-color .28s ease;
}

.cb-heureka__review:hover{
    transform:translateY(-4px);
    border-color:rgba(199,3,66,.22);
    box-shadow:0 17px 38px rgba(73,31,44,.11);
}

.cb-heureka__review-stars{
    margin-bottom:18px;
    color:var(--cbh-primary);
    font-size:16px;
    line-height:1;
    letter-spacing:1px;
}

.cb-heureka__review-text{
    margin:0 0 24px;
    color:var(--cbh-text);
    font-size:15px;
    line-height:1.65;
    font-weight:500;
}

.cb-heureka__review-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:auto;
    color:var(--cbh-muted);
    font-size:12px;
    font-weight:700;
}

.cb-heureka__verified{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:var(--cbh-primary);
}

.cb-heureka__verified::before{
    content:"✓";
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
    border-radius:50%;
    background:rgba(199,3,66,.10);
    font-size:11px;
    font-weight:900;
}

@media(max-width:1050px){
    .cb-heureka__inner{
        width:calc(100% - 48px);
    }

    .cb-heureka__layout{
        grid-template-columns:1fr;
    }

    .cb-heureka__summary{
        min-height:auto;
    }
}

@media(max-width:699px){
    .cb-heureka{
        padding:56px 0 60px;
        overflow:hidden;
    }

    .cb-heureka__inner{
        width:100%;
    }

    .cb-heureka__header,
    .cb-heureka__summary{
        width:calc(100% - 32px);
        margin-left:auto;
        margin-right:auto;
        box-sizing:border-box;
    }

    .cb-heureka__header{
        margin-bottom:24px;
    }

    .cb-heureka__title{
        font-size:30px;
    }

    .cb-heureka__subtitle{
        font-size:14px;
    }

    .cb-heureka__layout{
        display:block;
    }

    .cb-heureka__summary{
        margin-bottom:18px;
        padding:28px 24px;
        border-radius:22px;
    }

    .cb-heureka__score-main{
        font-size:56px;
    }

    .cb-heureka__reviews{
        display:flex;
        gap:14px;
        padding:4px 16px 24px;
        overflow-x:auto;
        scroll-snap-type:x mandatory;
        scroll-padding-left:16px;
        scrollbar-width:none;
        -webkit-overflow-scrolling:touch;
    }

    .cb-heureka__reviews::-webkit-scrollbar{
        display:none;
    }

    .cb-heureka__review{
        flex:0 0 82%;
        max-width:320px;
        min-height:230px;
        scroll-snap-align:start;
        border-radius:22px;
    }
}

@media(prefers-reduced-motion:reduce){
    .cb-heureka__review,
    .cb-heureka__cta{
        transition:none;
    }
}
