
/* =========================
   REVIEW MODAL
========================= */

.review-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.review-modal.active {
    display: flex;
}

/* BACKGROUND OVERLAY */

.review-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 15, 12, 0.7);
    backdrop-filter: blur(5px);
}

/* MODAL CONTENT */

.review-modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;

    background: #f8f5f1;
    border-radius: 12px;
    padding: 40px;

    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.2);
}

/* CLOSE BUTTON */

.review-modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    border: none;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
    color: #49362b;
}

/* HEADER */

.review-modal-header {
    margin-bottom: 30px;
}

.review-modal-label {
    display: block;
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 2px;
    color: #a27e69;
}

.review-modal-header h2 {
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
    color: #211914;
    margin-bottom: 12px;
}

.review-modal-header p {
    font-size: 14px;
    line-height: 1.7;
    color: #776b63;
}

/* FORM */

.review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.review-form-group label,
.review-rating-group legend {
    font-size: 12px;
    font-weight: 600;
    color: #49362b;
}

.review-form-group input,
.review-form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid #d9c9bc;
    border-radius: 5px;
    background: #fff;
    color: #211914;
    font-family: inherit;
    font-size: 14px;
}

.review-form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.review-form-group input:focus,
.review-form-group textarea:focus {
    outline: none;
    border-color: #a27e69;
}

/* STAR RATING */

.review-rating-group {
    border: none;
    padding: 0;
    margin: 0;
}

.review-rating {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.rating-star {
    border: none;
    background: transparent;
    color: #d5cbc3;
    font-size: 32px;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}

.rating-star.selected {
    color: #c19066;
}

.rating-star:hover {
    transform: scale(1.1);
}

/* NOTICE */

.review-form-notice {
    font-size: 12px;
    line-height: 1.6;
    color: #88796e;
}

/* SUBMIT BUTTON */

.review-submit-btn {
    width: 100%;
    padding: 16px;
    border: none;
    background: #49362b;
    color: #fff;
    font-size: 12px;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.3s;
}

.review-submit-btn:hover {
    background: #a27e69;
}

/* FEEDBACK */

.review-form-feedback {
    font-size: 13px;
    text-align: center;
}

/* MOBILE */

@media (max-width: 600px) {
    .review-modal-content {
        padding: 30px 22px;
        max-height: 85vh;
    }

    .review-modal-header h2 {
        font-size: 25px;
    }

    .rating-star {
        font-size: 28px;
    }
}
