/* ===== REVIEW SECTION ===== */
.anvu-review {
    padding: 14px;
    border-radius: 18px;
    border: 1px solid #eef2f7;
    background: #f9f9f9;
}

.anvu-review-title {
    font-weight: 800;
    color: #111827;
}

.anvu-review-summary {
    display: flex;
    gap: 18px;
    margin-top: 12px;
    align-items: flex-start;
}

.anvu-review-score {
    min-width: 160px;
}

.anvu-score-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.anvu-star {
    color: #f59e0b;
}

.anvu-score-big {
    font-size: 34px;
    font-weight: 900;
    color: #111827;
    line-height: 1;
}

.anvu-score-small {
    color: #6b7280;
    font-weight: 700;
}

.anvu-review-sub {
    color: #6b7280;
    font-size: 13px;
    margin-top: 2px;
}

.anvu-review-bars {
    flex: 1;
}

.anvu-bar-row {
    display: grid;
    grid-template-columns: 44px 1fr 58px;
    gap: 10px;
    align-items: center;
    margin: 6px 0;
}

.anvu-bar-label {
    color: #111827;
    font-size: 13px;
    white-space: nowrap;
}

    .anvu-bar-label i {
        color: #f59e0b;
        font-size: 12px;
    }

.anvu-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.anvu-bar-fill {
    height: 100%;
    background: #60a5fa;
    border-radius: 999px;
}

.anvu-bar-pct {
    text-align: right;
    color: #111827;
    font-weight: 700;
    font-size: 13px;
}

.anvu-hr {
    margin: 12px 0;
    border-color: #eef2f7;
}

.anvu-review-item {
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
}

    .anvu-review-item:last-child {
        border-bottom: 0;
    }

.anvu-review-name {
    font-weight: 800;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.anvu-badge-green {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #16a34a;
    background: #ecfdf5;
    padding: 4px 8px;
    border-radius: 999px;
}

.anvu-review-stars {
    margin-top: 6px;
}

    .anvu-review-stars i {
        font-size: 13px;
    }

    .anvu-review-stars .on {
        color: #f59e0b;
    }

    .anvu-review-stars .off {
        color: #e5e7eb;
    }

.anvu-review-text {
    margin-top: 8px;
    color: #111827;
    font-size: 14px;
    line-height: 1.5;
}

.anvu-review-meta {
    margin-top: 8px;
    color: #6b7280;
    font-size: 13px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.anvu-review-note {
    margin-top: 10px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1d4ed8;
    padding: 10px 10px;
    border-radius: 10px;
    font-size: 13px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.anvu-review-actions {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.anvu-btn-outline {
    flex: 1;
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 800;
}

.anvu-btn-primary {
    flex: 1;
    border: none;
    background: #1a73e8;
    color: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 900;
}

/* ===== MODAL ===== */
.anvu-modal-dialog {
    max-width: 720px;
}

.anvu-modal {
    border-radius: 18px;
    overflow: hidden;
    border: 0;
}

.anvu-modal-header {
    padding: 14px 16px;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.anvu-modal-title {
    font-weight: 900;
    color: #111827;
}

.anvu-modal-x {
    position: absolute;
    right: 12px;
    top: 10px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: none;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anvu-modal-body {
    padding: 16px;
}

.anvu-modal-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

    .anvu-modal-product img {
        width: 70px;
        height: 90px;
        object-fit: contain;
    }

.anvu-modal-product-name {
    text-align: center;
    font-weight: 900;
    color: #111827;
}

/* rating */
.anvu-rate {
    text-align: center;
    margin: 8px 0 12px;
}

.anvu-rate-stars {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.anvu-star-btn {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

    .anvu-star-btn i {
        font-size: 28px;
        color: #f59e0b;
    }

.anvu-rate-labels {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 8px;
    font-size: 12px;
    margin-top: 6px;
    color: #6b7280;
}

.anvu-rate-current {
    margin-top: 8px;
    font-size: 13px;
    color: #111827;
    font-weight: 700;
}

/* form */
.anvu-review-ta {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
    outline: none;
    resize: none;
}

.anvu-modal-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
}

.anvu-check {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: #111827;
}

    .anvu-check input {
        width: 16px;
        height: 16px;
    }

.anvu-upload {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a73e8;
    font-weight: 800;
    cursor: pointer;
    font-size: 13px;
}

    .anvu-upload i {
        font-size: 16px;
    }

.anvu-upload-preview {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.anvu-upimg {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    position: relative;
    background: #fff;
}

    .anvu-upimg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .anvu-upimg button {
        position: absolute;
        right: 6px;
        top: 6px;
        width: 22px;
        height: 22px;
        border: none;
        border-radius: 999px;
        background: rgba(0,0,0,.55);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
    }

.anvu-modal-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.anvu-input {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
    outline: none;
}

.anvu-check-policy {
    margin-top: 10px;
    font-size: 13px;
    color: #111827;
}

    .anvu-check-policy a {
        color: #1a73e8;
        font-weight: 800;
        text-decoration: none;
    }

        .anvu-check-policy a:hover {
            text-decoration: underline;
        }

.anvu-submit {
    width: 100%;
    margin-top: 12px;
    border: none;
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 900;
    background: #93c5fd;
    color: #fff;
    cursor: not-allowed;
}

    .anvu-submit.enabled {
        background: #1a73e8;
        cursor: pointer;
    }

.anvu-modal-footlinks {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    display: flex;
    justify-content: center;
    gap: 10px;
}

    .anvu-modal-footlinks a {
        color: #1a73e8;
        font-weight: 800;
        text-decoration: none;
    }

        .anvu-modal-footlinks a:hover {
            text-decoration: underline;
        }

@media(max-width:768px) {
    .anvu-review-summary {
        flex-direction: column;
    }

    .anvu-modal-2col {
        grid-template-columns: 1fr;
    }
}
.d-none {
    display: none !important;
}
.anvu-review-images img{max-height:100px; max-width:100px}

.anvu-review-image {
    cursor: pointer;
}

.anvu-review-image-modal-dialog {
    max-width: 900px;
}

.anvu-review-image-modal {
    background: #000;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.anvu-review-image-modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    min-height: 300px;
}

#anvuReviewImagePreview {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

.anvu-review-image-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
}