.clair-review-page {
    background: #fbf8f5;
    min-height: 70vh;
    padding: 28px 16px 56px;
}

.clair-review-form {
    background: #fff;
    border: 1px solid rgba(201, 163, 138, .32);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(69, 49, 38, .08);
    margin: 0 auto;
    max-width: 680px;
    padding: 24px;
}

.clair-review-form h1 {
    color: #3f3028;
    font-size: 1.55rem;
    line-height: 1.35;
    margin: 8px 0 18px;
}

.clair-review-trust {
    color: #9b735f;
    font-size: .9rem;
    font-weight: 700;
    margin: 0;
}

.clair-review-visit {
    background: #faf4ef;
    border-radius: 8px;
    margin: 0 0 20px;
    padding: 14px 16px;
}

.clair-review-visit div {
    display: flex;
    gap: 12px;
    margin: 4px 0;
}

.clair-review-visit dt {
    color: #8a6b5b;
    flex: 0 0 72px;
    font-weight: 700;
}

.clair-review-visit dd {
    color: #3f3028;
    margin: 0;
}

.clair-review-errors {
    background: #fff4f4;
    border: 1px solid #efc7c7;
    border-radius: 8px;
    color: #8f3030;
    margin-bottom: 18px;
    padding: 10px 14px;
}

.clair-review-errors p {
    margin: 4px 0;
}

.clair-review-hp {
    height: 0;
    left: -9999px;
    overflow: hidden;
    position: absolute;
    width: 0;
}

.clair-review-rating {
    border: 0;
    direction: rtl;
    display: inline-flex;
    gap: 4px;
    margin: 0 0 18px;
    padding: 0;
}

.clair-review-rating legend {
    color: #3f3028;
    direction: ltr;
    font-weight: 700;
    margin-bottom: 8px;
    width: 100%;
}

.clair-review-rating input {
    position: absolute;
    opacity: 0;
}

.clair-review-rating label {
    color: #d8c7bc;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
}

.clair-review-rating input:checked ~ label,
.clair-review-rating label:hover,
.clair-review-rating label:hover ~ label {
    color: #c9a38a;
}

.clair-review-field {
    display: block;
    margin-bottom: 18px;
}

.clair-review-field span {
    color: #3f3028;
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.clair-review-field input,
.clair-review-field textarea,
.clair-review-modal__url {
    border: 1px solid #dbc9bd;
    border-radius: 8px;
    box-sizing: border-box;
    color: #3f3028;
    font: inherit;
    padding: 12px 13px;
    width: 100%;
}

.clair-review-field textarea {
    min-height: 150px;
    resize: vertical;
}

.clair-review-field small {
    color: #8a6b5b;
    display: block;
    margin-top: 6px;
}

.clair-review-submit,
.clair-review-request-btn,
.clair-review-modal__copy,
.clair-review-more {
    background: #c9a38a;
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    padding: 11px 18px;
}

.clair-review-submit {
    font-size: 1rem;
    width: 100%;
}

.clair-review-request-btn {
    font-size: .88rem;
    margin: 6px 6px 0 0;
}

.clair-review-request-btn.is-compact {
    display: inline-block;
    font-size: .72rem;
    margin: 3px 0 0;
    padding: 5px 8px;
}

.clair-review-request-btn:disabled {
    cursor: wait;
    opacity: .68;
}

.clair-review-invalid {
    color: #3f3028;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.clair-review-modal {
    align-items: center;
    background: rgba(45, 32, 25, .48);
    bottom: 0;
    display: none;
    justify-content: center;
    left: 0;
    padding: 18px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
}

.clair-review-modal.is-open {
    display: flex;
}

.clair-review-modal__panel {
    background: #fff;
    border-radius: 8px;
    max-width: 420px;
    padding: 22px;
    position: relative;
    width: 100%;
}

.clair-review-modal__panel h2 {
    color: #3f3028;
    font-size: 1.25rem;
    margin: 0 34px 8px 0;
}

.clair-review-modal__panel p {
    color: #6f594d;
    font-size: .92rem;
    margin: 0 0 14px;
}

.clair-review-modal__close {
    background: transparent;
    border: 0;
    color: #7d6254;
    cursor: pointer;
    font-size: 1.7rem;
    line-height: 1;
    padding: 4px;
    position: absolute;
    right: 14px;
    top: 12px;
}

.clair-review-modal__qr {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

.clair-review-modal__qr canvas {
    border: 8px solid #fff;
    box-shadow: 0 2px 12px rgba(45, 32, 25, .12);
    max-width: 220px;
    width: 100%;
}

.clair-customer-reviews {
    margin-top: 40px;
}

.clair-review-summary {
    align-items: center;
    color: #6f594d;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 12px 0 20px;
}

.clair-review-stars,
.clair-review-item-stars {
    color: #c9a38a;
    letter-spacing: 0;
}

.clair-review-list {
    display: grid;
    gap: 14px;
}

.clair-review-item {
    background: #fff;
    border: 1px solid rgba(201, 163, 138, .28);
    border-radius: 8px;
    padding: 16px;
}

.clair-review-item.is-hidden {
    display: none;
}

.clair-review-item-head {
    align-items: center;
    display: flex;
    gap: 10px;
}

.clair-review-verified {
    background: #f4e6dc;
    border-radius: 999px;
    color: #916a55;
    font-size: .78rem;
    font-weight: 700;
    padding: 3px 9px;
}

.clair-review-meta {
    color: #8a6b5b;
    font-size: .9rem;
    margin: 8px 0;
}

.clair-review-body {
    color: #3f3028;
    line-height: 1.75;
    margin: 0;
}

.clair-review-empty {
    color: #8a6b5b;
    padding: 18px 0;
    text-align: center;
}

.clair-review-more {
    display: block;
    margin: 18px auto 0;
}

@media (max-width: 640px) {
    .clair-review-page {
        padding: 18px 12px 42px;
    }

    .clair-review-form {
        padding: 18px;
    }

    .clair-review-form h1 {
        font-size: 1.28rem;
    }

    .clair-review-visit div {
        display: block;
    }

    .clair-review-visit dt {
        margin-bottom: 2px;
    }
}
