html.ca-lock, html.ca-lock body { overflow: hidden !important; }

.ca-root {
  position: fixed; inset: 0; z-index: 2147483000; pointer-events: none;
  font-family: var(--ca-font); font-size: var(--ca-fs); line-height: 1.5; color: var(--ca-tx);
  -webkit-text-size-adjust: 100%;
}
.ca-root *, .ca-root *::before, .ca-root *::after { box-sizing: border-box; font-family: inherit; }

.ca-overlay { position: fixed; inset: 0; background: var(--ca-ov); pointer-events: auto; }

.ca-box {
  position: fixed; pointer-events: auto;
  background: var(--ca-bg); color: var(--ca-tx);
  border: var(--ca-bw) solid var(--ca-bd); border-radius: var(--ca-r);
  padding: 20px; width: calc(100% - 24px); max-width: 560px;
  max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35); outline: none;
}

.ca-pos-center .ca-box        { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.ca-pos-bottom-center .ca-box { bottom: 12px; left: 50%; transform: translateX(-50%); }
.ca-pos-top-center .ca-box    { top: 12px; left: 50%; transform: translateX(-50%); }
.ca-pos-bottom-left .ca-box   { bottom: 12px; left: 12px; }
.ca-pos-bottom-right .ca-box  { bottom: 12px; right: 12px; }
.ca-pos-top-left .ca-box      { top: 12px; left: 12px; }
.ca-pos-top-right .ca-box     { top: 12px; right: 12px; }
.ca-pos-bottom-bar .ca-box    { bottom: 0; left: 0; right: 0; width: 100%; max-width: none; border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; }
.ca-pos-top-bar .ca-box       { top: 0; left: 0; right: 0; width: 100%; max-width: none; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }

@media (max-width: 600px) {
  .ca-pos-bottom-left .ca-box, .ca-pos-bottom-right .ca-box,
  .ca-pos-top-left .ca-box, .ca-pos-top-right .ca-box { left: 12px; right: 12px; width: auto; max-width: none; }
  .ca-box { padding: 16px; }
}

.ca-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ca-logo { max-height: 36px; max-width: 140px; width: auto; height: auto; }
.ca-icon { width: 28px; height: 28px; object-fit: contain; }
.ca-title { font-weight: 700; font-size: 1.2em; flex: 1; }
.ca-x { background: transparent; border: 0; color: inherit; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }

.ca-desc { margin: 0 0 14px; white-space: pre-line; opacity: .9; }

.ca-root [hidden] { display: none !important; }
.ca-cats { border-top: 1px solid var(--ca-bd); margin-bottom: 6px; }
.ca-cat { padding: 10px 0; border-bottom: 1px solid var(--ca-bd); }
.ca-row { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.ca-row .ca-rl { flex: 1; font-weight: 600; }
.ca-note { font-style: normal; font-size: .85em; opacity: .7; }
.ca-cd { margin: 4px 0 0; font-size: .88em; opacity: .8; line-height: 1.4; }

.ca-sw {
  appearance: none; -webkit-appearance: none; width: 42px; height: 24px; border-radius: 12px; margin: 0;
  background: var(--ca-b2); border: 1px solid var(--ca-bd); position: relative; cursor: pointer; flex: none;
  transition: background .15s;
}
.ca-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--ca-tx); transition: transform .15s; }
.ca-sw:checked { background: var(--ca-b1); }
.ca-sw:checked::after { transform: translateX(18px); background: var(--ca-b1t); }
[dir="rtl"] .ca-sw::after { left: auto; right: 2px; }
[dir="rtl"] .ca-sw:checked::after { transform: translateX(-18px); }
.ca-sw:disabled { opacity: .6; cursor: not-allowed; }

.ca-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; margin: 12px 0 4px; font-size: .9em; }
.ca-links a { color: var(--ca-lk); text-decoration: underline; }

.ca-info {
  width: 22px; height: 22px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1.5px solid var(--ca-lk); background: var(--ca-bg); color: var(--ca-lk);
  font: 700 13px/1 var(--ca-font); display: inline-flex; align-items: center; justify-content: center;
}
.ca-pop {
  display: none; position: absolute; width: min(280px, 80vw);
  background: var(--ca-bg); color: var(--ca-tx); border: 1px solid var(--ca-bd); border-radius: 8px;
  padding: 10px 12px; font: 400 14px/1.45 var(--ca-font); text-align: start;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35); z-index: 3;
}

/* Botões de oferta (.ca-oferta) com o aviso "!" */
.ca-ofwrap { position: relative; display: inline-block; font-family: var(--ca-font); }
.ca-ofwrap *, .ca-ofwrap *::before, .ca-ofwrap *::after { box-sizing: border-box; }
.ca-ofwrap .ca-info { position: absolute; top: -11px; right: -11px; z-index: 2; }
.ca-ofwrap .ca-pop { bottom: calc(100% + 16px); right: -11px; }
.ca-ofwrap[dir="rtl"] .ca-info { right: auto; left: -11px; }
.ca-ofwrap[dir="rtl"] .ca-pop { right: auto; left: -11px; }
.ca-info:hover + .ca-pop, .ca-info:focus + .ca-pop, .ca-ofwrap.ca-show .ca-pop { display: block; }

.ca-oferta-btn {
  display: inline-block; padding: 13px 24px; border-radius: var(--ca-r, 8px);
  background: var(--ca-b1, #2563eb); color: var(--ca-b1t, #fff); font: 700 16px/1.2 var(--ca-font, sans-serif);
  text-decoration: none; cursor: pointer;
}
.ca-oferta-btn:hover { filter: brightness(1.1); color: var(--ca-b1t, #fff); }

.ca-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ca-btn {
  flex: 1 1 140px; padding: 11px 14px; border-radius: max(calc(var(--ca-r) - 4px), 0px);
  border: var(--ca-bbw) solid var(--ca-bb); font-weight: 600; font-size: 1em; cursor: pointer;
}
.ca-btn1 { background: var(--ca-b1); color: var(--ca-b1t); }
.ca-btn2 { background: var(--ca-b2); color: var(--ca-b2t); }
.ca-eq .ca-btn { background: var(--ca-b1); color: var(--ca-b1t); }
.ca-btn:hover { filter: brightness(1.1); }
.ca-btn:focus-visible, .ca-sw:focus-visible, .ca-info:focus-visible, .ca-links a:focus-visible, .ca-x:focus-visible { outline: 2px solid var(--ca-lk); outline-offset: 2px; }

.ca-fab {
  position: fixed; bottom: 16px; z-index: 2147482999; width: 42px; height: 42px; border-radius: 50%;
  border: var(--ca-bw) solid var(--ca-bd); background: var(--ca-bg); color: var(--ca-lk);
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.ca-fab img { width: 24px; height: 24px; object-fit: contain; }
.ca-fab-left { left: 16px; }
.ca-fab-right { right: 16px; }

@media (prefers-reduced-motion: reduce) { .ca-sw, .ca-sw::after { transition: none; } }
