/* Виджет «Сообщить об ошибке» — кнопка и форма (подключается и на диске, и на страницах). */
.zdfb {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(232, 207, 138, 0.36);
  background: transparent;
  color: #e8c87a;
  cursor: pointer;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}
.zdfb svg { width: 22px; height: 22px; }
.zdfb:hover { transform: scale(1.06); }
.zdfb-panel {
  position: fixed;
  left: 14px;
  bottom: 72px;
  z-index: 9999;
  width: min(360px, calc(100vw - 28px));
  background: #fffdf8;
  border: 1px solid #E7DCC8;
  border-radius: 16px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
  padding: 16px;
  font-family: 'Manrope', system-ui, sans-serif;
  color: #211A13;
}
.zdfb-panel__head {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.zdfb-cats { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; font-size: 0.85rem; }
.zdfb-cats label { cursor: pointer; }
.zdfb-panel textarea {
  width: 100%;
  min-height: 84px;
  box-sizing: border-box;
  border: 1px solid #E7DCC8;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.92rem;
  margin-bottom: 10px;
  resize: vertical;
}
.zdfb-panel input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #E7DCC8;
  border-radius: 10px;
  padding: 9px 12px;
  font: inherit;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.zdfb-panel button[type="submit"] {
  width: 100%;
  padding: 11px;
  border: none;
  border-radius: 10px;
  background: #5A0A14;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.zdfb-panel button[type="submit"]:hover { background: #6a0d19; }
.zdfb-hint {
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: #6b5a44;
}
.zdfb-hint summary {
  cursor: pointer;
  color: #5A0A14;
  font-weight: 600;
}
.zdfb-hint ul {
  margin: 8px 0 0;
  padding-left: 18px;
}
.zdfb-hint li {
  margin-bottom: 3px;
}

/* ------------------------------ Кнопка «Оставить отзыв» ------------------------------ */
.zdrv {
  position: fixed;
  left: 14px;
  bottom: 72px;
  z-index: 9998;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(232, 207, 138, 0.36);
  background: transparent;
  color: #e8c87a;
  cursor: pointer;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}
.zdrv svg { width: 22px; height: 22px; }
.zdrv:hover { transform: scale(1.06); }
.zdrv-panel {
  position: fixed;
  left: 14px;
  bottom: 126px;
  z-index: 9998;
  width: min(360px, calc(100vw - 28px));
  background: #fffdf8;
  border: 1px solid #E7DCC8;
  border-radius: 16px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
  padding: 16px;
  font-family: 'Manrope', system-ui, sans-serif;
  color: #211A13;
}
.zdrv-panel__head {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.zdrv-rate { display: block; font-size: .88rem; margin-bottom: 10px; color: #6b5a44; }
.zdrv-rate select {
  margin-left: 6px;
  padding: 5px 8px;
  border: 1px solid #E7DCC8;
  border-radius: 8px;
  font-size: .95rem;
  color: #211A13;
  background: #fffdf8;
}
.zdrv-panel textarea,
.zdrv-panel input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #E7DCC8;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: .92rem;
  margin-bottom: 10px;
}
.zdrv-panel textarea { min-height: 72px; resize: vertical; }
.zdrv-check { display: flex; align-items: flex-start; gap: 8px; font-size: .82rem; color: #6b5a44; margin-bottom: 8px; cursor: pointer; }
.zdrv-check input { margin-top: 2px; }
.zdrv-panel button[type="submit"] {
  width: 100%;
  padding: 11px;
  border: none;
  border-radius: 10px;
  background: #5A0A14;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.zdrv-panel button[type="submit"]:hover { background: #6a0d19; }
