/* DoctorX Reviews - review lists and the review form. Inherits the theme's fonts and colours. */
.dxr { --dxr-star: #e0a400; --dxr-line: rgba(127, 127, 127, .3); max-width: 760px; }
.dxr * { box-sizing: border-box; }

/* Stars */
.dxr-stars { display: inline-flex; gap: 1px; vertical-align: -3px; color: var(--dxr-star); }
.dxr-star { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.dxr-star.is-on { fill: currentColor; }

/* Lists */
.dxr-summary { margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
a.dxr-summary-link { text-decoration: none; color: inherit; display: inline-block; }
.dxr-heading { margin: 0 0 12px; }
.dxr-review { border-top: 1px solid var(--dxr-line); padding: 14px 0; overflow-wrap: anywhere; }
.dxr-review-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dxr-review-title { font-weight: 600; }
.dxr-review-product { margin: 4px 0 0; font-size: .9em; }
.dxr-review-body p { margin: 8px 0; }
.dxr-review-meta { margin: 0; font-size: .875em; opacity: .8; }
.dxr-verified { font-weight: 600; }
.dxr-reply { margin: 10px 0 0 12px; padding: 4px 0 4px 12px; border-left: 3px solid var(--dxr-line); }
.dxr-reply p { margin: 4px 0; }
.dxr-reply-who { font-weight: 600; }
.dxr-pager, .dxr-more { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 12px 0 0; }
.dxr-empty { opacity: .85; }

/* Form */
.dxr-form-wrap { max-width: 640px; }
.dxr-form p { margin: 0 0 14px; }
.dxr-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.dxr-form input[type="text"], .dxr-form textarea { width: 100%; padding: 10px 12px; font: inherit; border: 1px solid currentColor; border-radius: 4px; background: transparent; color: inherit; }
.dxr-item { border: 1px solid var(--dxr-line); border-radius: 6px; padding: 12px 14px 4px; margin: 0 0 16px; min-width: 0; }
.dxr-item-name { font-weight: 600; padding: 0 6px; display: flex; gap: 8px; align-items: center; }
.dxr-thumb { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; }
.dxr-rate { display: flex; gap: 2px; margin: 4px 0 12px; position: relative; }
.dxr-rate-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dxr-form .dxr-rate-label { display: inline-flex; margin: 0; padding: 6px 4px; cursor: pointer; color: var(--dxr-star); border-radius: 4px; }
.dxr-rate-label .dxr-star { width: 32px; height: 32px; }
/* The chosen star and every star before it are filled. */
.dxr-rate-input:checked + .dxr-rate-label .dxr-star,
.dxr-rate:has(.dxr-rate-input:checked) .dxr-rate-label:has(~ .dxr-rate-input:checked) .dxr-star { fill: currentColor; }
.dxr-rate:hover .dxr-rate-label .dxr-star { fill: none; }
.dxr-rate .dxr-rate-label:hover .dxr-star, .dxr-rate .dxr-rate-label:has(~ .dxr-rate-label:hover) .dxr-star { fill: currentColor; }
.dxr-rate-input:focus-visible + .dxr-rate-label { outline: 2px solid currentColor; outline-offset: 1px; }
.dxr-help { font-size: .9em; opacity: .85; }
.dxr-button { padding: 12px 22px; font: inherit; cursor: pointer; border-radius: 4px; }
.dxr-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.dxr-message { padding: 12px 14px; border-radius: 4px; margin: 0 0 16px; }
.dxr-message p, .dxr-message ul { margin: 0; }
.dxr-message ul { padding-left: 18px; }
.dxr-ok { background: #edfaef; color: #1e4620; }
.dxr-error { background: #fcf0f1; color: #8a2424; }
.dxr .screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

@media (max-width: 480px) {
	.dxr-rate-label .dxr-star { width: 36px; height: 36px; }
	.dxr-button { width: 100%; }
	.dxr-reply { margin-left: 0; }
}
