/* ── Google Reviews - Homepage Section ── */
.ml-google-reviews {
    padding: 40px 0;
    background: #f9f9f9;
    margin-top: 30px;
}

.ml-reviews-header {
    text-align: center;
    margin-bottom: 25px;
}

.ml-reviews-header .products-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.ml-reviews-summary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ml-reviews-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ml-reviews-stars .ml-star-full { color: #fbbc05; font-size: 1.2rem; }
.ml-reviews-stars .ml-star-empty { color: #ddd; font-size: 1.2rem; }

.ml-reviews-score {
    font-size: 0.95rem;
    color: #555;
}

/* ── Swiper Carousel ── */
.ml-reviews-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}
.ml-reviews-carousel-wrap .swiper {
    flex: 1;
    overflow: hidden;
}
.ml-rev-prev, .ml-rev-next {
    cursor: pointer;
    color: #333;
    user-select: none;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: all 0.3s;
}
.ml-rev-prev:hover, .ml-rev-next:hover {
    background: #0078d7;
    color: #fff;
}

/* ── Review Cards ── */
.ml-review-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.ml-review-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ml-review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e84c8a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.ml-review-meta { display: flex; flex-direction: column; }
.ml-review-author { font-weight: 600; font-size: 0.9rem; color: #333; }
.ml-review-date { font-size: 0.78rem; color: #999; }

.ml-review-stars-small .ml-star-full { color: #fbbc05; font-size: 0.95rem; }
.ml-review-stars-small .ml-star-empty { color: #ddd; font-size: 0.95rem; }

.ml-review-text {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.5;
    margin: 8px 0 0;
    flex-grow: 1;
}

/* ── Footer Link ── */
.ml-reviews-footer { text-align: center; margin-top: 20px; }
.ml-reviews-link { color: #e84c8a; font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.ml-reviews-link:hover { color: #c73a72; text-decoration: underline; }

/* ── Product Badge ── */
.ml-google-badge { margin: 10px 0; }
.ml-google-badge a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; background: #f9f9f9; border: 1px solid #e0e0e0;
    border-radius: 6px; text-decoration: none; color: #333;
    font-size: 0.85rem; transition: border-color 0.2s;
}
.ml-google-badge a:hover { border-color: #4285F4; text-decoration: none; }
.ml-badge-stars .ml-star-full { color: #fbbc05; font-size: 0.9rem; }
.ml-badge-stars .ml-star-empty { color: #ddd; font-size: 0.9rem; }
.ml-badge-label { font-weight: 600; color: #555; font-size: 0.82rem; }
.ml-badge-score { font-weight: 700; color: #333; }
.ml-badge-count { color: #777; }

/* ── Mobile ── */
@media (max-width: 767px) {
    .ml-google-reviews { padding: 25px 0; }
    .ml-reviews-header .products-section-title { font-size: 1.2rem; }
    .ml-reviews-summary { flex-direction: column; gap: 5px; }
    .ml-rev-prev, .ml-rev-next { width: 32px; height: 32px; }
    .ml-review-card { min-height: auto; }
}
