/* ArishaFit cookie consent banner — компактная нижняя плашка.
   Появляется через 1.5s после загрузки если выбор не сделан, скрывается
   мгновенно при принятии или отказе. */

.cb-root {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 16px max(env(safe-area-inset-right, 0px), 16px)
           calc(16px + env(safe-area-inset-bottom, 0px))
           max(env(safe-area-inset-left, 0px), 16px);
  display: flex;
  justify-content: center;
  pointer-events: none;
  transform: translateY(120%);
  transition: transform .42s cubic-bezier(.22,1,.36,1), opacity .25s ease;
  opacity: 0;
}
.cb-root.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }

.cb-card {
  width: 100%;
  max-width: 720px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  background: rgba(28, 22, 18, .94);
  color: #fff;
  border: 1px solid rgba(232, 114, 12, .35);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.5),
              0 1px 0 rgba(255,255,255,.04) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.cb-text { color: #f5e6d6; }
.cb-text a { color: #ffb86b; text-decoration: underline; text-underline-offset: 3px; }
.cb-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cb-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .01em;
  transition: transform .12s ease, background-color .15s ease;
}
.cb-btn:active { transform: scale(.97); }
.cb-btn-primary { background: #e8720c; color: #fff; }
.cb-btn-primary:hover { background: #c25503; }
.cb-btn-ghost { background: transparent; color: #f5e6d6; opacity: .7; }
.cb-btn-ghost:hover { opacity: 1; background: rgba(255,255,255,.06); }

@media (max-width: 560px) {
  .cb-card { grid-template-columns: 1fr; padding: 14px; }
  .cb-actions { justify-content: stretch; }
  .cb-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cb-root { transition: opacity .2s ease; transform: none; }
}
