/* La Caja - WP Builder | Aviso de cookies | Kakun Media */
.lcc-aviso, .lcc-panel, .lcc-galleta { font-family: Lato, Arial, sans-serif; box-sizing: border-box; }
.lcc-aviso *, .lcc-panel * { box-sizing: border-box; }

/* Barra inferior */
.lcc-aviso {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100000; max-width: 1100px; margin: 0 auto;
	background: #1d1d1d; color: #eee; border-radius: 12px; padding: 20px 24px; box-shadow: 0 10px 40px rgba(0,0,0,.35);
	display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
	transform: translateY(140%); opacity: 0; transition: transform .45s ease, opacity .45s ease;
}
.lcc-aviso.lcc-visible { transform: none; opacity: 1; }
.lcc-texto { flex: 1 1 420px; min-width: 0; }
.lcc-texto strong { display: block; font-size: 17px; color: #fff; margin-bottom: 6px; }
.lcc-texto p { margin: 0; font-size: 14px; line-height: 1.55; color: #cfcfcf; }
.lcc-aviso a, .lcc-panel a { color: #ff7a63; text-decoration: underline; }

/* Botones */
.lcc-botones { display: flex; gap: 10px; flex-wrap: wrap; }
body .lcc-btn {
	appearance: none; border: 1px solid #dd4026 !important; border-radius: 6px !important; padding: 0 20px !important; height: 42px; min-width: 0;
	font: 700 14px/40px Lato, Arial, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; cursor: pointer;
	transition: background .2s, color .2s; white-space: nowrap; box-shadow: none !important; background-image: none !important;
}
body .lcc-pri { background: #dd4026 !important; color: #fff !important; }
body .lcc-pri:hover, body .lcc-pri:focus { background: #b8321c !important; border-color: #b8321c !important; }
body .lcc-sec { background: transparent !important; color: #fff !important; border-color: #6b6b6b !important; }
body .lcc-sec:hover, body .lcc-sec:focus { border-color: #fff !important; }

/* Panel de preferencias */
.lcc-panel {
	position: fixed; inset: 0; z-index: 100001; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; padding: 16px;
	opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.lcc-panel.lcc-visible { opacity: 1; visibility: visible; }
.lcc-caja { position: relative; background: #fff; color: #1d1d1d; border-radius: 12px; width: 100%; max-width: 620px; max-height: 90vh; overflow: auto; padding: 28px; }
.lcc-caja h3 { margin: 0 0 8px; font: 700 22px/1.2 Lato, Arial, sans-serif; letter-spacing: 0; text-transform: none; color: #1d1d1d; }
.lcc-intro { font-size: 14px; color: #555; margin: 0 0 18px; line-height: 1.5; }
body .lcc-x { position: absolute; top: 10px; right: 12px; background: none !important; border: 0 !important; font-size: 28px !important; line-height: 1 !important; color: #1d1d1d !important; cursor: pointer; padding: 4px 8px !important; height: auto; min-width: 0; }
.lcc-cat { border: 1px solid #e2e2e2; border-radius: 8px; padding: 14px 16px; margin-bottom: 10px; }
.lcc-cat-cab { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; }
.lcc-cat-cab em { font-style: normal; font-weight: 700; font-size: 12px; color: #1e7a3a; }
.lcc-cat p { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: #555; }
.lcc-caja .lcc-botones { margin-top: 18px; justify-content: flex-end; }
.lcc-caja .lcc-sec { color: #1d1d1d !important; border-color: #8f8f8f !important; }
.lcc-caja .lcc-sec:hover, .lcc-caja .lcc-sec:focus { border-color: #1d1d1d !important; }

/* Interruptor */
.lcc-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex: 0 0 44px; margin: 0; }
.lcc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.lcc-switch span { position: absolute; inset: 0; background: #c9c9c9; border-radius: 24px; transition: background .2s; }
.lcc-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.lcc-switch input:checked + span { background: #dd4026; }
.lcc-switch input:checked + span::after { transform: translateX(20px); }
.lcc-switch input:focus-visible + span { outline: 2px solid #1d1d1d; outline-offset: 2px; }

/* Botón de la galleta para cambiar la elección */
body .lcc-galleta {
	position: fixed; left: 16px; bottom: 16px; z-index: 9990; width: 44px; height: 44px; min-width: 0; padding: 0 !important; border-radius: 50% !important;
	background: #1d1d1d !important; color: #fff !important; border: 0 !important; cursor: pointer; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 3px 12px rgba(0,0,0,.3); opacity: .85; transition: opacity .2s, background .2s;
}
body .lcc-galleta:hover, body .lcc-galleta:focus { opacity: 1; background: #dd4026 !important; }
html.lcc-abierto { overflow: hidden; }

@media (max-width: 700px) {
	.lcc-aviso { left: 10px; right: 10px; bottom: 10px; padding: 16px; gap: 14px; }
	.lcc-botones { width: 100%; }
	.lcc-aviso .lcc-btn { flex: 1 1 auto; }
	.lcc-aviso .lcc-pri { flex-basis: 100%; order: -1; }
	.lcc-caja { padding: 22px 18px; }
	.lcc-caja .lcc-btn { flex: 1 1 100%; }
	body .lcc-galleta { left: 10px; bottom: 10px; width: 40px; height: 40px; }
}
body .lcc-aviso .lcc-texto strong { color: #dd4026 !important; }

/* La galleta vive en la esquina izquierda del pie de página (no flota) */
.lcc-con-galleta { position: relative; }
body .lcc-galleta.lcc-en-pie { position: absolute; left: 24px; top: 50%; bottom: auto; transform: translateY(-50%); z-index: 5; }
@media (max-width: 700px) { body .lcc-galleta.lcc-en-pie { left: 12px; } }
