.crp-form {
    max-width: 500px;
    margin: 20px 0;

}

.crp-review {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

/* Review form */
.crp-review-form {
    border: 1px solid #d7d7d7;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
}

.crp-review-form input,
.crp-review-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
}

.crp-review-form input:focus,
.crp-review-form textarea:focus {
    outline: none;
    border-color: #ae8331 !important;
}

.crp-star-input {
    font-size: 28px;
    margin-bottom: 12px;
}

.crp-star-input span {
    font-size: 40px;
    cursor: pointer;
    color: transparent;
    -webkit-text-stroke: 1px #f5b301;
    /* border color */
}


.crp-star-input span.active {
    color: #f5b301;
}

.crp-upload input {
    display: block;
    margin-top: 8px;
}

.crp-review-media {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.crp-media-item img {
    max-height: 170px;
    max-width: 150px;
    border-radius: 6px;
}

.crp-media-item video {
    max-width: 220px;
    border-radius: 6px;
}

.crp-media img,
.crp-media video {
    max-width: 100%;
    margin-top: 10px;
}

.crp-reviews {
    margin-top: 30px;
}

.crp-review {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.crp-stars {
    font-size: 22px;
    color: #ccc;
    margin-bottom: 10px;
}

.crp-stars .filled {
    color: #f5b301;
}

/* Reviews list */
.crp-reviews-list {
    display: grid;
    gap: 20px;
}

.crp-review-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
}

.crp-reviewer {
    font-weight: 600;
    margin-bottom: 5px;
}

.crp-stars {
    font-size: 35px;
    color: #ccc;
    margin-bottom: 10px;
}

.crp-stars .filled {
    color: #f39c12;
}

.crp-review-text {
    margin-bottom: 15px;
}

.crp-owner-reply {
    border-top: 1px solid #eee;
    padding-top: 10px;
    font-size: 14px;
    color: #444;
}
.crp-submit-btn {
    background-color: #ae8331 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 22px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    display: inline-block;
}

.crp-submit-btn:hover {
    background-color: #e08e0b !important;
}

.crp-success-message{
    font-size: 15px;
    margin-bottom: 5px;
}

/* =========================
   FINAL REVIEW LAYOUT
========================= */

.crp-review-card.layout-final {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
}

/* Stars on top */
.crp-review-stars-top {
    margin-bottom: 15px;
}

/* Main split */
.crp-review-main {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

/* LEFT */
.crp-review-left {
    flex: 1;
    width: 80%;
}

.crp-review-user {
    display: flex;
    align-items: center;
    gap: 10px;
    /* margin-bottom: 8px; */
}
/* UPLOAD WRAPPER */
.crp-file-upload {
    display: inline-block;
    margin-top: 10px;
}

/* HIDE REAL INPUT */
.crp-file-upload input {
    display: none;
}

/* UPLOAD BUTTON (MATCH IMAGE) */
.crp-file-btn {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    color: #333;
    background: #f3f3f3;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

/* HINT TEXT */
.crp-file-hint {
    margin-top: 6px;
    font-size: 13px;
    color: #888;
}

.crp-review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crp-reviewer-name {
    font-size: 22px;
    font-weight: 600;
}

.crp-review-content {
    margin-top: 5px;
    font-size: 15px;
    line-height: 1.6;
}

/* RIGHT (IMAGES) */
.crp-review-right {
    width: 20%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.crp-review-right img {
    width: 100%;
    border-radius: 8px !important;
    object-fit: cover;
}

/* MOBILE */
@media (max-width: 768px) {
    .crp-review-main {
        flex-direction: column;
    }

    .crp-review-right {
        width: 100%;
    }
}