.kvt-customer-reviews { margin:24px 0 0; padding:26px; border:1px solid #e8e5dc; border-radius:18px; background:#fff; color:#282828; scroll-margin-top:76px; font:14px/1.6 Roboto,Arial,sans-serif; }
.kvt-customer-reviews * { box-sizing:border-box; }
.kvt-customer-reviews [hidden] { display:none !important; }
.kvt-customer-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
.kvt-customer-heading h2 { margin:0; font-size:24px; line-height:1.4; text-align:left; }
.kvt-customer-preview { padding:8px 12px; margin:0 0 18px; border-radius:8px; background:#fff7d9; color:#775817; font-size:12px; }
.kvt-customer-summary { display:flex; align-items:center; gap:24px; padding:20px 24px; border:1px solid #f0e6c9; border-radius:12px; background:#fffbef; }
.kvt-customer-average { flex:0 0 auto; color:#bd202c; font-size:38px; font-weight:700; line-height:1.2; }
.kvt-customer-average small { color:#837c6b; font-size:17px; font-weight:400; }
.kvt-customer-summary-copy { flex:1; min-width:0; }
.kvt-customer-stars { position:relative; display:inline-block; color:#ded8c7; font:23px/1.3 Arial,sans-serif; letter-spacing:2px; }
.kvt-customer-stars-fill { position:absolute; top:0; left:0; overflow:hidden; color:#dc9d18; white-space:nowrap; }
.kvt-customer-total { display:block; margin-top:3px; color:#625c50; font-size:13px; }
.kvt-customer-action { min-height:42px; padding:10px 19px; border:0; border-radius:8px; background:#fdd835; color:#29240f; font:600 14px/1.5 Roboto,Arial,sans-serif; cursor:pointer; text-decoration:none; }
.kvt-customer-action:disabled { opacity:.55; cursor:default; }
.kvt-customer-reviews button:focus-visible,.kvt-customer-reviews input:focus-visible,.kvt-customer-reviews select:focus-visible,.kvt-customer-reviews textarea:focus-visible,.kvt-detail-review-link:focus-visible { outline:2px solid #9a1c29; outline-offset:3px; }
.kvt-customer-photos { margin:24px 0; }
.kvt-customer-photos h3,.kvt-customer-list-title { margin:0 0 12px; font-size:17px; line-height:1.4; }
.kvt-customer-photo-grid { display:flex; flex-wrap:wrap; gap:10px; }
.kvt-customer-photo { position:relative; display:block; width:94px; height:94px; padding:0; border:1px solid #e5e1d8; border-radius:9px; overflow:hidden; background:#f7f6f2; cursor:pointer; }
.kvt-customer-photo img { display:block; width:100%; height:100%; object-fit:cover; }
.kvt-customer-photo-note { margin:8px 0 0; color:#827b6f; font-size:11px; }
.kvt-customer-empty { padding:18px; margin:0; border:1px dashed #dedbd3; border-radius:9px; background:#faf9f5; color:#777165; }
.kvt-customer-review { padding:21px 0; border-top:1px solid #ece9e2; }
.kvt-customer-author { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; margin-bottom:5px; }
.kvt-customer-avatar { display:grid; place-items:center; flex:0 0 30px; width:30px; height:30px; border-radius:50%; background:#f2f0ea; color:#78694d; font-size:13px; font-weight:600; }
.kvt-customer-author strong { font-size:14px; }
.kvt-customer-badge { border-radius:4px; padding:2px 6px; color:#527745; background:#eef4e8; font-size:11px; }
.kvt-customer-badge.is-preview { color:#8a6b24; background:#fff5d6; }
.kvt-customer-date { margin-left:auto; color:#8b867e; font-size:11px; }
.kvt-customer-review-stars { color:#d99b18; letter-spacing:1px; font-size:16px; }
.kvt-customer-review-body { margin:8px 0 12px; white-space:pre-wrap; overflow-wrap:anywhere; }
.kvt-customer-review .kvt-customer-photo { width:80px; height:80px; }
.kvt-customer-reply { margin:14px 0 0; padding:12px 15px; border-radius:8px; background:#f7f6f2; }
.kvt-customer-reply strong { display:block; margin-bottom:3px; font-size:12px; }
.kvt-customer-reply p { margin:0; overflow-wrap:anywhere; white-space:pre-wrap; font-size:13px; }
.kvt-customer-remove { display:block; margin:8px 0 0 auto; padding:3px 0; border:0; background:none; color:#85765c; font-size:11px; cursor:pointer; text-decoration:underline; }
.kvt-customer-pager { display:flex; align-items:center; justify-content:center; gap:12px; }
.kvt-customer-form { margin:22px 0 0; padding:20px; border:1px solid #e4dfd4; border-radius:12px; background:#faf9f6; scroll-margin-top:76px; }
.kvt-customer-form h3 { margin:0 0 16px; font-size:19px; }
.kvt-customer-form label:not(.kvt-customer-star-choice) { display:block; margin:12px 0; font-weight:600; }
.kvt-customer-form input[type=text],.kvt-customer-form input[type=tel],.kvt-customer-form select,.kvt-customer-form textarea { display:block; width:100%; margin-top:6px; border:1px solid #d8d3c8; border-radius:7px; padding:10px 12px; background:#fff; color:#292929; font:14px/1.5 Roboto,Arial,sans-serif; }
.kvt-customer-form textarea { min-height:115px; resize:vertical; }
.kvt-customer-star-options { display:flex; flex-wrap:wrap; gap:8px; border:0; padding:0; margin:0 0 12px; }
.kvt-customer-star-options legend { margin-bottom:8px; font-weight:600; }
.kvt-customer-star-choice { position:relative; cursor:pointer; }
.kvt-customer-star-choice input { position:absolute; width:1px; height:1px; opacity:0; }
.kvt-customer-star-choice span { display:block; min-width:51px; padding:7px 10px; border:1px solid #ddd6c5; border-radius:7px; color:#817454; background:#fff; font-weight:600; }
.kvt-customer-star-choice input:checked + span { border-color:#d3a129; color:#674606; background:#ffecab; }
.kvt-customer-star-choice input:focus-visible + span { outline:2px solid #9a1c29; outline-offset:2px; }
.kvt-customer-file-label { position:relative; display:inline-flex !important; align-items:center; padding:9px 14px; border:1px dashed #cbb97e; border-radius:7px; color:#7b601f; background:#fffdf5; cursor:pointer; }
.kvt-customer-file-label input { position:absolute; inset:0; width:100%; opacity:0; cursor:pointer; }
.kvt-customer-file-label:focus-within { outline:2px solid #9a1c29; outline-offset:2px; }
.kvt-customer-form-hint { margin:3px 0 10px; color:#857b66; font-size:12px; }
.kvt-customer-attachments { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:14px; }
.kvt-customer-attachment { position:relative; width:76px; height:76px; }
.kvt-customer-attachment img { display:block; width:100%; height:100%; object-fit:cover; border-radius:7px; border:1px solid #ded8c7; }
.kvt-customer-attachment button { position:absolute; top:-5px; right:-5px; width:22px; height:22px; min-height:22px; padding:0; border:1px solid #ddd; border-radius:50%; background:#fff; font-size:16px; cursor:pointer; }
.kvt-customer-form-footer { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.kvt-customer-form-status { flex:1; min-width:120px; margin:0; color:#786c55; font-size:12px; }
.kvt-customer-form-status.is-error { color:#ac2332; }
.kvt-customer-image-dialog { width:min(850px,calc(100vw - 24px)); max-height:calc(100dvh - 28px); padding:14px; border:0; border-radius:14px; background:#fff; color:#333; }
.kvt-customer-image-dialog::backdrop { background:#171717bb; }
.kvt-customer-image-dialog h2 { margin:0 40px 10px 0; font:600 15px/1.5 Roboto,Arial,sans-serif; }
.kvt-customer-image-dialog img { display:block; width:100%; height:min(65dvh,620px); object-fit:contain; background:#f5f4f1; border-radius:8px; }
.kvt-customer-image-close { position:absolute; top:8px; right:8px; width:32px; height:32px; border:0; border-radius:50%; background:#f2f1ec; color:#333; font-size:24px; cursor:pointer; }
.kvt-customer-image-controls { display:flex; align-items:center; justify-content:center; gap:20px; margin-top:12px; }
.kvt-customer-image-controls button { min-width:36px; min-height:32px; border:1px solid #ddd8cc; border-radius:6px; background:#fff; font-size:18px; cursor:pointer; }
.kvt-detail-review-link { display:inline-flex; gap:8px; align-items:center; margin:0 0 14px; color:#806216; font-size:13px; text-decoration:none; }
#ja-khungchinh .browse-view .kvt-sales-rating { text-decoration:none; }
.kvt-product-detail.kvt-has-customer-reviews .product-thongtin-danhgia { display:none; }
@media(max-width:700px) {
    .kvt-customer-reviews { margin-top:18px; padding:16px; border-radius:14px; }
    .kvt-customer-heading h2 { font-size:21px; }
    .kvt-customer-summary { flex-wrap:wrap; gap:12px 18px; padding:16px; }
    .kvt-customer-average { font-size:33px; }
    .kvt-customer-summary > .kvt-customer-action { width:100%; }
    .kvt-customer-photo { width:76px; height:76px; }
    .kvt-customer-form { padding:14px; }
    .kvt-customer-form input[type=text],.kvt-customer-form input[type=tel],.kvt-customer-form select,.kvt-customer-form textarea { font-size:16px; }
    .kvt-customer-star-options { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px; }
    .kvt-customer-star-options legend { float:none; grid-column:1/-1; }
    .kvt-customer-star-choice span { min-width:0; min-height:38px; padding:7px 3px; font-size:13px; text-align:center; white-space:nowrap; }
    .kvt-customer-photo-grid { gap:8px; }
    .kvt-customer-date { margin-left:40px; flex-basis:100%; }
    .kvt-customer-form-footer > .kvt-customer-action { width:100%; }
}
@media(max-width:360px) {
    .kvt-customer-reviews .kvt-customer-photo { width:calc((100% - 16px) / 3); height:auto; aspect-ratio:1; }
}
