.agrorus-cookie {
  position: fixed;
  z-index: 99999;
  right: 32px;
  bottom: 32px;
  width: 440px;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  line-height: 22px;
  color: #1c241f;
  pointer-events: none;
}
.agrorus-cookie[hidden],
.agrorus-cookie [hidden] { display: none !important; }
.agrorus-cookie__panel {
  pointer-events: auto;
  padding: 22px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(14, 104, 49, .18);
  box-shadow: 0 18px 40px rgba(4, 46, 20, .16);
}
.agrorus-cookie__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: #0E6831;
}
.agrorus-cookie__text { margin: 0; color: #243028; }
.agrorus-cookie__text a { color: #0E6831; text-decoration: underline; text-underline-offset: 2px; }
.agrorus-cookie__text a:hover { color: #042E14; }
.agrorus-cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.agrorus-cookie__btn {
  flex: 1 1 auto;
  cursor: pointer;
  border-radius: 999px;
  padding: 9px 16px;
  font: 500 14px/22px inherit;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.agrorus-cookie__btn--primary {
  background: #0E6831;
  color: #fff;
  border: 2px solid #0E6831;
}
.agrorus-cookie__btn--primary:hover { background: #042E14; border-color: #042E14; }
.agrorus-cookie__btn--ghost {
  background: transparent;
  color: #0E6831;
  border: 2px solid rgba(14, 104, 49, .45);
}
.agrorus-cookie__btn--ghost:hover { border-color: #0E6831; background: rgba(14, 104, 49, .06); }
.agrorus-cookie__btn:focus-visible { outline: 2px solid #0E6831; outline-offset: 2px; }
.agrorus-cookie__prefs { margin-top: 4px; }
.agrorus-cookie__cat { padding: 12px 0; border-bottom: 1px solid rgba(14, 104, 49, .12); }
.agrorus-cookie__cat:last-child { border-bottom: 0; }
.agrorus-cookie__cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.agrorus-cookie__cat-name { font-size: 15px; font-weight: 600; cursor: pointer; color: #1c241f; }
.agrorus-cookie__always { font-size: 13px; color: #5d6b63; white-space: nowrap; }
.agrorus-cookie__cat-desc { margin: 6px 0 0; font-size: 13px; line-height: 20px; color: #5d6b63; }
.agrorus-cookie__switch { position: relative; display: inline-flex; flex-shrink: 0; cursor: pointer; }
.agrorus-cookie__switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.agrorus-cookie__switch-ui {
  display: block;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #d5ddd8;
  transition: background .2s ease;
  position: relative;
}
.agrorus-cookie__switch-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s ease;
}
.agrorus-cookie__switch input:checked + .agrorus-cookie__switch-ui { background: #0E6831; }
.agrorus-cookie__switch input:checked + .agrorus-cookie__switch-ui::after { transform: translateX(20px); }
.agrorus-cookie__switch input:focus-visible + .agrorus-cookie__switch-ui { outline: 2px solid #0E6831; outline-offset: 2px; }
.bottom-line .agrorus-legal { margin: 0; line-height: 1.45; }
.bottom-line .agrorus-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 576px) {
  .agrorus-cookie { left: 0; right: 0; bottom: 0; width: 100%; max-width: 100%; }
  .agrorus-cookie__panel { border-radius: 16px 16px 0 0; padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .agrorus-cookie__actions { flex-direction: column; }
  .agrorus-cookie__btn { width: 100%; }
  .agrorus-cookie__actions--notice .agrorus-cookie__btn--primary { order: 1; }
  .agrorus-cookie__actions--notice [data-action="customize"] { order: 2; }
  .agrorus-cookie__actions--notice [data-action="reject"] { order: 3; }
}
