/* ===== FITALIBOXING GOOGLE REVIEWS ===== */
/* Reset - kad tema neperrasytu */
.agr-wrap, .agr-wrap *{
    box-sizing:border-box !important;
}
.agr-wrap p{
    margin:0;
    padding:0;
}
.agr-wrap img{
    max-width:none;
    display:block;
}
.agr-wrap button{
    font-family:inherit;
}

.agr-wrap{
    --agr-ink:#202124;
    --agr-soft:#5f6368;
    --agr-line:#dadce0;
    --agr-card:#f8f9fa;
    --agr-blue:#4285F4;
    max-width:1200px;
    margin:0 auto;
    font-family:'Montserrat',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
    color:var(--agr-ink);
}
.agr-wrap *{box-sizing:border-box;}

/* HEADER */
.agr-header{
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    background:var(--agr-card);
    border-radius:10px;
    padding:16px 24px;
    margin-bottom:18px;
    flex-wrap:wrap;
}
.agr-header-left{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}
.agr-logo{
    font-family:'Product Sans',Arial,sans-serif;
    font-size:22px;
    font-weight:700;
    letter-spacing:-.5px;
}
.agr-label{font-size:15px;font-weight:600;}
.agr-stars{display:inline-flex;gap:1px;}
.agr-rating{font-size:15px;font-weight:700;}
.agr-divider{color:var(--agr-line);}
.agr-count{font-size:14px;font-weight:500;color:var(--agr-ink);}
.agr-write-btn{
    display:inline-block;
    padding:10px 20px;
    border:1px solid var(--agr-line);
    border-radius:6px;
    background:#fff;
    font-size:14px;
    font-weight:600;
    color:var(--agr-ink);
    text-decoration:none;
    white-space:nowrap;
    transition:background .2s,border-color .2s;
}
.agr-write-btn:hover{background:#f1f3f4;border-color:#bdc1c6;color:var(--agr-ink);}

/* SLIDER */
.agr-slider-wrap{position:relative;}
.agr-track{
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:16px;
    overflow-x:auto;
    scroll-behavior:smooth;
    scroll-snap-type:x mandatory;
    padding:4px 0;
    -ms-overflow-style:none;
    scrollbar-width:none;
}
.agr-track::-webkit-scrollbar{display:none;}

.agr-card{
    flex:0 0 calc(33.333% - 11px) !important;
    min-width:280px;
    max-width:none;
    scroll-snap-align:start;
    background:var(--agr-card);
    border-radius:10px;
    padding:20px;
    display:flex;
    flex-direction:column;
}
.agr-card-top{
    display:flex !important;
    align-items:flex-start;
    gap:12px;
    margin-bottom:12px;
}
.agr-avatar{
    width:42px !important;
    height:42px !important;
    max-width:42px !important;
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;
}
.agr-avatar-letter{
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--agr-blue);
    color:#fff;
    font-size:18px;
    font-weight:600;
    text-transform:uppercase;
}
.agr-author-info{flex:1;min-width:0;}
.agr-author{
    margin:0 0 2px;
    font-size:15px;
    font-weight:600;
    line-height:1.3;
    color:var(--agr-ink);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.agr-time{
    margin:0;
    font-size:13px;
    color:var(--agr-soft);
    line-height:1.3;
}
.agr-g-icon{flex-shrink:0;line-height:1;}

.agr-card-stars{
    display:flex;
    align-items:center;
    gap:6px;
    margin-bottom:10px;
}
.agr-verified{flex-shrink:0;}

.agr-text-wrap{flex:1;display:flex;flex-direction:column;}
.agr-text{
    margin:0;
    font-size:14px;
    line-height:1.6;
    color:var(--agr-ink);
    display:-webkit-box;
    -webkit-line-clamp:4;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.agr-text.expanded{
    -webkit-line-clamp:unset;
    display:block;
}
.agr-more{
    margin-top:8px;
    padding:0;
    border:none;
    background:none;
    font-family:inherit;
    font-size:13px;
    font-weight:600;
    color:var(--agr-soft);
    cursor:pointer;
    text-align:left;
    align-self:flex-start;
}
.agr-more:hover{color:var(--agr-ink);text-decoration:underline;}

/* NAV */
.agr-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:38px;height:38px;
    border-radius:50%;
    border:1px solid var(--agr-line);
    background:#fff;
    color:var(--agr-ink);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:2;
    box-shadow:0 1px 4px rgba(0,0,0,.12);
    transition:background .2s,opacity .2s;
    padding:0;
}
.agr-nav svg{width:20px;height:20px;}
.agr-nav:hover{background:#f1f3f4;}
.agr-nav:disabled{opacity:0;pointer-events:none;}
.agr-prev{left:-19px;}
.agr-next{right:-19px;}

/* RESPONSIVE */
@media(max-width:1024px){
    .agr-card{flex:0 0 calc(50% - 8px) !important;}
    .agr-prev{left:6px;}
    .agr-next{right:6px;}
}

@media(max-width:767px){
    .agr-header{
        padding:14px 16px;
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }
    .agr-header-left{gap:7px;width:100%;}
    .agr-logo{font-size:18px;}
    .agr-label{font-size:13px;}
    .agr-rating{font-size:14px;}
    .agr-count{font-size:12px;}
    .agr-stars svg{width:14px;height:14px;}
    .agr-write-btn{
        width:100%;
        text-align:center;
        padding:11px 16px;
        font-size:13px;
    }

    /* Viena kortele per ekrana */
    .agr-slider-wrap{
        margin-left:-16px;
        margin-right:-16px;
        padding-left:16px;
        padding-right:16px;
    }
    .agr-track{
        gap:12px;
        scroll-padding-left:16px;
    }
    .agr-card{
        flex:0 0 100% !important;
        min-width:0 !important;
        padding:18px 16px;
    }
    .agr-avatar{
        width:38px !important;
        height:38px !important;
        max-width:38px !important;
    }
    .agr-avatar-letter{font-size:16px;}
    .agr-author{font-size:14px;}
    .agr-time{font-size:12px;}
    .agr-text{
        font-size:13px;
        -webkit-line-clamp:6;
    }

    /* Rodykles apacioje, ne ant korteliu */
    .agr-nav{
        position:static;
        transform:none;
        width:36px;
        height:36px;
    }
    .agr-slider-wrap{
        display:flex;
        flex-direction:column;
    }
    .agr-track{order:1;}
    .agr-prev{order:2;}
    .agr-next{order:3;}
    .agr-nav-mobile-row{
        order:2;
        display:flex;
        justify-content:center;
        gap:12px;
        margin-top:14px;
    }
}

@media(max-width:400px){
    .agr-card{padding:16px 14px;}
    .agr-logo{font-size:17px;}
    .agr-label{font-size:12px;}
    .agr-count{font-size:11px;}
}


/* TASKELIAI */
.agr-dots{
    display:none;
    justify-content:center;
    gap:7px;
    margin-top:16px;
}
.agr-dot{
    width:7px;
    height:7px;
    padding:0;
    border:none;
    border-radius:50%;
    background:var(--agr-line);
    cursor:pointer;
    transition:background .25s,width .25s;
}
.agr-dot.active{
    background:var(--agr-ink);
    width:20px;
    border-radius:4px;
}

/* Taskelius valdo JS */

/* KORTELE KAIP NUORODA */
a.agr-card{
    text-decoration:none !important;
    color:var(--agr-ink) !important;
    transition:box-shadow .25s,transform .25s;
}
a.agr-card:hover{
    box-shadow:0 4px 16px rgba(0,0,0,.10);
    transform:translateY(-2px);
    text-decoration:none !important;
    color:var(--agr-ink) !important;
}
a.agr-card:hover .agr-more{
    color:var(--agr-ink);
    text-decoration:underline;
}
.agr-more{
    display:none;
    margin-top:8px;
    font-size:13px;
    font-weight:600;
    color:var(--agr-soft);
}

/* ===== MOBILE SLIDER FIX ===== */
@media(max-width:767px){
    .agr-slider-wrap{
        position:relative !important;
        overflow:visible !important;
    }
    .agr-track{
        display:flex !important;
        flex-wrap:nowrap !important;
        overflow-x:scroll !important;
        overflow-y:hidden !important;
        -webkit-overflow-scrolling:touch !important;
        scroll-snap-type:x mandatory !important;
        gap:12px !important;
        padding-bottom:4px !important;
    }
    .agr-card{
        flex:0 0 86% !important;
        width:86% !important;
        min-width:86% !important;
        max-width:86% !important;
        scroll-snap-align:center !important;
    }
    .agr-nav{display:none !important;}
}

@media(max-width:480px){
    .agr-card{
        flex:0 0 90% !important;
        width:90% !important;
        min-width:90% !important;
        max-width:90% !important;
    }
}
