/* หน้ารีวิว — สไตล์ให้เข้าธีม (maroon #4b0708 / ทอง #b78a3f, ฟอนต์ IBM Plex Sans Thai) */

main section .reviews-intro {
    max-width: 760px;
    margin: 0 auto;
}

/* ---- การ์ดข้อความรีวิว ---- */
.reviews-text {
    width: 100%;
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border: 1px solid #e8d9bd;
    border-radius: 16px;
    padding: 22px 22px 24px;
    box-shadow: 0 6px 18px rgba(75, 7, 8, 0.06);
    text-align: left;
    position: relative;
}

.review-card .review-quote {
    font-size: 40px;
    line-height: 1;
    color: #e1b56e;
    font-family: Georgia, serif;
    height: 22px;
}

.review-card .stars {
    color: #f2b705;
    font-size: 18px;
    letter-spacing: 2px;
}

.review-card .review-body {
    color: #333;
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
    flex: 1;
}

.review-card .review-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    border-top: 1px solid #f0e6d4;
    padding-top: 12px;
}

.review-card .review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #4b0708;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.review-card .review-author {
    font-weight: 600;
    color: #4b0708;
    font-size: 15px;
}

.review-card .review-date {
    color: #999;
    font-size: 13px;
}

/* การ์ดที่คลิกได้ (ลิงก์ไปรีวิวต้นทาง เช่น Google) */
.review-card-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.review-card-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(75, 7, 8, 0.14);
}

/* รูปประกอบในการ์ดข้อความ */
.review-card .review-photo {
    width: 100%;
    border-radius: 10px;
    display: block;
}

/* ป้าย "รีวิวจาก Google" มุมขวาของแถวชื่อ */
.review-card .review-google {
    margin-left: auto;
    align-self: center;
    color: #b78a3f;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* ---- แกลเลอรีผลลัพธ์ก่อน-หลัง ---- */
.reviews-gallery {
    width: 100%;
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.reviews-gallery figure {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.reviews-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

.reviews-gallery figcaption {
    padding: 10px 14px;
    font-size: 13px;
    color: #4b0708;
    background: linear-gradient(180deg, #e1b56e22 0%, #fff 100%);
}

/* หมายเหตุ compliance */
.reviews-disclaimer {
    max-width: 760px;
    margin: 16px auto 0;
    font-size: 13px;
    color: #8a6a00;
    background: #fff8e1;
    border: 1px solid #ffe0a3;
    border-radius: 10px;
    padding: 10px 16px;
    text-align: center;
}

.reviews-empty {
    text-align: center;
    color: #888;
    padding: 40px 16px;
}

/* ป้ายคะแนน Google (กรอกมือ) */
.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #fff;
    border: 1px solid #e8d9bd;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(75, 7, 8, 0.08);
    color: #4b0708;
    text-decoration: none;
    font-size: 16px;
    transition: box-shadow .15s ease, transform .15s ease;
}

.google-rating-badge:hover {
    box-shadow: 0 8px 20px rgba(75, 7, 8, 0.14);
    transform: translateY(-2px);
}

.google-rating-badge .g-stars { color: #f2b705; letter-spacing: 1px; }
.google-rating-badge strong { font-size: 18px; }
.google-rating-badge .g-count { color: #777; font-size: 14px; }

@media (max-width: 992px) {
    .reviews-text { grid-template-columns: repeat(2, 1fr); }
    .reviews-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .reviews-text { grid-template-columns: 1fr; }
    .reviews-gallery { grid-template-columns: 1fr; }
}
