/* Nomokoke: banner y panel de cookies. Mismo lenguaje que la ventana emergente del diseño
   (tarjeta #231610, borde cálido, radio 22, sombra profunda). */
.nkc-banner, .nkc-card {
	background: var(--nk-card, #231610);
	border: 1px solid rgba(216, 145, 88, 0.24);
	border-radius: 22px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
	font-family: var(--nk-font-ui), system-ui, sans-serif;
	color: var(--nk-body, #bfa895);
}
.nkc-eyebrow {
	display: inline-flex; align-items: center; gap: 7px; color: var(--nk-accent-soft, #d89158);
	font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
}
.nkc-title {
	font-family: var(--nk-font-display), system-ui, sans-serif; font-weight: 500; font-stretch: 82%;
	color: var(--nk-title, #f5eade); font-size: 22px; line-height: 1.16; margin: 12px 0 0;
}
.nkc-text { font-size: 13.5px; line-height: 1.65; margin: 10px 0 0; color: var(--nk-body, #bfa895); }
.nkc-text a { color: var(--nk-accent-soft, #d89158); text-decoration: underline; text-underline-offset: 3px; }
.nkc-text a:hover { color: var(--nk-title, #f5eade); }
.nkc-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.nkc-btn {
	appearance: none; cursor: pointer; border-radius: 999px; font-family: inherit; font-size: 14px; font-weight: 600;
	letter-spacing: 0.01em; padding: 12px 24px; min-height: 44px; line-height: 1.2; transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.nkc-btn--primary { background: var(--nk-accent, #c9502c); color: #fff4ea; border: 1px solid transparent; }
.nkc-btn--primary:hover { background: var(--nk-accent-hover, #b04322); }
.nkc-btn--ghost { background: transparent; color: var(--nk-title, #f5eade); border: 1px solid rgba(240, 228, 214, 0.35); }
.nkc-btn--ghost:hover { border-color: var(--nk-accent-soft, #d89158); background: rgba(216, 145, 88, 0.1); }

/* Banner (esquina inferior izquierda) */
.nkc-banner {
	position: fixed; left: 24px; bottom: 24px; z-index: 80; width: calc(100% - 48px); max-width: 440px; padding: 26px 28px 24px;
	opacity: 0; transform: translateY(16px); transition: opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.4s cubic-bezier(0.16, 0.84, 0.34, 1);
}
.nkc-banner[data-in] { opacity: 1; transform: none; }
.nkc-banner .nkc-actions .nkc-btn { flex: 1 1 0; }

/* Panel de preferencias */
.nkc-overlay {
	position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px;
	background: rgba(12, 7, 4, 0.74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	opacity: 0; transition: opacity 0.26s ease; overflow-y: auto;
}
.nkc-overlay[data-in] { opacity: 1; }
.nkc-card {
	position: relative; width: 100%; max-width: 520px; padding: 38px 36px 34px; margin: auto;
	opacity: 0; transform: translateY(14px) scale(0.965);
	transition: opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.36s cubic-bezier(0.16, 0.84, 0.34, 1);
}
.nkc-overlay[data-in] .nkc-card { opacity: 1; transform: none; }
.nkc-close {
	position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; padding: 0;
	border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--nk-body, #bfa895); cursor: pointer; transition: color 0.25s ease, border-color 0.25s ease;
}
.nkc-close svg { flex: 0 0 auto; width: 16px; height: 16px; }
.nkc-close:hover { color: var(--nk-title, #f5eade); border-color: rgba(216, 145, 88, 0.5); }
.nkc-rows { display: flex; flex-direction: column; margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.nkc-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nkc-row-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nkc-row-text strong { font-size: 14.5px; color: var(--nk-strong, #e9dbcb); font-weight: 600; }
.nkc-row-text span { font-size: 12.5px; line-height: 1.6; color: var(--nk-muted, #9e8877); }
.nkc-actions--stack { flex-direction: column; margin-top: 24px; }
.nkc-actions--stack .nkc-btn { width: 100%; }

/* Interruptor (el diseño no incluye uno: sigue el estilo de las casillas del sitio) */
.nkc-switch { position: relative; flex: none; width: 42px; height: 24px; margin-top: 2px; cursor: pointer; }
.nkc-switch input[type="checkbox"] {
	position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; appearance: none; -webkit-appearance: none;
}
.nkc-switch i {
	position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(233, 219, 203, 0.3);
	transition: background-color 0.25s ease, border-color 0.25s ease; pointer-events: none;
}
.nkc-switch i::after {
	content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 999px; background: #f0d9c3;
	transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.nkc-switch input:checked + i { background: var(--nk-accent, #c9502c); border-color: var(--nk-accent, #c9502c); }
.nkc-switch input:checked + i::after { transform: translateX(18px); background: #fff4ea; }
.nkc-switch input:disabled { cursor: not-allowed; }
.nkc-switch input:disabled + i { opacity: 0.55; }
.nkc-switch input:focus-visible + i { outline: 2px solid var(--nk-accent, #c9502c); outline-offset: 2px; }

@media (max-width: 560px) {
	.nkc-banner { left: 10px; right: 10px; bottom: 10px; width: auto; max-width: none; padding: 16px 18px 16px; }
	.nkc-banner .nkc-title { font-size: 19px; margin-top: 8px; }
	.nkc-banner .nkc-text { font-size: 12.5px; line-height: 1.55; margin-top: 8px; }
	.nkc-card { padding: 34px 22px 26px; }
	.nkc-btn { min-height: 48px; }
	.nkc-banner .nkc-btn { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
	.nkc-banner, .nkc-overlay, .nkc-card, .nkc-switch i, .nkc-switch i::after { transition: opacity 0.12s linear; transform: none !important; }
}
