.vck, .vck * { box-sizing: border-box; }
.vck {
  --vck-fondo: #FBF6EA; --vck-texto: #2a1c0e; --vck-suave: rgba(42, 28, 14, .72); --vck-borde: rgba(42, 28, 14, .18);
  --vck-oscuro: #0F2A24; --vck-acento: #B5562C; --vck-menta: #2C6B5E;
  font-family: var(--font-body, "Playfair Display", Georgia, serif); color: var(--vck-texto);
}

.vck-banner {
  position: fixed; z-index: 9500; left: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px);
  width: min(460px, calc(100vw - 24px)); padding: clamp(20px, 2.4vw, 28px);
  background: var(--vck-fondo); border: 1px solid var(--vck-borde); border-radius: 20px;
  box-shadow: 0 18px 50px rgba(15, 42, 36, .22), 0 2px 8px rgba(15, 42, 36, .1);
  opacity: 0; transform: translateY(16px); transition: opacity .45s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
}
.vck-banner.is-visible { opacity: 1; transform: none; }
.vck-banner[hidden], .vck-panel[hidden] { display: none; }
.vck-titulo { margin: 0 0 .5em; font-family: var(--font-display, "Fraunces", Georgia, serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.01em; color: var(--vck-texto); }
.vck-texto { margin: 0 0 1em; font-size: .93rem; line-height: 1.55; color: var(--vck-suave); }
.vck-texto a { color: #9A4523; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--vck-acento) 45%, transparent); }
.vck-texto a:hover { border-bottom-color: var(--vck-acento); }

.vck-botones { display: flex; flex-wrap: wrap; gap: 10px; }
.vck-btn {
  flex: 1 1 auto; min-height: 44px; padding: .65em 1.15em; border-radius: 999px; cursor: pointer;
  font: 600 .88rem/1.1 var(--font-body, "Playfair Display", Georgia, serif); letter-spacing: .01em; text-align: center;
  border: 2px solid var(--vck-oscuro); transition: background-color .2s, color .2s, border-color .2s;
}
.vck-btn--si { background: var(--vck-oscuro); color: #F6F8F7; }
.vck-btn--si:hover { background: #1F3D36; border-color: #1F3D36; }
.vck-btn--no { background: transparent; color: var(--vck-oscuro); }
.vck-btn--no:hover { background: rgba(15, 42, 36, .08); }
.vck-btn--link { flex: 1 1 100%; min-height: 40px; border-color: transparent; background: none; color: var(--vck-texto); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--vck-texto) 40%, transparent); }
.vck-btn--link:hover { text-decoration-color: var(--vck-texto); }
.vck-btn:focus-visible, .vck-cerrar:focus-visible, .vck-switch input:focus-visible + .vck-pista { outline: 3px solid var(--vck-menta); outline-offset: 3px; }

.vck-panel { position: fixed; inset: 0; z-index: 9600; display: grid; place-items: center; padding: 16px; background: rgba(15, 28, 36, .55); opacity: 0; transition: opacity .3s ease; }
.vck-panel.is-visible { opacity: 1; }
.vck-caja {
  position: relative; width: min(600px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  padding: clamp(22px, 3vw, 34px); background: var(--vck-fondo); border: 1px solid var(--vck-borde); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.vck-cerrar { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(42, 28, 14, .08); color: var(--vck-texto); font-size: 1.3rem; line-height: 1; }
.vck-cerrar:hover { background: rgba(42, 28, 14, .16); }
.vck-caja .vck-titulo { padding-right: 44px; font-size: 1.5rem; }
.vck-cats { list-style: none; margin: 1.2em 0 1.4em; padding: 0; display: flex; flex-direction: column; }
.vck-cat { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; align-items: start; padding: 16px 0; border-top: 1px solid var(--vck-borde); }
.vck-cat:last-child { border-bottom: 1px solid var(--vck-borde); }
.vck-cat h3 { margin: 0; font-family: var(--font-display, "Fraunces", Georgia, serif); font-weight: 500; font-size: 1.06rem; color: var(--vck-texto); }
.vck-cat p { grid-column: 1; margin: 0; font-size: .9rem; line-height: 1.5; color: var(--vck-suave); }
.vck-fija { align-self: center; font: 700 .7rem/1 var(--font-label, "Playfair Display", serif); letter-spacing: .1em; text-transform: uppercase; color: var(--vck-menta); }

.vck-switch { position: relative; display: inline-block; width: 50px; height: 28px; align-self: center; }
.vck-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.vck-pista { position: absolute; inset: 0; border-radius: 999px; background: rgba(42, 28, 14, .25); transition: background-color .25s; }
.vck-pista::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
.vck-switch input:checked + .vck-pista { background: var(--vck-menta); }
.vck-switch input:checked + .vck-pista::after { transform: translateX(22px); }

.vck-caja .vck-botones .vck-btn--link { flex: 1 1 auto; }

@media (max-width: 520px) {
  .vck-banner { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 18px; border-radius: 18px; }
  .vck-botones { flex-direction: column; }
  .vck-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .vck-banner, .vck-panel, .vck-pista, .vck-pista::after { transition: none; }
}
