/* =====================================================================
   Easy Reviews for WordPress — estilos públicos
   Todo se controla con variables --ozr-* (los widgets de Elementor y los
   ajustes las sobrescriben). Por defecto toma la tipografía del sitio y el
   color primario del tema: Elementor, editor de bloques o un neutro.
   ===================================================================== */

.ozr {
	--ozr-accent: var(--ozr-g-accent, var(--e-global-color-primary, var(--wp--preset--color--primary, #111827)));
	--ozr-accent-text: var(--ozr-g-accent-text, #ffffff);
	--ozr-star: var(--ozr-g-star, #f59e0b);
	--ozr-star-empty: #e5e7eb;
	--ozr-text: #111827;
	--ozr-muted: #6b7280;
	--ozr-border: #e7e9ee;
	--ozr-card-bg: #ffffff;
	--ozr-surface: #f8f9fb;
	--ozr-success: #059669;
	--ozr-danger: #dc2626;
	--ozr-radius: 16px;
	--ozr-radius-sm: calc(var(--ozr-radius) * .6);
	--ozr-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 2px 8px -2px rgba(16, 24, 40, .06);
	--ozr-shadow-hover: 0 12px 28px -12px rgba(16, 24, 40, .18);
	--ozr-ease: cubic-bezier(.2, .7, .2, 1);

	color: var(--ozr-text);
	font-size: 15px;
	line-height: 1.55;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}
.ozr *, .ozr *::before, .ozr *::after { box-sizing: border-box; }
.ozr [hidden], .ozr[hidden] { display: none !important; }
.ozr-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.ozr .ozr-icon { width: 1.1em; height: 1.1em; flex: none; }

/* ------------------------------------------------------------------ Estrellas */
.ozr-stars {
	--s: 18px;
	position: relative; display: inline-flex; vertical-align: middle; line-height: 0;
}
.ozr-stars--sm { --s: 15px; }
.ozr-stars--lg { --s: 22px; }
.ozr-stars__base, .ozr-stars__fill { display: inline-flex; gap: 2px; white-space: nowrap; }
.ozr-stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.ozr-stars svg { width: var(--s); height: var(--s); flex: none; }
.ozr-stars__base svg { fill: var(--ozr-star-empty); }
.ozr-stars__fill svg { fill: var(--ozr-star); }

/* ------------------------------------------------------------------ Botones
   Especificidad doble para no heredar los estilos de botón del tema
   (Hello, Astra, Divi, Kadence, temas de bloques...) ni del Kit de Elementor. */
.ozr .ozr-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	margin: 0; padding: .78em 1.35em; min-height: 44px;
	font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: 0;
	text-transform: none; text-decoration: none; white-space: nowrap;
	color: var(--ozr-accent-text); background: var(--ozr-accent);
	border: 1px solid var(--ozr-accent); border-radius: 999px;
	box-shadow: none; cursor: pointer;
	transition: transform .15s var(--ozr-ease), box-shadow .2s var(--ozr-ease), background-color .2s, color .2s, opacity .2s;
}
.ozr .ozr-btn:hover, .ozr .ozr-btn:focus {
	color: var(--ozr-accent-text); background: var(--ozr-accent); border-color: var(--ozr-accent);
	text-decoration: none; transform: translateY(-1px);
	box-shadow: 0 8px 20px -8px var(--ozr-accent);
}
.ozr .ozr-btn:active { transform: translateY(0); }
.ozr .ozr-btn:focus-visible, .ozr-modal .ozr-btn:focus-visible { outline: 2px solid var(--ozr-accent); outline-offset: 3px; }
.ozr .ozr-btn--outline, .ozr .ozr-btn--outline:focus {
	color: var(--ozr-text); background: var(--ozr-card-bg); border-color: var(--ozr-border); box-shadow: none;
}
.ozr .ozr-btn--outline:hover {
	color: var(--ozr-text); background: var(--ozr-surface); border-color: color-mix(in srgb, var(--ozr-text) 25%, var(--ozr-border));
	box-shadow: none;
}
.ozr .ozr-btn--sm { min-height: 34px; padding: .45em .95em; font-size: 13px; }
.ozr .ozr-btn--lg { min-height: 52px; font-size: 16px; }
.ozr .ozr-btn--block { display: flex; width: 100%; }
.ozr .ozr-btn[disabled] { opacity: .6; cursor: default; transform: none; box-shadow: none; }

.ozr .ozr-link {
	display: inline-flex; margin: 6px 0 0; padding: 0; min-height: 0;
	font: inherit; font-size: 14px; font-weight: 600; color: var(--ozr-text);
	background: none; border: 0; border-radius: 0; box-shadow: none;
	text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.ozr .ozr-link:hover, .ozr .ozr-link:focus { color: var(--ozr-text); background: none; text-decoration-thickness: 2px; }

/* ------------------------------------------------------------------ Layout del bloque completo */
.ozr-reviews { display: grid; gap: 32px; align-items: start; }
.ozr-layout--sidebar { grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); }
.ozr-layout--stacked { grid-template-columns: minmax(0, 1fr); }
.ozr-layout--stacked .ozr-reviews__aside {
	display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: stretch;
}
.ozr-layout--stacked .ozr-reviews__aside > :only-child { grid-column: 1 / -1; }
.ozr-reviews__aside { display: grid; gap: 16px; }
.ozr-layout--sidebar .ozr-reviews__aside { position: sticky; top: var(--ozr-sticky-top, 110px); }
.ozr-reviews__main { min-width: 0; scroll-margin-top: var(--ozr-sticky-top, 110px); }

@media (max-width: 900px) {
	.ozr-layout--sidebar { grid-template-columns: minmax(0, 1fr); }
	.ozr-layout--sidebar .ozr-reviews__aside { position: static; }
	.ozr-layout--stacked .ozr-reviews__aside { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ Resumen */
.ozr-summary {
	padding: 24px; background: var(--ozr-surface);
	border: 1px solid var(--ozr-border); border-radius: var(--ozr-radius);
}
.ozr-summary__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.ozr-summary__score {
	font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -.03em;
	font-variant-numeric: tabular-nums; color: var(--ozr-text);
}
.ozr-summary__meta { display: grid; gap: 6px; }
.ozr-summary__count { font-size: 14px; color: var(--ozr-muted); }

.ozr .ozr-histogram { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ozr .ozr-histogram li { margin: 0; padding: 0; list-style: none; }
.ozr .ozr-histogram__row {
	display: grid; grid-template-columns: 78px 1fr 40px; align-items: center; gap: 12px;
	width: 100%; margin: 0; padding: 6px 8px; min-height: 0;
	font: inherit; font-size: 14px; font-weight: 400; line-height: 1.2; text-align: left; text-transform: none;
	color: var(--ozr-text); background: transparent; border: 0; border-radius: 8px; box-shadow: none;
}
.ozr button.ozr-histogram__row { cursor: pointer; transition: background-color .15s; }
.ozr button.ozr-histogram__row:hover, .ozr button.ozr-histogram__row:focus {
	color: var(--ozr-text); background: color-mix(in srgb, var(--ozr-text) 6%, transparent);
}
.ozr button.ozr-histogram__row:hover .ozr-histogram__label { text-decoration: underline; text-underline-offset: 3px; }
.ozr button.ozr-histogram__row.is-active { background: color-mix(in srgb, var(--ozr-accent) 12%, transparent); }
.ozr button.ozr-histogram__row:focus-visible { outline: 2px solid var(--ozr-accent); outline-offset: 1px; }
.ozr-histogram__label { white-space: nowrap; }
.ozr-histogram__bar {
	position: relative; height: 10px; overflow: hidden; border-radius: 999px;
	background: color-mix(in srgb, var(--ozr-text) 9%, transparent);
}
.ozr-histogram__bar > span {
	position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--ozr-star);
	transition: width .6s var(--ozr-ease);
}
.ozr-histogram__pct { text-align: right; color: var(--ozr-muted); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ Invitación */
.ozr-cta {
	padding: 22px 24px; background: var(--ozr-card-bg);
	border: 1px solid var(--ozr-border); border-radius: var(--ozr-radius);
}
.ozr-cta__title { font-size: 17px; font-weight: 700; line-height: 1.3; margin: 0 0 4px; color: var(--ozr-text); }
.ozr-cta__text { margin: 0 0 16px; font-size: 14px; color: var(--ozr-muted); }

/* ------------------------------------------------------------------ Barra de herramientas */
.ozr-toolbar {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
	margin: 0 0 16px;
}
.ozr-toolbar__info { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.ozr-toolbar__count { font-weight: 700; font-size: 16px; }
.ozr .ozr-chip {
	display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 5px 8px 5px 12px; min-height: 0;
	font: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; text-transform: none;
	color: var(--ozr-text); background: color-mix(in srgb, var(--ozr-accent) 12%, var(--ozr-card-bg));
	border: 1px solid color-mix(in srgb, var(--ozr-accent) 30%, transparent); border-radius: 999px;
	box-shadow: none; cursor: pointer;
}
.ozr .ozr-chip:hover, .ozr .ozr-chip:focus { color: var(--ozr-text); background: color-mix(in srgb, var(--ozr-accent) 20%, var(--ozr-card-bg)); }
.ozr .ozr-chip[hidden] { display: none; }
.ozr-sort { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--ozr-muted); }
.ozr .ozr-sort select {
	appearance: none; -webkit-appearance: none;
	margin: 0; padding: 8px 34px 8px 14px; min-height: 38px; width: auto;
	font: inherit; font-size: 14px; font-weight: 600; color: var(--ozr-text);
	background: var(--ozr-card-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px;
	border: 1px solid var(--ozr-border); border-radius: 999px; box-shadow: none; cursor: pointer;
}

/* ------------------------------------------------------------------ Listado y tarjetas */
.ozr-list { display: grid; gap: 16px; transition: opacity .2s; }
.ozr-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ozr-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .ozr-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .ozr-cols-2, .ozr-cols-3 { grid-template-columns: minmax(0, 1fr); } }
.ozr-reviews.is-loading .ozr-list { opacity: .45; pointer-events: none; }

.ozr-card {
	display: flex; flex-direction: column;
	padding: 22px 24px; background: var(--ozr-card-bg);
	border: 1px solid var(--ozr-border); border-radius: var(--ozr-radius);
	box-shadow: var(--ozr-shadow);
	transition: box-shadow .25s var(--ozr-ease), transform .25s var(--ozr-ease);
	animation: ozr-in .45s var(--ozr-ease) both;
}
.ozr-card:hover { box-shadow: var(--ozr-shadow-hover); }
@keyframes ozr-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.ozr-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ozr-avatar {
	display: inline-grid; place-items: center; flex: none;
	width: 42px; height: 42px; border-radius: 50%;
	font-size: 15px; font-weight: 700; letter-spacing: .02em; line-height: 1;
	color: hsl(var(--ozr-hue, 210) 55% 30%);
	background: hsl(var(--ozr-hue, 210) 70% 92%);
}
.ozr-card__who { display: grid; min-width: 0; }
.ozr-card__name { font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--ozr-text); }
.ozr-card__company { font-size: 13px; color: var(--ozr-muted); line-height: 1.35; }

.ozr-card__rating { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.ozr-card__title { font-weight: 700; font-size: 16px; line-height: 1.35; color: var(--ozr-text); }
.ozr-card__sub {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
	margin: 6px 0 12px; font-size: 13px; color: var(--ozr-muted);
}
.ozr-verified { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ozr-success); }
.ozr-verified .ozr-icon { width: 14px; height: 14px; stroke-width: 3; }

.ozr-card__text { font-size: 15px; line-height: 1.65; color: var(--ozr-text); overflow-wrap: anywhere; }
.ozr-card__text.is-clamped {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--ozr-clamp, 6); line-clamp: var(--ozr-clamp, 6);
	overflow: hidden;
}
.ozr [data-ozr-readmore] { align-self: flex-start; }

.ozr-reply {
	margin-top: 16px; padding: 14px 16px;
	background: var(--ozr-surface); border-left: 3px solid var(--ozr-accent);
	border-radius: 0 var(--ozr-radius-sm) var(--ozr-radius-sm) 0;
}
.ozr-reply__head { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.ozr-reply__text { font-size: 14px; color: var(--ozr-muted); line-height: 1.6; }

.ozr-card__foot {
	display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 12px;
	margin-top: auto; padding-top: 16px;
}
.ozr-card__helpful { margin-right: auto; font-size: 13px; color: var(--ozr-muted); }
.ozr .ozr-btn.is-voted, .ozr .ozr-btn.is-voted:hover {
	color: var(--ozr-success); border-color: color-mix(in srgb, var(--ozr-success) 40%, transparent);
	background: color-mix(in srgb, var(--ozr-success) 8%, var(--ozr-card-bg)); transform: none;
}

.ozr-more { display: flex; justify-content: center; margin-top: 24px; }
.ozr .ozr-more [hidden] { display: none; }

.ozr-empty {
	display: grid; justify-items: center; gap: 6px; padding: 40px 24px; text-align: center;
	color: var(--ozr-muted); background: var(--ozr-surface);
	border: 1px dashed var(--ozr-border); border-radius: var(--ozr-radius);
}
.ozr-empty > .ozr-icon { width: 32px; height: 32px; color: var(--ozr-star); }
.ozr-empty__title { font-size: 17px; font-weight: 700; color: var(--ozr-text); }
.ozr-empty p { margin: 0 0 8px; }

/* ------------------------------------------------------------------ Botón suelto / bloque resumen */
.ozr-form-button { display: grid; justify-content: start; }
.ozr-align--center { justify-content: center; }
.ozr-align--right { justify-content: end; }
.ozr-align--stretch { justify-content: stretch; }
.ozr-summary-block { display: grid; gap: 14px; }

/* ------------------------------------------------------------------ Insignia */
.ozr.ozr-badge {
	display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.2;
	color: var(--ozr-text); text-decoration: none;
}
.ozr.ozr-badge strong { font-weight: 700; }
.ozr-badge__count { color: var(--ozr-muted); }
.ozr.ozr-badge--pill {
	padding: 7px 14px; background: var(--ozr-card-bg);
	border: 1px solid var(--ozr-border); border-radius: 999px; box-shadow: var(--ozr-shadow);
}
a.ozr.ozr-badge:hover { color: var(--ozr-text); text-decoration: none; }
a.ozr.ozr-badge:hover .ozr-badge__count { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ Carrusel */
/* --ozr-pv = reseñas visibles en escritorio (atributo per_view); tablet y móvil se ajustan solos. */
.ozr-carousel { --ozr-per-view: var(--ozr-pv, 3); --ozr-gap: 20px; position: relative; }
@media (max-width: 1024px) { .ozr-carousel { --ozr-per-view: min(var(--ozr-pv, 3), 2); } }
@media (max-width: 680px) { .ozr-carousel { --ozr-per-view: 1; } }
.ozr-carousel__track {
	display: flex; gap: var(--ozr-gap);
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
	padding: 6px 0 18px; margin: -6px 0 0;
	scrollbar-width: none;
}
.ozr-carousel__track::-webkit-scrollbar { display: none; }
.ozr-carousel__track:focus-visible { outline: 2px solid var(--ozr-accent); outline-offset: 2px; border-radius: var(--ozr-radius); }
.ozr-carousel__slide {
	/* Mínimo 260px por tarjeta: en columnas angostas se ven menos tarjetas en vez de apretarlas. */
	flex: 0 0 max(calc((100% - (var(--ozr-per-view) - 1) * var(--ozr-gap)) / var(--ozr-per-view)), min(260px, 100%));
	scroll-snap-align: start; display: flex;
}
.ozr .ozr-quote {
	position: relative; display: flex; flex-direction: column; gap: 10px; width: 100%;
	margin: 0; padding: 26px 26px 22px;
	background: var(--ozr-card-bg); border: 1px solid var(--ozr-border);
	border-radius: var(--ozr-radius); box-shadow: var(--ozr-shadow);
}
.ozr-quote__mark {
	position: absolute; top: 4px; right: 18px;
	font-family: Georgia, "Times New Roman", serif; font-size: 72px; line-height: 1;
	color: color-mix(in srgb, var(--ozr-star) 35%, transparent); pointer-events: none;
}
.ozr-quote__title { font-weight: 700; font-size: 16px; line-height: 1.35; }
.ozr .ozr-quote__text {
	margin: 0; padding: 0; border: 0; background: none; quotes: none;
	font-size: 15px; font-style: normal; line-height: 1.65; color: var(--ozr-text);
}
.ozr .ozr-quote__text::before, .ozr .ozr-quote__text::after { content: none; }
.ozr .ozr-quote__who { font-style: normal; display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
.ozr-quote__who > span:last-child { display: grid; }

.ozr-carousel__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 6px; }
.ozr-carousel__nav[hidden] { display: none; }
.ozr .ozr-carousel__arrow {
	display: grid; place-items: center; width: 40px; height: 40px; min-height: 0; margin: 0; padding: 0;
	color: var(--ozr-text); background: var(--ozr-card-bg);
	border: 1px solid var(--ozr-border); border-radius: 50%; box-shadow: var(--ozr-shadow); cursor: pointer;
	transition: background-color .2s, transform .15s;
}
.ozr .ozr-carousel__arrow:hover, .ozr .ozr-carousel__arrow:focus { color: var(--ozr-text); background: var(--ozr-surface); border-color: var(--ozr-border); }
.ozr .ozr-carousel__arrow:active { transform: scale(.94); }
.ozr .ozr-carousel__arrow .ozr-icon { width: 18px; height: 18px; }
.ozr-carousel__dots { display: flex; align-items: center; gap: 6px; }
.ozr .ozr-carousel__dots button {
	width: 8px; height: 8px; min-height: 0; margin: 0; padding: 0;
	background: color-mix(in srgb, var(--ozr-text) 18%, transparent); border: 0; border-radius: 999px;
	box-shadow: none; cursor: pointer; transition: width .3s var(--ozr-ease), background-color .3s;
}
.ozr .ozr-carousel__dots button:hover, .ozr .ozr-carousel__dots button:focus { background: color-mix(in srgb, var(--ozr-text) 35%, transparent); }
.ozr .ozr-carousel__dots button.is-active { width: 22px; background: var(--ozr-accent); }

/* =====================================================================
   Ventana emergente + formulario
   (la ventana se mueve a <body> para quedar por encima del sticky header)
   ===================================================================== */
html.ozr-lock, html.ozr-lock body { overflow: hidden; }

.ozr-modal {
	position: fixed; inset: 0; z-index: 2147483000;
	display: grid; place-items: center; padding: 16px;
	overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.ozr-modal[hidden] { display: none; }
.ozr-modal__backdrop {
	position: fixed; inset: 0; background: rgba(10, 12, 18, .55);
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	opacity: 0; transition: opacity .25s;
}
.ozr-modal__dialog {
	position: relative; width: 100%; max-width: 560px; margin: auto;
	padding: 32px 32px 26px; background: var(--ozr-card-bg);
	border-radius: calc(var(--ozr-radius) + 4px);
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .35);
	opacity: 0; transform: translateY(16px) scale(.98);
	transition: opacity .25s var(--ozr-ease), transform .3s var(--ozr-ease);
}
.ozr-modal__dialog:focus { outline: none; }
.ozr-modal.is-open .ozr-modal__backdrop { opacity: 1; }
.ozr-modal.is-open .ozr-modal__dialog { opacity: 1; transform: none; }
.ozr-modal .ozr-modal__close {
	position: absolute; top: 14px; right: 14px;
	display: grid; place-items: center; width: 38px; height: 38px; min-height: 0; margin: 0; padding: 0;
	color: var(--ozr-muted); background: transparent; border: 0; border-radius: 50%; box-shadow: none; cursor: pointer;
}
.ozr-modal .ozr-modal__close:hover, .ozr-modal .ozr-modal__close:focus { color: var(--ozr-text); background: var(--ozr-surface); }
.ozr-modal .ozr-modal__close .ozr-icon { width: 20px; height: 20px; }
@media (max-width: 600px) {
	.ozr-modal { padding: 0; place-items: end stretch; }
	.ozr-modal__dialog {
		max-width: none; margin: 0; padding: 26px 20px 20px;
		border-radius: 22px 22px 0 0; max-height: 94vh; overflow-y: auto;
		transform: translateY(40px);
	}
}

.ozr-panel {
	padding: 30px; background: var(--ozr-card-bg);
	border: 1px solid var(--ozr-border); border-radius: var(--ozr-radius); box-shadow: var(--ozr-shadow);
}
@media (max-width: 600px) { .ozr-panel { padding: 22px 18px; } }

.ozr-form { display: grid; gap: 16px; margin: 0; }
.ozr-form__head { padding-right: 36px; }
.ozr-inline-form .ozr-form__head { padding-right: 0; }
.ozr-form__title { font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--ozr-text); }
.ozr-form__intro { margin: 6px 0 0; font-size: 14px; color: var(--ozr-muted); }

.ozr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 520px) { .ozr-grid { grid-template-columns: minmax(0, 1fr); } }

.ozr-field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.ozr-label { display: block; margin: 0; font-size: 14px; font-weight: 600; color: var(--ozr-text); }
.ozr-label em { font-style: normal; color: var(--ozr-danger); }
.ozr-label small { font-weight: 400; color: var(--ozr-muted); font-size: 13px; }
.ozr-hint { font-size: 12px; color: var(--ozr-muted); }

/* Campos: !important solo en lo que los temas y el Kit de Elementor suelen forzar en todos los inputs. */
.ozr-form .ozr-input {
	display: block; width: 100% !important; margin: 0 !important;
	padding: 12px 14px !important; min-height: 46px;
	font-family: inherit !important; font-size: 15px !important; line-height: 1.4 !important;
	color: var(--ozr-text) !important; background: var(--ozr-card-bg) !important;
	border: 1px solid var(--ozr-border) !important; border-radius: var(--ozr-radius-sm) !important;
	box-shadow: none !important; outline: none;
	transition: border-color .15s, box-shadow .15s;
}
.ozr-form .ozr-input::placeholder { color: color-mix(in srgb, var(--ozr-muted) 75%, transparent); opacity: 1; }
.ozr-form .ozr-input:hover { border-color: color-mix(in srgb, var(--ozr-text) 25%, var(--ozr-border)) !important; }
.ozr-form .ozr-input:focus {
	border-color: var(--ozr-accent) !important;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--ozr-accent) 16%, transparent) !important;
}
.ozr-form .ozr-textarea { min-height: 128px; resize: vertical; }
.ozr-field.is-invalid .ozr-input { border-color: var(--ozr-danger) !important; }
.ozr-field.is-invalid .ozr-input:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--ozr-danger) 15%, transparent) !important; }
.ozr-field__foot { display: flex; justify-content: space-between; gap: 12px; }
.ozr-counter { margin-left: auto; font-size: 12px; color: var(--ozr-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ozr-counter.is-low { color: var(--ozr-danger); }
.ozr-error { font-size: 13px; font-weight: 500; color: var(--ozr-danger); }
.ozr-error:empty { display: none; }

/* Selector de estrellas */
.ozr-rate-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.ozr-rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.ozr-rate input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ozr-form .ozr-rate label {
	display: inline-grid; place-items: center; margin: 0; padding: 3px; cursor: pointer; line-height: 0;
	border-radius: 8px; transition: transform .15s var(--ozr-ease);
}
.ozr-rate svg { width: 36px; height: 36px; fill: var(--ozr-star-empty); transition: fill .15s, transform .2s var(--ozr-ease); }
.ozr-rate label:hover svg, .ozr-rate label:hover ~ label svg,
.ozr-rate input:checked ~ label svg { fill: var(--ozr-star); }
.ozr-rate:hover input:checked ~ label svg { fill: var(--ozr-star-empty); }
.ozr-rate:hover input + label:hover svg, .ozr-rate:hover input + label:hover ~ label svg { fill: var(--ozr-star); }
.ozr-rate label:hover svg { transform: scale(1.12); }
.ozr-rate input:checked + label svg { animation: ozr-pop .35s var(--ozr-ease); }
.ozr-rate input:focus-visible + label { outline: 2px solid var(--ozr-accent); outline-offset: 1px; }
@keyframes ozr-pop { 50% { transform: scale(1.25); } }
.ozr-rate__text { font-size: 14px; font-weight: 600; color: var(--ozr-muted); }
.ozr-rate__text.is-set { color: var(--ozr-text); }
@media (max-width: 400px) { .ozr-rate svg { width: 32px; height: 32px; } }

/* Casilla de autorización */
.ozr-form .ozr-check {
	display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start;
	margin: 0; font-size: 14px; font-weight: 400; color: var(--ozr-muted); cursor: pointer;
}
.ozr-check__text { line-height: 1.45; }
.ozr-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ozr-check__box {
	display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px;
	color: transparent; background: var(--ozr-card-bg);
	border: 1.5px solid color-mix(in srgb, var(--ozr-text) 25%, var(--ozr-border)); border-radius: 6px;
	transition: background-color .15s, border-color .15s;
}
.ozr-check__box .ozr-icon { width: 14px; height: 14px; stroke-width: 3.5; }
.ozr-check input:checked + .ozr-check__box { color: var(--ozr-accent-text); background: var(--ozr-accent); border-color: var(--ozr-accent); }
.ozr-check input:focus-visible + .ozr-check__box { outline: 2px solid var(--ozr-accent); outline-offset: 2px; }
.ozr-field.is-invalid .ozr-check__box { border-color: var(--ozr-danger); }

/* Honeypot: fuera de pantalla, no display:none (algunos bots lo detectan). */
.ozr-hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

.ozr-captcha { min-height: 0; }
.ozr-captcha:empty { display: none; }

.ozr-alert {
	padding: 12px 14px; font-size: 14px; font-weight: 500;
	color: var(--ozr-danger); background: color-mix(in srgb, var(--ozr-danger) 8%, var(--ozr-card-bg));
	border: 1px solid color-mix(in srgb, var(--ozr-danger) 25%, transparent); border-radius: var(--ozr-radius-sm);
}
.ozr-alert[hidden] { display: none; }

.ozr-form .ozr-btn .ozr-spinner {
	display: none; width: 18px; height: 18px; border-radius: 50%;
	border: 2.5px solid currentColor; border-right-color: transparent; animation: ozr-spin .7s linear infinite;
}
.ozr-form.is-busy .ozr-btn .ozr-spinner { display: inline-block; }
@keyframes ozr-spin { to { transform: rotate(360deg); } }

.ozr-form__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: -4px 0 0; font-size: 12.5px; color: var(--ozr-muted); }
.ozr-form__note .ozr-icon { width: 15px; height: 15px; color: var(--ozr-success); }

/* Éxito */
.ozr-success { display: grid; justify-items: center; gap: 8px; padding: 20px 8px 6px; text-align: center; outline: none; }
.ozr-success[hidden] { display: none; }
.ozr-success__icon {
	display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 50%;
	color: #fff; background: var(--ozr-success);
	box-shadow: 0 0 0 8px color-mix(in srgb, var(--ozr-success) 15%, transparent);
	animation: ozr-pop .5s var(--ozr-ease);
}
.ozr-success__icon .ozr-icon { width: 32px; height: 32px; stroke-width: 3; }
.ozr-success__title { font-size: 22px; font-weight: 700; color: var(--ozr-text); }
.ozr-success__text { margin: 0 0 12px; max-width: 380px; color: var(--ozr-muted); }
.ozr-inline-form .ozr-success [data-ozr-close] { display: none; }

@media (prefers-reduced-motion: reduce) {
	.ozr *, .ozr-modal * { animation: none !important; transition: none !important; }
	.ozr-carousel__track { scroll-behavior: auto; }
}
