#nakynuto-cookie-consent,
#nakynuto-cookie-consent * {
  box-sizing: border-box;
}

#nakynuto-cookie-consent .nk-cookie-panel {
  position: fixed;
  z-index: 10000;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: min(600px, calc(100vw - 32px));
  padding: 24px 26px 20px;
  color: #1b1916;
  background: #f7f0e2;
  border: 1px solid rgba(27, 25, 22, .16);
  border-radius: 18px;
  box-shadow: 0 18px 56px rgba(24, 19, 13, .22);
  font-family: inherit;
}

#nakynuto-cookie-consent .nk-cookie-panel[hidden],
#nakynuto-cookie-consent [hidden] {
  display: none !important;
}

#nakynuto-cookie-consent .nk-cookie-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #b9471a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

#nakynuto-cookie-consent .nk-cookie-copy h2 {
  margin: 0 0 9px;
  color: #1b1916;
  font-size: clamp(20px, 3vw, 25px);
  line-height: 1.15;
}

#nakynuto-cookie-consent .nk-cookie-copy p {
  margin: 0;
  color: #4b453c;
  font-size: 14px;
  line-height: 1.55;
}

#nakynuto-cookie-consent .nk-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

#nakynuto-cookie-consent button {
  min-height: 42px;
  padding: 10px 15px;
  color: #29231e;
  background: transparent;
  border: 1px solid rgba(41, 35, 30, .35);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

#nakynuto-cookie-consent button:hover {
  border-color: #c94c1b;
}

#nakynuto-cookie-consent .nk-cookie-accept {
  color: #fffaf3;
  background: #c94c1b;
  border-color: #c94c1b;
}

#nakynuto-cookie-consent .nk-cookie-accept:hover {
  background: #aa3d16;
}

#nakynuto-cookie-consent button:focus-visible,
#nakynuto-cookie-consent input:focus-visible {
  outline: 3px solid #e47b3d;
  outline-offset: 3px;
}

#nakynuto-cookie-consent .nk-cookie-preferences {
  margin-top: 15px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, .48);
  border: 1px solid rgba(27, 25, 22, .12);
  border-radius: 12px;
}

#nakynuto-cookie-consent .nk-cookie-preferences label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

#nakynuto-cookie-consent .nk-cookie-preferences input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #c94c1b;
}

#nakynuto-cookie-consent .nk-cookie-preferences span,
#nakynuto-cookie-consent .nk-cookie-preferences small {
  display: block;
}

#nakynuto-cookie-consent .nk-cookie-preferences small {
  margin-top: 3px;
  color: #5b5348;
  font-size: 12px;
}

#nakynuto-cookie-consent .nk-cookie-error {
  margin-top: 10px;
  color: #9d2f1b;
  font-size: 13px;
}

#nakynuto-cookie-consent .nk-cookie-settings-trigger {
  position: fixed;
  z-index: 9999;
  left: max(14px, env(safe-area-inset-left));
  bottom: max(14px, env(safe-area-inset-bottom));
  min-height: 34px;
  padding: 7px 12px;
  color: #302a23;
  background: #f7f0e2;
  border: 1px solid rgba(27, 25, 22, .3);
  border-radius: 999px;
  box-shadow: 0 3px 12px rgba(24, 19, 13, .12);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 560px) {
  #nakynuto-cookie-consent .nk-cookie-panel {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    padding: 19px 18px 16px;
    border-radius: 15px;
  }

  #nakynuto-cookie-consent .nk-cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #nakynuto-cookie-consent .nk-cookie-actions button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #nakynuto-cookie-consent button {
    transition: none;
  }
}
