/* Order dialogs (new design): the cancel-order dialog (.hvc) and the frame it sits in (.modal.vendor-order-cancel on My Orders). */
.vendor-order-cancel .modal-dialog { max-width: 460px; }
.vendor-order-cancel .modal-content { border: 0; border-radius: 20px; box-shadow: 0 24px 60px rgba(20, 35, 27, .22); }
.vendor-order-cancel .modal-body { position: relative; padding: 28px 26px 24px; }
.vendor-order-cancel .modal-body > .close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border-radius: 50%; line-height: 1; font-size: 24px; color: #6b776f; opacity: 1; text-shadow: none; z-index: 2; }
.vendor-order-cancel .modal-body > .close:hover { background: #f3f0e7; color: #14231b; }

.hvc { text-align: center; color: #14231b; }
.hvc-icon { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-bottom: 10px; border-radius: 50%; background: #fdecea; color: #b3261e; font-size: 24px; }
.hvc-title { margin: 0 0 6px !important; font-family: var(--hv-serif, Georgia, serif); font-size: 25px; line-height: 1.15; text-transform: none !important; color: #14231b; }
.hvc-sub { margin: 0 0 16px !important; font-size: 14px; color: #6b776f; }
.hvc-sub b { color: #14231b; }
.hvc-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 16px; }
.hvc-chip { padding: 8px 14px; border: 1.5px solid #e7e2d6; border-radius: 999px; background: #fff; color: #14231b; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s; }
.hvc-chip:hover { background: #f4f1e8; }
.hvc-chip.on { border-color: #b3261e; background: #fdecea; color: #b3261e; }
.hvc-label { display: block; margin: 0 0 7px; text-align: left; font-size: 13px; font-weight: 800; color: #14231b; }
.hvc-label span { margin-left: 6px; font-size: 11.5px; font-weight: 600; color: #6b776f; }
.hvc-text { display: block; width: 100%; min-height: 84px; padding: 12px 14px; border: 1.5px solid #e7e2d6; border-radius: 12px; background: #fff; font-size: 14.5px; line-height: 1.5; color: #14231b; resize: vertical; box-shadow: none; }
.hvc-text:focus { outline: 0; border-color: #2d9e5a; box-shadow: 0 0 0 4px rgba(45, 158, 90, .14); }
.hvc-info { margin: 12px 0 0 !important; padding: 10px 14px; border-radius: 10px; background: #e7f4ec; color: #1f7a45; font-size: 13px; font-weight: 700; text-align: left; }
.hvc-info i { margin-right: 6px; }
.hvc-error { margin: 12px 0 0 !important; padding: 10px 14px; border-radius: 10px; background: #fdecea; color: #b3261e; font-size: 13px; font-weight: 700; text-align: left; }
.hvc-error:empty { display: none; }
.hvc-btns { display: flex; gap: 10px; margin-top: 18px; }
.hvc-btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border: 1.5px solid transparent; border-radius: 12px; font-size: 14.5px; font-weight: 800; cursor: pointer; transition: background .15s; }
.hvc-btn.ghost { background: #fff; border-color: #e7e2d6; color: #14231b; }
.hvc-btn.ghost:hover { background: #f4f1e8; }
.hvc-btn.danger { background: #b3261e; color: #fff; }
.hvc-btn.danger:hover { background: #971f18; }
.hvc-btn:disabled { opacity: .7; cursor: default; }

@media (max-width: 480px) {
  .vendor-order-cancel .modal-body { padding: 24px 18px 20px; }
  .hvc-title { font-size: 22px; }
}

/* ---------- return: item picker dialog (.hvrt) and the frame it sits in (.modal.return-order on My Orders) ---------- */
.modal.return-order .modal-dialog { max-width: 520px; }
.modal.return-order .modal-content { border: 0; border-radius: 20px; box-shadow: 0 24px 60px rgba(20, 35, 27, .22); }
.modal.return-order .modal-body { position: relative; padding: 26px 24px 22px; }
.modal.return-order .modal-body > .close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border-radius: 50%; line-height: 1; font-size: 24px; color: #6b776f; opacity: 1; text-shadow: none; z-index: 2; }
.modal.return-order .modal-body > .close:hover { background: #f3f0e7; color: #14231b; }

.hvrt { color: #14231b; }
.hvrt-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 8px; border-radius: 50%; background: #e7f4ec; color: #1f7a45; font-size: 22px; }
.hvrt-title { margin: 0 0 4px !important; font-family: var(--hv-serif, Georgia, serif); font-size: 25px; line-height: 1.15; text-transform: none !important; color: #14231b; }
.hvrt-sub { margin: 0 0 14px !important; font-size: 14px; color: #6b776f; }
.hvrt-sub b { color: #14231b; }
.hvrt-list { display: flex; flex-direction: column; gap: 10px; max-height: 340px; overflow-y: auto; margin: 0 0 14px; padding: 2px; }
.hvrt-item { position: relative; display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 12px; border: 1.5px solid #e7e2d6; border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
label.hvrt-item:hover { background: #faf8f3; }
.hvrt-item input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.hvrt-item:has(input:checked) { border-color: #2d9e5a; background: #e7f4ec; }
.hvrt-item.done { background: #faf8f3; cursor: default; }
.hvrt-img { flex: none; width: 58px; height: 58px; border-radius: 12px; overflow: hidden; background: #f4f1e8; display: inline-flex; align-items: center; justify-content: center; }
.hvrt-img img { width: 100%; height: 100%; object-fit: contain; }
.hvrt-name { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; text-align: left; }
.hvrt-name b { font-size: 14px; line-height: 1.3; color: #14231b; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hvrt-name small { font-size: 12.5px; color: #6b776f; }
.hvrt-check { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #cfd8d1; color: transparent; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; background: #fff; }
.hvrt-item:has(input:checked) .hvrt-check { background: #2d9e5a; border-color: #2d9e5a; color: #fff; }
.hvrt-pill { flex: none; padding: 4px 10px; border-radius: 999px; background: #fff1d6; color: #8a5200; font-size: 12px; font-weight: 800; }
.hvrt-addr { margin: 0 0 14px !important; font-size: 12.5px; line-height: 1.5; color: #6b776f; text-align: left; }
.hvrt-addr i { margin-right: 6px; color: #1f7a45; }
.hvrt-btns { display: flex; gap: 10px; }
.hvrt-btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border: 1.5px solid transparent; border-radius: 12px; font-size: 14.5px; font-weight: 800; cursor: pointer; transition: background .15s; }
.hvrt-btn.ghost { background: #fff; border-color: #e7e2d6; color: #14231b; }
.hvrt-btn.ghost:hover { background: #f4f1e8; }
.hvrt-btn.solid { background: #2d9e5a; color: #fff; }
.hvrt-btn.solid:hover { background: #258a4d; }
.hvrt-none { margin: 12px 0 0 !important; font-size: 13px; color: #6b776f; }
.hvrt { text-align: center; }

/* ---------- return request page (.hvrp) ---------- */
.hvrp-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 13.5px; font-weight: 700; color: #6b776f; text-decoration: none; }
.hvrp-back:hover { color: #14231b; }
.hvrp-back .fa { font-size: 20px; line-height: 1; }
.hvrp-title h1 { margin: 0 0 4px; font-family: var(--hv-serif, Georgia, serif); font-size: 30px; line-height: 1.15; color: #14231b; text-transform: none !important; }
.hvrp-title p { margin: 0 0 18px !important; font-size: 14px; color: #6b776f; }
.hvrp-card { max-width: 720px; }
.hvrp-fg { margin: 0 0 16px; }
.hvrp-label { display: block; margin: 0 0 7px; font-size: 13px; font-weight: 800; color: #14231b; }
.hvrp-label span { margin-left: 6px; font-size: 11.5px; font-weight: 600; color: #6b776f; }
.hvrp-input { display: block; width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid #e7e2d6; border-radius: 12px; background-color: #fff; font-size: 14.5px; color: #14231b; box-shadow: none; }
.hvrp-input:focus { outline: 0; border-color: #2d9e5a; box-shadow: 0 0 0 4px rgba(45, 158, 90, .14); }
.hvrp-text { height: auto; min-height: 104px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.hvrp-msg { margin: 0 0 12px !important; font-size: 13px; font-weight: 700; }
.hvrp-msg:empty { display: none; }
.hvrp-msg.err { padding: 10px 14px; border-radius: 10px; background: #fdecea; color: #b3261e; }
.hvrp-msg.ok { padding: 10px 14px; border-radius: 10px; background: #e7f4ec; color: #1f7a45; }
.hvrp-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; border: 0; border-radius: 12px; background: #2d9e5a; color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; transition: background .15s; }
.hvrp-btn:hover { background: #258a4d; }
.hvrp-btn:disabled { opacity: .7; cursor: default; }
@media (max-width: 480px) {
  .modal.return-order .modal-body { padding: 22px 16px 18px; }
  .hvrt-title { font-size: 22px; }
  .hvrp-title h1 { font-size: 25px; }
}
