/* Programa Categoría · Centro Comercial Oviedo */
.ocp,
.ocp-modal {
	--ocp-primary: #4a2511;
	--ocp-accent: #f5e6d3;
	--ocp-text: #555555;
	--ocp-ink: #2b1a10;
	--ocp-line: #d9d9d9;
	--ocp-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ocp-gap: 20px;
	--ocp-radius: 14px;
	font-family: var(--ocp-font);
	box-sizing: border-box;
}
/* El tono oscuro de los textos se deriva del color principal elegido en el panel. */
@supports (color: color-mix(in srgb, red, blue)) {
	.ocp,
	.ocp-modal { --ocp-ink: color-mix(in srgb, var(--ocp-primary) 60%, #000); }
}
.ocp *,
.ocp *::before,
.ocp *::after,
.ocp-modal *,
.ocp-modal *::before,
.ocp-modal *::after { box-sizing: inherit; }
.ocp [hidden],
.ocp-modal[hidden],
.ocp-modal [hidden] { display: none !important; }
.ocp svg,
.ocp-modal svg {
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ocp-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.ocp button,
.ocp-modal button { font-family: inherit; }

/* ---------- Encabezado del slider ---------- */
.ocp-slider,
.ocp-grid-wrap {
	position: relative;
	width: 100%;
	min-width: 0;
}
.ocp-slider-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 30px;
}
.ocp-heading { min-width: 0; }
.ocp .ocp-eyebrow {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--ocp-primary);
}
.ocp .ocp-title {
	margin: 0 0 14px;
	font-family: var(--ocp-font);
	font-size: clamp(24px, 3.2vw, 38px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--ocp-primary);
}
.ocp .ocp-subtitle {
	margin: 0;
	padding-left: 10px;
	font-size: 15px;
	line-height: 1.55;
	letter-spacing: .02em;
	color: var(--ocp-text);
}
.ocp-nav {
	display: flex;
	gap: 20px;
	flex: none;
	margin-left: auto;
	padding-bottom: 4px;
}
.ocp .ocp-arrow {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid #a9a9a9;
	border-radius: 50%;
	background: #fff;
	color: #666;
	font-size: 22px;
	cursor: pointer;
	transition: border-color .2s, color .2s, background-color .2s, transform .2s;
}
.ocp .ocp-arrow svg { stroke-width: 2.6; }
.ocp .ocp-arrow:hover {
	border-color: var(--ocp-primary);
	background: var(--ocp-primary);
	color: #fff;
}
.ocp .ocp-arrow:active { transform: scale(.94); }
.ocp .ocp-arrow:focus-visible,
.ocp .ocp-card-btn:focus-visible,
.ocp .ocp-btn-soft:focus-visible,
.ocp .ocp-chip:focus-visible {
	outline: 2px solid var(--ocp-primary);
	outline-offset: 3px;
}

/* ---------- Pista del slider ---------- */
.ocp-viewport {
	overflow: hidden;
	touch-action: pan-y;
	padding: 4px 0 8px;
	margin: -4px 0 -8px;
}
.ocp-track {
	display: flex;
	column-gap: var(--ocp-gap);
	will-change: transform;
	transition: transform .6s cubic-bezier(.22, .8, .24, 1);
	user-select: none;
	-webkit-user-select: none;
}
.ocp-track .ocp-card {
	flex: 0 0 var(--ocp-card-w, 260px);
	width: var(--ocp-card-w, 260px);
}
.ocp-slider.is-static .ocp-track { justify-content: center; transform: none !important; }
.ocp-slider.is-dragging .ocp-track { cursor: grabbing; }
.ocp-slider.is-dragging .ocp-card { pointer-events: none; }

/* ---------- Tarjeta ---------- */
.ocp-card {
	position: relative;
	display: flex;
	flex-direction: column;
	aspect-ratio: 1 / 1;
	min-width: 0;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--ocp-line);
	border-radius: var(--ocp-radius);
	overflow: hidden;
	cursor: pointer;
	transition: border-color .25s;
}
.ocp-card:hover {
	border-color: color-mix(in srgb, var(--ocp-primary) 35%, var(--ocp-line));
}
.ocp .ocp-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 1;
	padding: 4px 8px;
	border-radius: 6px;
	background: var(--ocp-accent);
	color: var(--ocp-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	max-width: calc(100% - 20px);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/*
 * Zona del logo: ocupa el espacio libre de la tarjeta y la imagen se ajusta dentro
 * (posición absoluta + object-fit), así un logo alto, ancho o muy grande nunca
 * desborda la tarjeta ni estira la página. Selectores con .ocp para ganarle a las
 * reglas genéricas de imágenes del tema o de Elementor.
 */
.ocp-card-logo {
	position: relative;
	flex: 1 1 0;
	display: grid;
	place-items: center;
	min-height: 0;
	margin: 30px 8px 10px;
}
.ocp .ocp-card-logo img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	object-fit: contain;
}
.ocp-card-name {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.15;
	text-align: center;
	text-transform: uppercase;
	color: var(--ocp-primary);
}
.ocp-card-logo { position: relative; z-index: 0; }
.ocp .ocp-card-btn {
	position: relative;
	z-index: 1;
	align-self: flex-start;
	margin: 0;
	padding: 5px 10px;
	border: 0;
	border-radius: 5px;
	background: var(--ocp-primary);
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: .01em;
	text-transform: none;
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
	transition: background-color .2s, padding .2s;
}
.ocp-card:hover .ocp-card-btn { background: color-mix(in srgb, var(--ocp-primary) 85%, #000); }

/* ---------- Botón "ver todas" ---------- */
.ocp-more {
	display: flex;
	justify-content: center;
	margin-top: 38px;
}
.ocp .ocp-btn-soft {
	display: inline-block;
	padding: 11px 24px;
	border: 0;
	border-radius: 6px;
	background: var(--ocp-accent);
	color: var(--ocp-ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, color .2s, transform .2s;
}
.ocp .ocp-btn-soft:hover {
	background: var(--ocp-primary);
	color: #fff;
}

/* ---------- Grid ---------- */
.ocp-grid-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
	margin-bottom: 28px;
}
.ocp .ocp-search {
	position: relative;
	display: block;
	flex: 0 1 320px;
	margin: 0;
}
.ocp .ocp-search svg {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #999;
	font-size: 18px;
}
.ocp .ocp-search input {
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 18px 0 44px;
	border: 1px solid var(--ocp-line);
	border-radius: 999px;
	background: #fff;
	font-family: inherit;
	font-size: 15px;
	color: var(--ocp-ink);
	box-shadow: none;
	transition: border-color .2s, box-shadow .2s;
}
.ocp .ocp-search input:focus {
	outline: none;
	border-color: var(--ocp-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ocp-primary) 15%, transparent);
}
.ocp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ocp .ocp-chip {
	margin: 0;
	padding: 8px 16px;
	border: 1px solid var(--ocp-line);
	border-radius: 999px;
	background: #fff;
	color: var(--ocp-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: none;
	cursor: pointer;
	transition: all .2s;
}
.ocp .ocp-chip:hover { border-color: var(--ocp-primary); color: var(--ocp-primary); background: #fff; }
.ocp .ocp-chip.is-active {
	background: var(--ocp-primary);
	border-color: var(--ocp-primary);
	color: #fff;
}
.ocp-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--ocp-gap);
}
.ocp-grid .ocp-card { animation: ocp-rise .45s ease both; }
@keyframes ocp-rise {
	from { opacity: 0; transform: translateY(12px); }
}
.ocp .ocp-empty {
	margin: 0;
	padding: 48px 16px;
	text-align: center;
	color: var(--ocp-text);
	font-size: 15px;
}

/* ---------- Modal ---------- */
html.ocp-locked {
	overflow: hidden;
	padding-right: var(--ocp-scrollbar, 0);
}
.ocp-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	color: var(--ocp-text);
	font-size: 15px;
	line-height: 1.6;
}
.ocp-modal-backdrop {
	position: absolute;
	inset: 0;
	/* Vidrio blanco: translúcido y desenfocado. */
	background: rgba(255, 255, 255, .62);
	-webkit-backdrop-filter: blur(12px) saturate(140%);
	backdrop-filter: blur(12px) saturate(140%);
	opacity: 0;
	transition: opacity .26s ease;
}
.ocp-modal-dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 620px;
	max-height: min(88vh, 820px);
	overflow: hidden;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 22px;
	box-shadow: 0 24px 70px -18px rgba(0, 0, 0, .22);
	opacity: 0;
	transform: translateY(18px) scale(.98);
	transition: opacity .26s ease, transform .32s cubic-bezier(.22, .8, .24, 1);
	outline: none;
}
.ocp-modal.is-open .ocp-modal-backdrop { opacity: 1; }
.ocp-modal.is-open .ocp-modal-dialog { opacity: 1; transform: none; }

.ocp-modal .ocp-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .85);
	color: var(--ocp-ink);
	font-size: 18px;
	cursor: pointer;
	transition: background-color .2s, transform .2s;
}
.ocp-modal .ocp-modal-close:hover { background: #fff; transform: rotate(90deg); }
.ocp-modal .ocp-modal-close:focus-visible { outline: 2px solid var(--ocp-primary); outline-offset: 2px; }

.ocp-modal-scroll {
	overflow-y: auto;
	overscroll-behavior: contain;
}

.ocp-modal-head {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 30px 32px 26px;
	background: #fff;
	border-bottom: 1px solid #eee;
}
.ocp-modal-logo {
	flex: none;
	display: grid;
	place-items: center;
	width: 112px;
	height: 112px;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--ocp-line);
	border-radius: 18px;
}
.ocp-modal .ocp-modal-logo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	object-fit: contain;
}
.ocp-modal-logo .ocp-card-name { font-size: 14px; }
.ocp-modal-id { min-width: 0; padding-right: 30px; }
.ocp-modal .ocp-modal-eyebrow {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--ocp-primary) 70%, #fff);
}
.ocp-modal .ocp-modal-title {
	margin: 0 0 10px;
	font-family: var(--ocp-font);
	font-size: clamp(22px, 4vw, 28px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--ocp-primary);
}
.ocp-modal-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--ocp-primary);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.ocp-modal-body { padding: 26px 32px 28px; }
.ocp-modal .ocp-modal-resumen {
	margin: 0 0 20px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--ocp-ink);
}
.ocp-modal .ocp-modal-label {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ocp-primary);
}
.ocp-modal-rich { color: var(--ocp-text); }
.ocp-modal-rich > :first-child { margin-top: 0; }
.ocp-modal-rich > :last-child { margin-bottom: 0; }
.ocp-modal-rich p { margin: 0 0 12px; }
.ocp-modal-rich h4 {
	margin: 18px 0 8px;
	font-family: var(--ocp-font);
	font-size: 15px;
	font-weight: 700;
	color: var(--ocp-ink);
}
.ocp-modal-rich strong { color: var(--ocp-ink); }
.ocp-modal-rich a { color: var(--ocp-primary); text-underline-offset: 3px; }
.ocp-modal-rich ul {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}
.ocp-modal-rich ul li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 30px;
}
.ocp-modal-rich ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--ocp-accent);
}
/* El check toma el color principal del panel (máscara en lugar de un SVG con color fijo). */
.ocp-modal-rich ul li::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 7px;
	width: 12px;
	height: 12px;
	background: var(--ocp-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ocp-modal-rich ol { margin: 0 0 12px; padding-left: 22px; }
.ocp-modal-rich ol li { margin-bottom: 6px; padding-left: 4px; }

.ocp-modal-cond {
	margin-top: 22px;
	border-top: 1px solid #eee;
	padding-top: 14px;
}
.ocp-modal-cond summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	font-weight: 600;
	color: var(--ocp-ink);
	cursor: pointer;
	list-style: none;
}
.ocp-modal-cond summary::-webkit-details-marker { display: none; }
.ocp-modal-cond summary::after {
	content: "+";
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	color: var(--ocp-primary);
	transition: transform .2s;
}
.ocp-modal-cond[open] summary::after { transform: rotate(45deg); }
.ocp-modal-cond p {
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.6;
	white-space: pre-line;
	color: #777;
}
.ocp-modal-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin-top: 18px;
	font-size: 13px;
	color: #888;
}
.ocp-modal .ocp-modal-web {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--ocp-primary);
	text-decoration: none;
}
.ocp-modal .ocp-modal-web:hover { text-decoration: underline; text-underline-offset: 3px; }

.ocp-modal-cta {
	flex: none;
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px 32px;
	background: var(--ocp-primary);
	color: #fff;
}
.ocp-modal .ocp-modal-invite {
	flex: 1;
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .85);
}
.ocp-modal .ocp-btn-primary {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 8px;
	background: var(--ocp-accent);
	color: var(--ocp-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s, transform .2s;
}
.ocp-modal .ocp-btn-primary svg { transition: transform .2s; }
.ocp-modal .ocp-btn-primary:hover { background: #fff; color: var(--ocp-ink); }
.ocp-modal .ocp-btn-primary:hover svg { transform: translateX(3px); }
.ocp-modal .ocp-cta-aviso {
	padding: 2px 6px;
	border-radius: 4px;
	background: #fff3cd;
	color: #7a5a00;
	font-size: 11px;
	font-weight: 600;
}
.ocp-modal .ocp-btn-primary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/*
 * ---------- Responsive según el ancho del bloque ----------
 * ocp.js pone en cada bloque las clases ocp--lt1000 / ocp--lt720 / ocp--lt480
 * según su ancho real. No se usan "container queries" (container-type) porque
 * dentro de los contenedores flex de Elementor hacen que el navegador calcule
 * mal el alto del bloque y deje un gran espacio en blanco debajo.
 */
.ocp--lt1000 .ocp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ocp--lt720 .ocp-track,
.ocp--lt720 .ocp-grid { --ocp-gap: 14px; }
.ocp--lt720 .ocp-more { margin-top: 24px; }
.ocp--lt720 .ocp-grid-tools { margin-bottom: 20px; }
.ocp--lt720 .ocp-slider-head { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 20px; }
.ocp.ocp--lt720 .ocp-subtitle { padding-left: 0; font-size: 14px; }
.ocp--lt720 .ocp-nav { gap: 12px; }
.ocp.ocp--lt720 .ocp-arrow { width: 42px; height: 42px; font-size: 20px; }
.ocp--lt720 .ocp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ocp.ocp--lt720 .ocp-search { flex-basis: 100%; }
.ocp--lt720 .ocp-chips { flex-wrap: nowrap; overflow-x: auto; padding: 2px 0; scrollbar-width: none; }
.ocp--lt720 .ocp-chips::-webkit-scrollbar { display: none; }
.ocp.ocp--lt720 .ocp-chip { flex: none; }

.ocp--lt480 .ocp-card { padding: 8px; }
.ocp.ocp--lt480 .ocp-badge { top: 8px; right: 8px; font-size: 12px; padding: 3px 7px; }
.ocp--lt480 .ocp-card-logo { margin: 28px 4px 8px; }
.ocp--lt480 .ocp-card-name { font-size: 15px; }
/* En tarjetas angostas el texto del botón pasa a dos líneas en vez de cortarse. */
.ocp.ocp--lt480 .ocp-card-btn { white-space: normal; text-overflow: clip; line-height: 1.25; padding: 5px 8px; }

/*
 * ---------- Reserva de alto antes de que cargue el JavaScript ----------
 * Las tarjetas las pinta ocp.js; mientras tanto se reserva su alto aproximado
 * para que el contenido de abajo no salte (CLS). Desaparece cuando el bloque
 * queda listo (data-ocp-ready) o cuando ya hay tarjetas.
 */
.ocp:not([data-ocp-ready]) .ocp-track:empty::before {
	content: "";
	flex: 0 0 100%;
	padding-top: 21%;
}
.ocp:not([data-ocp-ready]) .ocp-grid:empty::before {
	content: "";
	grid-column: 1 / -1;
	padding-top: calc(var(--ocp-r4, 1) * 25% + (var(--ocp-r4, 1) - 1) * var(--ocp-gap));
}
@media (max-width: 1080px) {
	.ocp:not([data-ocp-ready]) .ocp-track:empty::before { padding-top: 28%; }
	.ocp:not([data-ocp-ready]) .ocp-grid:empty::before { padding-top: calc(var(--ocp-r3, 1) * 33.33% + (var(--ocp-r3, 1) - 1) * var(--ocp-gap)); }
}
@media (max-width: 840px) {
	.ocp:not([data-ocp-ready]) .ocp-track:empty::before { padding-top: 38%; }
}
@media (max-width: 720px) {
	.ocp:not([data-ocp-ready]) .ocp-grid:empty::before { padding-top: calc(var(--ocp-r2, 1) * 50% + (var(--ocp-r2, 1) - 1) * 14px); }
	/* Mismo diseño móvil que aplicará ocp.js (clase ocp--lt720), desde el primer pintado. */
	.ocp:not([data-ocp-ready]) .ocp-slider-head { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 20px; }
	.ocp.ocp:not([data-ocp-ready]) .ocp-subtitle { padding-left: 0; font-size: 14px; }
	.ocp:not([data-ocp-ready]) .ocp-nav { gap: 12px; }
	.ocp.ocp:not([data-ocp-ready]) .ocp-arrow { width: 42px; height: 42px; font-size: 20px; }
	.ocp:not([data-ocp-ready]) .ocp-more { margin-top: 24px; }
	.ocp:not([data-ocp-ready]) .ocp-grid-tools { margin-bottom: 20px; }
	.ocp.ocp:not([data-ocp-ready]) .ocp-search { flex-basis: 100%; }
	.ocp:not([data-ocp-ready]) .ocp-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
}
@media (max-width: 560px) {
	.ocp:not([data-ocp-ready]) .ocp-track:empty::before { padding-top: 62%; }
}

/*
 * ---------- Blindaje frente a estilos genéricos del tema ----------
 * Algunos temas (p. ej. Hello Elementor) pintan TODOS los botones de rosado (#c36)
 * en :hover y :focus; como el botón conserva el foco después del clic, quedaba rosado.
 * Aquí cada botón del plugin define sus propios estados con más prioridad.
 */
.ocp .ocp-card-btn:focus,
.ocp .ocp-card-btn:active {
	background: var(--ocp-primary);
	color: #fff;
	border: 0;
}
.ocp .ocp-card-btn:hover,
.ocp .ocp-card:hover .ocp-card-btn {
	background: color-mix(in srgb, var(--ocp-primary) 85%, #000);
	color: #fff;
}

.ocp .ocp-arrow:focus,
.ocp .ocp-arrow:active {
	background: #fff;
	border-color: #a9a9a9;
	color: #666;
}
.ocp .ocp-arrow:hover {
	background: var(--ocp-primary);
	border-color: var(--ocp-primary);
	color: #fff;
}

.ocp .ocp-btn-soft:focus,
.ocp .ocp-btn-soft:active {
	background: var(--ocp-accent);
	color: var(--ocp-ink);
}
.ocp .ocp-btn-soft:hover {
	background: var(--ocp-primary);
	color: #fff;
}

.ocp .ocp-chip:focus,
.ocp .ocp-chip:active {
	background: #fff;
	border-color: var(--ocp-line);
	color: var(--ocp-text);
}
.ocp .ocp-chip:hover {
	background: #fff;
	border-color: var(--ocp-primary);
	color: var(--ocp-primary);
}
.ocp .ocp-chip.is-active,
.ocp .ocp-chip.is-active:hover,
.ocp .ocp-chip.is-active:focus {
	background: var(--ocp-primary);
	border-color: var(--ocp-primary);
	color: #fff;
}

.ocp-modal .ocp-modal-close:focus,
.ocp-modal .ocp-modal-close:active {
	background: rgba(255, 255, 255, .85);
	color: var(--ocp-ink);
	border: 0;
}
.ocp-modal .ocp-modal-close:hover {
	background: #fff;
	color: var(--ocp-ink);
}
.ocp-modal .ocp-btn-primary:focus,
.ocp-modal .ocp-btn-primary:active {
	background: var(--ocp-accent);
	color: var(--ocp-ink);
}
.ocp-modal .ocp-btn-primary:hover {
	background: #fff;
	color: var(--ocp-ink);
}
.ocp-modal .ocp-modal-rich a:hover,
.ocp-modal .ocp-modal-rich a:focus,
.ocp-modal .ocp-modal-web:hover,
.ocp-modal .ocp-modal-web:focus {
	color: var(--ocp-primary);
}

/* ---------- Modal en pantallas pequeñas ---------- */
@media (max-width: 767px) {
	.ocp-modal { align-items: flex-end; padding: 0; }
	.ocp-modal-dialog {
		max-width: none;
		max-height: 92vh;
		max-height: 92dvh;
		border-radius: 22px 22px 0 0;
		transform: translateY(40px);
	}
	.ocp-modal-head { padding: 26px 20px 22px; gap: 16px; }
	.ocp-modal-logo { width: 84px; height: 84px; border-radius: 14px; }
	.ocp-modal-body { padding: 22px 20px 24px; }
	.ocp-modal-cta { flex-direction: column; align-items: stretch; gap: 12px; padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); }
	.ocp-modal .ocp-btn-primary { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.ocp *,
	.ocp-modal * {
		animation: none !important;
		transition: none !important;
	}
}
