
.hpr-upload-wrap{
    margin:14px 0 18px;
    padding:14px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:#fffaf7;
}
.hpr-upload-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:10px;
}
.hpr-upload-head strong{
    display:block;
    font-size:15px;
    color:#111827;
}
.hpr-upload-head small{
    display:block;
    margin-top:2px;
    color:#64748b;
    font-size:12px;
}
.hpr-upload-head > span{
    flex:0 0 auto;
    padding:4px 8px;
    border-radius:999px;
    background:#fff1e8;
    color:#c2410c;
    font-size:11px;
    font-weight:800;
}
.hpr-file-input{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip:rect(0 0 0 0)!important;
    white-space:nowrap!important;
}
.hpr-upload-button{
    display:flex;
    align-items:center;
    gap:10px;
    width:100%;
    min-height:62px;
    padding:10px 12px;
    border:1px dashed #fb923c;
    border-radius:12px;
    background:#fff;
    box-sizing:border-box;
    cursor:pointer;
    transition:.18s ease;
}
.hpr-upload-button:hover{
    border-color:#f97316;
    background:#fff7ed;
}
.hpr-camera{
    width:38px;
    height:38px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#ff5a0a;
    color:#fff;
    font-size:24px;
    font-weight:700;
}
.hpr-upload-button b{
    display:block;
    color:#111827;
    font-size:14px;
}
.hpr-upload-button small{
    display:block;
    margin-top:2px;
    color:#64748b;
    font-size:11px;
}
.hpr-preview-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:8px;
    margin-top:10px;
}
.hpr-preview-item{
    position:relative;
    aspect-ratio:1/1;
    border-radius:10px;
    overflow:hidden;
    border:1px solid #e5e7eb;
    background:#f8fafc;
}
.hpr-preview-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.hpr-preview-remove{
    position:absolute;
    top:4px;
    right:4px;
    width:24px;
    height:24px;
    border:0;
    border-radius:50%;
    background:rgba(17,24,39,.82);
    color:#fff;
    cursor:pointer;
    font-size:15px;
    line-height:24px;
}
.hpr-upload-message{
    margin-top:8px;
    font-size:11px;
    color:#64748b;
}
.hpr-upload-message.is-error{
    color:#b91c1c;
    font-weight:700;
}
.hpr-review-gallery{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:12px;
}
.hpr-review-photo{
    width:82px;
    height:82px;
    padding:0;
    border:1px solid #e5e7eb;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
    cursor:pointer;
}
.hpr-review-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .18s ease;
}
.hpr-review-photo:hover img{transform:scale(1.04)}
.hpr-verified{
    display:inline-flex;
    align-items:center;
    margin-top:10px;
    padding:4px 8px;
    border-radius:999px;
    background:#ecfdf3;
    color:#15803d;
    font-size:11px;
    font-weight:800;
}
.hpr-lightbox{
    position:fixed;
    inset:0;
    z-index:100000;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:rgba(0,0,0,.82);
}
.hpr-lightbox.is-open{display:flex}
.hpr-lightbox img{
    max-width:min(92vw,1000px);
    max-height:88vh;
    border-radius:12px;
    box-shadow:0 18px 60px rgba(0,0,0,.35);
}
.hpr-lightbox-close{
    position:fixed;
    top:18px;
    right:18px;
    width:42px;
    height:42px;
    border:0;
    border-radius:50%;
    background:#fff;
    color:#111827;
    font-size:25px;
    cursor:pointer;
}
@media(max-width:700px){
    .hpr-upload-wrap{padding:12px;margin:12px 0 15px}
    .hpr-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .hpr-review-photo{width:72px;height:72px}
    .hpr-upload-head strong{font-size:14px}
}
