/* =========================================================
   AlaCoffee – Google Reviews
   Premium compact layout, 5 cards in one row
   ========================================================= */

#alacoffee-google-reviews{
    width:100%;
    box-sizing:border-box;
    padding:64px 24px 54px;
    background:linear-gradient(180deg,#f7f6f3 0%,#ebe7df 100%);
    border-top:1px solid rgba(199,161,122,.55);
    font-family:Bahnschrift,Arial,sans-serif;
    color:#3c3c3b;
}

#alacoffee-google-reviews *{
    box-sizing:border-box;
}

.alacoffee-reviews-inner{
    width:100%;
    max-width:1380px;
    margin:0 auto;
}

.alacoffee-reviews-header{
    position:relative;
    text-align:center;
    margin:0 auto 34px;
    max-width:760px;
}

.alacoffee-reviews-header:before{
    content:"";
    display:block;
    width:72px;
    height:2px;
    margin:0 auto 18px;
    background:#c7a17a;
    border-radius:999px;
}

.alacoffee-reviews-eyebrow{
    margin:0 0 10px;
    color:#c7a17a;
    font-size:11px;
    line-height:1.2;
    font-weight:600;
    letter-spacing:2.8px;
    text-transform:uppercase;
}

.alacoffee-reviews-title{
    margin:0 0 14px;
    color:#3c3c3b;
    font-size:34px;
    line-height:1.15;
    font-weight:500;
    letter-spacing:-.4px;
}

.alacoffee-rating{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
}

.alacoffee-rating-number{
    color:#3c3c3b;
    font-size:18px;
    line-height:1;
    font-weight:600;
}

.alacoffee-rating-stars{
    color:#c7a17a;
    font-size:15px;
    line-height:1;
    letter-spacing:1.5px;
    white-space:nowrap;
}

.alacoffee-rating-google{
    color:#777;
    font-size:12px;
    line-height:1.3;
    font-weight:400;
}

.alacoffee-google-brand{
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:10px;
    opacity:.78;
}

.alacoffee-google-brand img{
    width:60px;
    height:auto;
    display:block;
}

.alacoffee-reviews-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:14px;
    align-items:stretch;
}

.alacoffee-review-card{
    position:relative;
    display:flex;
    flex-direction:column;
    min-width:0;
    min-height:205px;
    padding:20px 18px 18px;
    background:rgba(255,255,255,.92);
    border:1px solid rgba(199,161,122,.18);
    border-radius:22px;
    box-shadow:0 8px 24px rgba(60,60,59,.07);
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
    overflow:hidden;
}

.alacoffee-review-card:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 30px rgba(60,60,59,.11);
    border-color:rgba(199,161,122,.42);
}

.alacoffee-review-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    margin-bottom:12px;
}

.alacoffee-review-author{
    display:flex;
    align-items:center;
    min-width:0;
    gap:10px;
}

.alacoffee-review-avatar{
    width:38px;
    height:38px;
    flex:0 0 38px;
    border-radius:50%;
    object-fit:cover;
    display:block;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.alacoffee-review-author-info{
    min-width:0;
}

.alacoffee-review-author-name{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#3c3c3b;
    font-size:13px;
    line-height:1.25;
    font-weight:600;
}

.alacoffee-review-date{
    margin-top:2px;
    color:#96928b;
    font-size:10.5px;
    line-height:1.2;
    font-weight:400;
}

.alacoffee-review-stars{
    flex:0 0 auto;
    color:#c7a17a;
    font-size:12px;
    line-height:1;
    letter-spacing:.7px;
    white-space:nowrap;
    padding-top:2px;
}

.alacoffee-review-text{
    position:relative;
    color:#4b4b49;
    font-size:12px;
    line-height:1.5;
    font-weight:400;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:5;
    overflow:hidden;
    margin-bottom:14px;
}

.alacoffee-review-google-link{
    margin-top:auto;
    align-self:flex-start;
    color:#58bcad;
    font-size:10.5px;
    line-height:1.2;
    font-weight:600;
    letter-spacing:.2px;
    text-decoration:none;
    transition:color .2s ease;
}

.alacoffee-review-google-link:hover{
    color:#3c3c3b;
    text-decoration:none;
}

.alacoffee-reviews-bottom{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    margin-top:30px;
}

.alacoffee-google-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 28px;
    border:1px solid #c7a17a;
    border-radius:999px;
    background:transparent;
    color:#3c3c3b;
    font-size:11px;
    line-height:1;
    font-weight:600;
    letter-spacing:1.6px;
    text-transform:uppercase;
    text-decoration:none;
    transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}

.alacoffee-google-button:after{
    content:"→";
    margin-left:12px;
    font-size:16px;
    line-height:1;
    transform:translateY(-1px);
}

.alacoffee-google-button:hover{
    background:#3c3c3b;
    border-color:#3c3c3b;
    color:#fff;
    transform:translateY(-1px);
    text-decoration:none;
}

.alacoffee-reviews-note{
    margin-top:12px;
    color:#9a958d;
    font-size:10.5px;
    line-height:1.4;
    text-align:center;
}

.alacoffee-review-loading,
.alacoffee-review-error{
    grid-column:1/-1;
    padding:24px;
    text-align:center;
    color:#777;
    font-size:13px;
}

/* tablet */
@media(max-width:1180px){
    .alacoffee-reviews-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

/* small tablet */
@media(max-width:820px){
    #alacoffee-google-reviews{
        padding:54px 18px 46px;
    }

    .alacoffee-reviews-title{
        font-size:30px;
    }

    .alacoffee-reviews-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

/* mobile – horizontal swipe */
@media(max-width:620px){
    #alacoffee-google-reviews{
        padding:48px 0 40px;
        overflow:hidden;
    }

    .alacoffee-reviews-inner{
        max-width:none;
    }

    .alacoffee-reviews-header{
        padding:0 18px;
        margin-bottom:26px;
    }

    .alacoffee-reviews-title{
        font-size:27px;
    }

    .alacoffee-reviews-eyebrow{
        font-size:10px;
        letter-spacing:2.3px;
    }

    .alacoffee-rating{
        gap:8px;
    }

    .alacoffee-reviews-grid{
        display:flex;
        gap:12px;
        overflow-x:auto;
        overflow-y:hidden;
        scroll-snap-type:x mandatory;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
        padding:2px 18px 14px;
    }

    .alacoffee-reviews-grid::-webkit-scrollbar{
        display:none;
    }

    .alacoffee-review-card{
        flex:0 0 78vw;
        max-width:320px;
        min-height:190px;
        scroll-snap-align:start;
        border-radius:20px;
    }

    .alacoffee-reviews-bottom{
        padding:0 18px;
        margin-top:22px;
    }

    .alacoffee-google-button{
        width:100%;
        max-width:340px;
        min-height:46px;
        padding:0 20px;
        font-size:10.5px;
        letter-spacing:1.4px;
    }
}
