/* Susanin Fitness — стандартный баннер согласия на cookie.
   Самодостаточный компонент: разметку строит cookie-consent.js. */
.sfcc {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 100000;
  width: min(430px, calc(100vw - 40px));
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(10, 30, 20, 0.18);
  border: 1px solid rgba(19, 22, 20, 0.06);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: #131614;
  padding: 22px;
  display: none;
}
.sfcc.is-visible { display: block; }
.sfcc__title { font-weight: 700; font-size: 16px; margin: 0 0 8px; }
.sfcc__text { margin: 0 0 14px; color: #4b544f; }
.sfcc__text a { color: #2f9d57; font-weight: 600; text-decoration: underline; }
.sfcc__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sfcc__btn {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: 0.2s;
  font-family: inherit;
}
.sfcc__btn--accept { background: #57c97d; color: #fff; }
.sfcc__btn--accept:hover { background: #2f9d57; }
.sfcc__btn--necessary { background: #fff; color: #131614; border: 1px solid #dfe5e1; }
.sfcc__btn--necessary:hover { border-color: #57c97d; color: #2f9d57; }
.sfcc__btn--settings { background: none; color: #66706b; text-decoration: underline; padding: 11px 8px; }
.sfcc__btn--settings:hover { color: #2f9d57; }
.sfcc__panel { display: none; margin: 4px 0 14px; border-top: 1px solid #eef1ef; padding-top: 12px; }
.sfcc.is-settings .sfcc__panel { display: block; }
.sfcc.is-settings .sfcc__text { display: none; }
.sfcc__row { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; }
.sfcc__row-info { flex: 1; }
.sfcc__row-title { font-weight: 700; font-size: 13.5px; }
.sfcc__row-desc { color: #66706b; font-size: 12.5px; margin-top: 2px; }
.sfcc__switch { position: relative; flex: 0 0 auto; width: 40px; height: 22px; margin-top: 2px; }
.sfcc__switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sfcc__slider {
  position: absolute; inset: 0; border-radius: 999px;
  background: #cfd6d1; transition: 0.2s; pointer-events: none;
}
.sfcc__slider:before {
  content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px;
  border-radius: 50%; background: #fff; transition: 0.2s;
}
.sfcc__switch input:checked + .sfcc__slider { background: #57c97d; }
.sfcc__switch input:checked + .sfcc__slider:before { transform: translateX(18px); }
.sfcc__switch input:disabled + .sfcc__slider { background: #9fd8b3; opacity: 0.7; }
.sfcc__close {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px;
  background: none; border: 0; cursor: pointer; color: #66706b;
  display: grid; place-items: center; border-radius: 50%;
}
.sfcc__close:hover { background: #eef1ef; color: #131614; }
@media (max-width: 640px) {
  .sfcc { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; }
  .sfcc__actions { flex-direction: column; }
  .sfcc__btn { width: 100%; }
}
