/* iCell бисквитки — банерът (в стила на началната страница) */
.icn, .icn-fl {
  --icn-ac: var(--icb-accent, #0b62d0);
  --icn-deep: var(--icb-deep, #0a52bd);
  --icn-ink: var(--icb-ink, #172233);
  --icn-mut: var(--icb-muted, #5f6b7a);
  --icn-line: var(--icb-line-lt, #e3eaf3);
  --icn-line2: var(--icb-line, #cbd8ea);
  --icn-soft: var(--icb-soft, #ebf3fe);
}
.icn { position: fixed; left: 20px; bottom: 20px; z-index: 2147483000; width: 420px; max-width: calc(100vw - 24px); font-family: inherit; color: var(--icn-ink); }
.icn[hidden] { display: none; }
.icn *, .icn ::before, .icn ::after { box-sizing: border-box; }
.icn__in { position: relative; max-height: calc(100vh - 40px); overflow-y: auto; padding: 20px 20px 16px; border: 1px solid var(--icn-line); border-radius: 16px; background: #fff; box-shadow: 0 2px 4px rgba(15, 42, 77, .06), 0 24px 48px -16px rgba(15, 42, 77, .35); }
.icn__hd { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; padding-right: 26px; }
.icn__ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; padding: 9px; border-radius: 12px; background: var(--icn-soft); color: var(--icn-ac); }
.icn__ic svg, .icn-fl svg, .icn__x svg { display: block; width: 100%; height: 100%; }
.icn .icn__t { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; color: var(--icn-ink); }
.icn .icn__d { margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; color: var(--icn-mut); }
.icn__link { color: var(--icn-ac) !important; font-weight: 600; text-decoration: underline; white-space: nowrap; }
.icn__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.icn__b { min-height: 44px; margin: 0; padding: 0 12px; border: 1px solid var(--icn-line2); border-radius: 10px; background: #fff; color: var(--icn-ink); font: inherit; font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.icn__b:hover { border-color: var(--icn-ac); color: var(--icn-ac); }
.icn__b--pri { border-color: var(--icn-ac); background: var(--icn-ac); color: #fff; }
.icn__b--pri:hover { border-color: var(--icn-deep); background: var(--icn-deep); color: #fff; }
.icn__more { display: block; margin: 10px auto 0; padding: 4px 8px; border: 0; background: none; color: var(--icn-mut); font: inherit; font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.icn__more:hover { color: var(--icn-ink); }
.icn__x { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; padding: 6px; border: 0; border-radius: 8px; background: transparent; color: var(--icn-mut); cursor: pointer; }
.icn__x:hover { background: var(--icn-soft); color: var(--icn-ink); }
.icn button:focus-visible, .icn a:focus-visible, .icn input:focus-visible + span { outline: 3px solid rgba(14, 109, 219, .35); outline-offset: 2px; }

/* настройките */
.icn__cats { margin: 0 0 14px; padding: 0; list-style: none; }
.icn__cat { padding: 10px 0; border-top: 1px solid var(--icn-line); }
.icn__ct { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.icn__cn { font-size: 14.5px; font-weight: 700; }
.icn .icn__cd { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--icn-mut); }
.icn__cd em { font-style: normal; font-weight: 600; color: #13804b; }
.icn__sw { position: relative; display: inline-block; width: 44px; height: 26px; flex: none; margin: 0; cursor: pointer; }
.icn__sw input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.icn__sw span { position: absolute; inset: 0; border-radius: 999px; background: #c9d3e0; transition: background-color .2s; pointer-events: none; }
.icn__sw span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.icn__sw input:checked + span { background: var(--icn-ac); }
.icn__sw input:checked + span::after { transform: translateX(18px); }
.icn__sw.is-fixed { cursor: default; opacity: .6; }

/* иконката за промяна на избора */
.icn-fl { position: fixed; left: 16px; bottom: 16px; z-index: 2147482000; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--icn-line2); border-radius: 50%; background: #fff; color: var(--icn-ac); box-shadow: 0 6px 18px -6px rgba(15, 42, 77, .35); cursor: pointer; opacity: .85; transition: opacity .2s, transform .2s; }
.icn-fl:hover { opacity: 1; transform: translateY(-2px); }
html.icn-open .icn-fl { display: none; }

@media (max-width: 575.98px) {
  .icn { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; }
  .icn__in { padding: 16px 16px 12px; border-radius: 14px; max-height: calc(100vh - 24px); }
  .icn__btns { grid-template-columns: 1fr; }
  .icn-fl { left: 12px; bottom: 12px; width: 38px; height: 38px; padding: 9px; }
}
@media print { .icn, .icn-fl { display: none !important; } }
.icn__id { margin: 10px 0 0; font-size: 11.5px; color: #7a8594; }
.icn__id span { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; }
