/* Roll-Chon · Banner y preferencias de cookies. */
.rc-cookie-banner,
.rc-cookie-dialog {
  box-sizing: border-box;
  color: #f6f6f6;
  font-family: Outfit, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}
.rc-cookie-banner[hidden] { display: none !important; }
.rc-cookie-banner {
  position: fixed;
  z-index: 10000;
  inset: auto 0 0;
  margin: 0;
  padding: 16px 24px calc(16px + env(safe-area-inset-bottom));
  max-height: 85vh;
  max-height: 85dvh;
  overflow-y: auto;
  background: #111;
  border-top: 2px solid #ff5c1a;
  box-shadow: 0 -8px 32px rgb(0 0 0 / 20%);
}
.rc-cookie-card {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.rc-cookie-copy { flex: 1; min-width: 0; }
.rc-cookie-banner h2,
.rc-cookie-dialog h2 {
  margin: 0 0 8px;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
}
.rc-cookie-banner p,
.rc-cookie-dialog p { margin: 0; color: #ddd; font-size: 14px; line-height: 1.6; }
.rc-cookie-banner a,
.rc-cookie-dialog a { color: #ff9366; text-decoration: underline; text-underline-offset: 3px; }
.rc-cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 0 0 320px; }
.rc-cookie-choice,
.rc-cookie-secondary {
  appearance: none;
  min-height: 44px;
  margin: 0;
  padding: 11px 16px;
  border: 1px solid #fff;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-family: Outfit, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
}
.rc-cookie-choice:hover { background: #ffe3d5; border-color: #ffe3d5; }
.rc-cookie-secondary {
  grid-column: 1 / -1;
  background: transparent;
  border-color: #777;
  color: #fff;
}
.rc-cookie-secondary:hover { background: #242424; }
.rc-cookie-choice:focus-visible,
.rc-cookie-secondary:focus-visible,
.rc-cookie-close:focus-visible,
.rc-cookie-category input:focus-visible,
.rc-cookie-settings:focus-visible {
  outline: 3px solid #ff9366;
  outline-offset: 3px;
}
.rc-cookie-dialog {
  position: fixed;
  inset: 0;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 28px;
  overflow-y: auto;
  border: 1px solid #444;
  border-radius: 16px;
  background: #111;
  box-shadow: 0 20px 80px rgb(0 0 0 / 40%);
}
.rc-cookie-dialog::backdrop { background: rgb(0 0 0 / 65%); }
.rc-cookie-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.rc-cookie-dialog-head h2 { margin-top: 8px; }
.rc-cookie-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid #777;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.rc-cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #444;
  border-radius: 10px;
  cursor: pointer;
}
.rc-cookie-category strong { display: block; font-size: 15px; color: #fff; }
.rc-cookie-category small { display: block; margin-top: 4px; color: #ccc; font-size: 13px; line-height: 1.5; }
.rc-cookie-category input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: #ff5c1a; cursor: pointer; }
.rc-cookie-category input:disabled { cursor: not-allowed; }
.rc-cookie-dialog .rc-cookie-more { margin: 20px 0; font-size: 13px; }
.rc-cookie-settings {
  appearance: none;
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.f-bottom .rc-cookie-settings { color: #aaa; }
.f-bottom > span:last-child { flex-wrap: wrap; justify-content: center; }
.legal-wrap .rc-cookie-settings { color: #c93d00; }
.legal-table-scroll { overflow-x: auto; margin: 12px 0; }
.legal-wrap .legal-table-scroll table { min-width: 620px; margin: 0; }
@media (max-width: 900px) {
  .rc-cookie-card { flex-direction: column; align-items: stretch; gap: 16px; }
  .rc-cookie-actions { flex-basis: auto; }
}
@media (max-width: 480px) {
  .rc-cookie-banner { padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
  .rc-cookie-dialog { padding: 20px; }
  .rc-cookie-category { padding: 12px; gap: 12px; }
}
