/* ===========================
   Review Summary — Amazon-style
=========================== */

.gf-summary {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.gf-summary-left {
    min-width: 150px;
    text-align: center;
}

.gf-summary-left h2 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #0f1111;
}

.gf-average {
    font-size: 36px;
    font-weight: 700;
    color: #0f1111;
    line-height: 1;
    margin: 4px 0;
}

.gf-stars {
    font-size: 16px;
    margin: 3px 0;
}

.gf-review-count {
    font-size: 11px;
    color: #565959;
    margin-top: 2px;
}

.gf-summary-right {
    flex: 1;
}

.gf-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.gf-bar-row span:first-child {
    width: 44px;
    font-size: 11px;
    color: #007185;
    white-space: nowrap;
}

.gf-bar {
    flex: 1;
    height: 8px;
    background: #e3e3e3;
    border-radius: 3px;
    overflow: hidden;
}

.gf-fill {
    height: 100%;
    background: #f5a623;
    border-radius: 3px;
}

.gf-bar-count {
    width: 20px;
    font-size: 11px;
    color: #565959;
    text-align: right;
}

/* ===========================
   Write a Review Button
   (inside summary box)
=========================== */

.gf-write-review-btn,
#gf-toggle-review-btn {
    display: inline-block;
    background: #ffd814;
    color: #0f1111;
    border: 1px solid #c7a800;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    text-decoration: none;
    transition: background .15s;
}

.gf-write-review-btn:hover,
#gf-toggle-review-btn:hover {
    background: #f7ca00;
    color: #0f1111;
    text-decoration: none;
}

/* ===========================
   Review Cards — flat
=========================== */

.gf-review-card {
    background: #fff;
    padding: 14px 0;
    border-bottom: 1px solid #e7e7e7;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 0;
    transition: none;
}

.gf-review-card:hover {
    transform: none;
    box-shadow: none;
    border-color: #e7e7e7;
}

.gf-review-card:last-of-type {
    border-bottom: none;
}

.gf-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.gf-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e3e3e3;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: none;
}

.gf-review-info h3 {
    margin: 0 0 1px;
    font-size: 13px;
    font-weight: 700;
    color: #0f1111;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gf-review-header .gf-stars {
    font-size: 14px;
    margin: 1px 0;
}

.gf-date {
    color: #565959;
    font-size: 11px;
    margin-top: 1px;
}

.gf-review-content {
    font-size: 13px;
    line-height: 1.55;
    color: #0f1111;
    margin-top: 4px;
}

.gf-verified {
    display: inline-block;
    background: transparent;
    color: #c45500;
    font-size: 10px;
    font-weight: 600;
    padding: 0;
    border-radius: 0;
}

/* ===========================
   Review Gallery
=========================== */

.gf-review-gallery {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.gf-review-gallery img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* ===========================
   Load More Button
=========================== */

#gf-load-more-wrap {
    text-align: center;
    padding: 16px 0 8px;
}

.gf-load-more-btn {
    background: #fff;
    color: #0f1111;
    border: 1px solid #aaa;
    border-radius: 20px;
    padding: 9px 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}

.gf-load-more-btn:hover {
    background: #f5f5f5;
    border-color: #888;
}

/* ===========================
   No reviews
=========================== */

.gf-no-reviews {
    color: #565959;
    font-size: 13px;
    margin-bottom: 16px;
}

/* ===========================
   Write Review Section & Form
=========================== */

.gf-write-review {
    margin-top: 8px;
}

.gf-reviews hr { display: none; }

#gf-review-form-wrap {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-top: 8px;
}

.gf-form-row {
    display: flex;
    gap: 16px;
}

.gf-form-row .gf-form-group {
    flex: 1;
}

.gf-form-group {
    margin-bottom: 14px;
}

.gf-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f1111;
    margin-bottom: 5px;
}

.gf-required { color: #c40000; }

.gf-form-group input[type="text"],
.gf-form-group input[type="email"],
.gf-form-group textarea {
    width: 100%;
    padding: 8px 10px;
    font-size: 13px;
    border: 1px solid #aaa;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    transition: border-color .15s;
}

.gf-form-group input:focus,
.gf-form-group textarea:focus {
    border-color: #e77600;
    box-shadow: 0 0 0 2px rgba(231,118,0,.15);
}

.gf-stars-pick {
    display: flex;
    gap: 4px;
    font-size: 28px;
    cursor: pointer;
    user-select: none;
    margin: 4px 0 8px;
}

.gf-star-pick {
    color: #bbb;
    transition: color .1s;
    line-height: 1;
}

.gf-submit-btn {
    background: #ffd814;
    color: #0f1111;
    border: 1px solid #c7a800;
    border-radius: 20px;
    padding: 9px 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}

.gf-submit-btn:hover { background: #f7ca00; }
.gf-submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.gf-success-msg {
    color: #2e7d32;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 0;
}

/* ===========================
   Mobile
=========================== */

@media (max-width: 600px) {
    .gf-summary {
        flex-direction: column;
        padding: 14px;
        gap: 12px;
    }
    .gf-average { font-size: 28px; }
    .gf-form-row { flex-direction: column; gap: 0; }
}
