/* AC14 Cookies — aviso y política. Los tres botones tienen el mismo aspecto (Aceptar y Rechazar con el mismo peso, como pide la AEPD). */
.ac14ck { position: fixed; left: 16px; bottom: 16px; z-index: 100000; width: calc(100% - 32px); max-width: 470px; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.5; color: #1f2937; }
.ac14ck[hidden], .ac14ck [hidden] { display: none !important; }
.ac14ck__caja { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 14px 44px rgba(0, 0, 0, .24); padding: 20px 20px 18px; max-height: calc(100vh - 32px); overflow-y: auto; }
.ac14ck__t { margin: 0 0 6px; font-size: 17px; font-weight: 700; line-height: 1.25; color: #111827; }
.ac14ck__p { margin: 0 0 14px; font-size: 13.5px; color: #374151; }
.ac14ck__p a { color: var(--ac14-acento, #cf2e2e); font-weight: 600; text-decoration: underline; }
.ac14ck__botones { display: flex; flex-wrap: wrap; gap: 8px; }
.ac14ck__btn { flex: 1 1 0; min-width: 118px; padding: 11px 12px; border: 2px solid #1f2937; border-radius: 6px; background: #fff; color: #1f2937; font: 700 13px/1.2 Manrope, system-ui, sans-serif; text-align: center; cursor: pointer; transition: background .15s, color .15s; }
.ac14ck__btn:hover, .ac14ck__btn:focus-visible { background: #1f2937; color: #fff; }
.ac14ck__btn:focus-visible, .ac14ck__sw input:focus-visible + .ac14ck__sw-i { outline: 3px solid #93c5fd; outline-offset: 2px; }

.ac14ck__cats { list-style: none; margin: 0 0 14px; padding: 0; }
.ac14ck__cat { margin: 0; padding: 11px 0; border-top: 1px solid #e5e7eb; }
.ac14ck__cat:first-child { border-top: 0; padding-top: 2px; }
.ac14ck__sw { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.ac14ck__cat-t { font-weight: 700; font-size: 13.5px; color: #111827; }
.ac14ck__cat-p { margin: 4px 0 0; font-size: 12.5px; color: #4b5563; }
.ac14ck__cat-p em { color: #6b7280; }
.ac14ck__sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ac14ck__sw-i { position: relative; flex: 0 0 42px; height: 24px; border-radius: 999px; background: #9ca3af; transition: background .15s; }
.ac14ck__sw-i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; }
.ac14ck__sw input:checked + .ac14ck__sw-i { background: #1f2937; }
.ac14ck__sw input:checked + .ac14ck__sw-i::after { transform: translateX(18px); }
.ac14ck__sw input:disabled + .ac14ck__sw-i { opacity: .55; }

@media (max-width: 768px) {
	.ac14ck { left: 0; right: 0; bottom: 0; width: 100%; max-width: none; }
	.ac14ck__caja { border-radius: 14px 14px 0 0; max-height: 88vh; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
	.ac14ck__btn { flex: 1 1 100%; }
}

/* Botón / enlace para reabrir (política y pie de página) */
.ac14ckpie, .ac14-cookies-abrir { cursor: pointer; }
.ac14ck-abrir { padding: 8px 14px; border: 2px solid #1f2937; border-radius: 6px; background: #fff; color: #1f2937; font: 700 13px/1.2 Manrope, system-ui, sans-serif; }
.ac14ck-abrir:hover { background: #1f2937; color: #fff; }

/* Política de cookies */
.ac14ck-politica { font-size: 15px; line-height: 1.65; color: #374151; }
.ac14ck-politica h2 { margin: 28px 0 8px; font-size: 20px; font-weight: 700; color: #111827; }
.ac14ck-politica h3 { margin: 20px 0 6px; font-size: 16px; font-weight: 700; color: #111827; }
.ac14ck-tabla-wrap { overflow-x: auto; margin: 8px 0 16px; }
.ac14ck-tabla { width: 100%; border-collapse: collapse; font-size: 13px; }
.ac14ck-tabla th, .ac14ck-tabla td { padding: 8px 10px; border: 1px solid #e5e7eb; text-align: left; vertical-align: top; }
.ac14ck-tabla th { background: #f3f4f6; font-weight: 700; }
.ac14ck-tabla code { font-size: 12px; word-break: break-word; }
@media (max-width: 640px) {
	.ac14ck-tabla thead { display: none; }
	.ac14ck-tabla, .ac14ck-tabla tbody, .ac14ck-tabla tr, .ac14ck-tabla td { display: block; width: 100%; }
	.ac14ck-tabla tr { margin-bottom: 10px; border: 1px solid #e5e7eb; border-radius: 8px; }
	.ac14ck-tabla td { border: 0; border-bottom: 1px solid #f3f4f6; }
	.ac14ck-tabla td::before { content: attr(data-t) ": "; font-weight: 700; color: #111827; }
}

/* Páginas legales (Elementor) */
.ac14ck-legal { max-width: 900px; margin: 0 auto; padding: 32px 20px 56px; font-size: 15px; line-height: 1.7; color: #374151; }
.ac14ck-legal .ac14ck-legal__h1 .elementor-heading-title { margin: 0 0 18px; font-family: Manrope, sans-serif !important; font-size: 30px; font-weight: 700; line-height: 1.2; color: #111827 !important; }
.ac14ck-legal__sec h2 { margin: 26px 0 8px; font-family: Manrope, sans-serif; font-size: 19px; font-weight: 700; color: #111827; }
.ac14ck-legal p, .ac14ck-legal li { font-family: Inter, sans-serif; font-size: 15px; line-height: 1.7; color: #374151; }
.ac14ck-legal ul { margin: 8px 0 14px 20px; }
.ac14ck-legal a { color: var(--ac14-acento, #cf2e2e); text-decoration: underline; }
.ac14ck-falta { background: #fef08a; color: #713f12; padding: 0 4px; border-radius: 3px; }
.ac14ck-enlaces { font-size: 13px; }
.ac14ck-enlaces a { color: inherit; text-decoration: underline; }
