/* ── Обгортка ── */
.zhokl-price-widget {
  font-family: inherit;
}

/* ── Пошук ── */
.zhokl-search {
  width: 100%;
  padding: 8px 12px;
  margin-bottom: 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* ── Спойлер ── */
.zhokl-accordion {
  border: 1px solid #1a3a5c;
  border-radius: 4px;
  margin-bottom: 8px;
  overflow: hidden;
}

.zhokl-accordion summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: #1a3a5c;
  list-style: none;
  user-select: none;
  line-height: 1.35;
}

.zhokl-accordion summary::-webkit-details-marker { display: none; }

/* Фіксована кнопка +/- праворуч */
.zhokl-accordion summary::after {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: #1a3a5c;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  margin-left: 2px;
}

.zhokl-accordion[open] summary::after {
  content: '−';
}

/* Текст назви */
.zhokl-summary-text {
  flex: 1 1 auto;
  min-width: 0;
}

/* ── Debug лічильник ── */
.zhokl-count {
  flex-shrink: 0;
  align-self: center;
  margin-top: 0;
  background: #d63638;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 8px;
  border-radius: 20px;
  min-width: 20px;
  text-align: center;
  font-family: monospace;
}

/* ── Таблиця ── */
.zhokl-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.zhokl-table th {
  padding: 8px 12px;
  background: #fff;
  font-weight: 700;
  font-size: 13px;
  color: #333;
  border-bottom: 2px solid #ddd;
  text-align: left;
}

.zhokl-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #222;
  text-align: left;
}

.zhokl-table tbody tr:last-child td {
  border-bottom: none;
}

.zhokl-table tbody tr:hover td {
  background: #f7f9fc;
}

/* Код послуги */
.zhokl-code {
  color: #777;
  white-space: nowrap;
  width: 80px;
  font-size: 13px;
}

/* Ціна */
.zhokl-price {
  white-space: nowrap;
  font-weight: 600;
  text-align: right;
  color: #1a3a5c;
}

/* ── Рядки з приміткою (зірочка у ціні) ── */
.zhokl-has-note td {
  background-color: #fffdf0;
}

/* ── Блок приміток під таблицею ── */
.zhokl-notes {
  padding: 8px 14px;
  background: #fffbe6;
  border-top: 2px solid #f0c040;
}

.zhokl-note {
  margin: 3px 0;
  font-size: 13px;
  color: #5a4500;
  font-style: italic;
}

.zhokl-note::before {
  content: '* ';
  font-weight: bold;
}
