/* TA FluentCart Product Reviews — on-brand (plugin asset, not pasted into Divi). */
.ta-fcrev { --ta-fcrev-primary: #eef1f6; --ta-fcrev-accent: #e8964e; --ta-fcrev-star: #f7b500; max-width: 880px; margin: 2.5rem auto; color: #eef1f6; }
.ta-fcrev .ta-fcrev-title { color: #3550a3 !important; font-size: 1.4rem; margin: 0 0 1rem; }
.ta-fcrev-notice { padding: .7rem 1rem; border-radius: 8px; font-size: .95rem; }
.ta-fcrev-ok { background: #e8f5ee; color: #1a7a45; border: 1px solid #b6e3c8; }
.ta-fcrev-err { background: #fdecec; color: #b3261e; border: 1px solid #f3c2bf; }

/* Read-only star display */
.ta-fcrev-stars { display: inline-flex; line-height: 1; }
.ta-fcrev-star { color: #d9dce3; font-size: 1.1rem; }
.ta-fcrev-star.is-full { color: var(--ta-fcrev-star); }
.ta-fcrev-star.is-half { background: linear-gradient(90deg, var(--ta-fcrev-star) 50%, #d9dce3 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.ta-fcrev-summary { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.4rem; }
.ta-fcrev-avg { font-size: 1.8rem; font-weight: 800; color: var(--ta-fcrev-primary); }
.ta-fcrev-summary .ta-fcrev-star { font-size: 1.35rem; }
.ta-fcrev-count { color: #cfd8dc; }

.ta-fcrev-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1rem; }
.ta-fcrev-item { background: #fff; border: 1px solid #e6e9ef; border-radius: 12px; padding: 1rem 1.2rem; }
.ta-fcrev-item-head { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-bottom: .4rem; }
.ta-fcrev-author { font-weight: 700; color: #1b2330; }
.ta-fcrev-verified { font-size: .72rem; font-weight: 700; color: #1a7a45; background: #e8f5ee; border-radius: 999px; padding: .15rem .55rem; }
.ta-fcrev-date { margin-left: auto; color: #8b94a3; font-size: .82rem; }
.ta-fcrev-body { margin: 0; color: #33414f; line-height: 1.6; }

/* Form */
.ta-fcrev-form { background: #171f30; border: 1px solid #536079; border-radius: 8px; padding: 1.4rem 1.6rem; }
.ta-fcrev .ta-fcrev-form h3 { margin: 0 0 1rem; color: #eef1f6 !important; font-size: 1.1rem; }
.ta-fcrev-form p { margin: 0 0 .9rem; }
.ta-fcrev-form label { display: inline-block; font-weight: 600; margin-bottom: .25rem; color: #eef1f6; }
.ta-fcrev-form input[type="text"], .ta-fcrev-form input[type="email"], .ta-fcrev-form textarea {
	width: 100%; max-width: 460px; padding: .6rem .7rem; border: 1px solid #8c98ad; border-radius: 8px; background: #fff; color: #12141c; font: inherit; }
.ta-fcrev-form textarea { max-width: 100%; }
.ta-fcrev-form input:focus, .ta-fcrev-form textarea:focus { outline: 2px solid var(--ta-fcrev-primary); border-color: var(--ta-fcrev-primary); }
.ta-fcrev-hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }

/* Accessible CSS-only star-rating input (radios reversed → visual 1..5) */
.ta-fcrev-rating-input { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; flex-direction: row-reverse; justify-content: flex-end; }
.ta-fcrev-rating-input legend { flex-basis: 100%; font-weight: 600; color: #eef1f6; margin-bottom: .25rem; }
.ta-fcrev-rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ta-fcrev-rating-input label { font-size: 1.9rem; line-height: 1; color: #d9dce3; cursor: pointer; padding: 0 .05em; }
.ta-fcrev-rating-input label:hover, .ta-fcrev-rating-input label:hover ~ label,
.ta-fcrev-rating-input input:checked ~ label { color: var(--ta-fcrev-star); }
.ta-fcrev-rating-input input:focus-visible + label { outline: 2px solid var(--ta-fcrev-primary); outline-offset: 2px; }

.ta-fcrev-submit { background: #e8964e; color: #1a1208; border: 0; border-radius: 8px; padding: .7rem 1.4rem; font-weight: 700; cursor: pointer; }
.ta-fcrev-submit:hover { background: #f0ad72; }
.ta-fcrev-submit:focus-visible { outline: 3px solid var(--ta-fcrev-accent); outline-offset: 2px; }

/* Shared FluentCart product-shell contrast. This stylesheet is loaded for all
   review-enabled products, including products that do not use the gallery. */
.fct-product-item-price,
.fct-product-item-price *,
.quantity-title {
	color: #eef1f6 !important;
}
