/* Browser-local favorites, alongside the existing sharing controls. */
.ch-shop .ch-share .ch-share-actions { gap: 8px; }
.ch-shop .ch-share .ch-share-actions button {
  gap: 6px;
  padding: 10px 11px;
  font-size: 12px;
  white-space: nowrap;
  min-height: 44px;
}
.ch-shop .ch-share .ch-share-actions button svg { width: 16px; height: 16px; flex-basis: 16px; }
.ch-shop .ch-share [data-ch-save] { min-width: 96px; }
.ch-shop .ch-share [data-ch-save][aria-pressed='true'] {
  color: var(--ch-accent);
  border-color: var(--ch-accent);
  background: var(--ch-mint);
}
.ch-shop .ch-share [data-ch-save][aria-pressed='true'] svg { fill: currentColor; }
.ch-shop .ch-share .ch-favorites-help,
.ch-shop .ch-share .ch-favorites-note,
.ch-shop .ch-share .ch-favorites-empty,
.ch-shop .ch-share .ch-favorites-status {
  color: var(--ch-muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 10px 0 0;
}
.ch-shop .ch-share .ch-favorites-status:empty { margin: 0; }
.ch-shop .ch-share .ch-favorites { margin-top: 4px; min-width: 0; }
.ch-shop .ch-share .ch-favorites > summary {
  width: fit-content;
  min-height: 44px;
  padding-block: 12px;
  color: var(--ch-accent);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--ch-clay, #984e38);
  text-underline-offset: 4px;
}
.ch-shop .ch-share .ch-favorites > summary::marker { color: var(--ch-clay, #984e38); }
.ch-shop .ch-share .ch-favorites[open] {
  background: var(--ch-paper-white, #fffdf7);
  border: 1px solid var(--ch-pencil, #cfc4b4);
  border-radius: 3px 12px 3px 3px;
  padding: 0 12px 12px;
  margin-top: 8px;
}
.ch-shop .ch-share .ch-favorites-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.ch-shop .ch-share .ch-favorites-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--ch-pencil, #cfc4b4);
}
.ch-shop .ch-share .ch-favorites-list li:last-child { border-bottom: 0; }
.ch-shop .ch-share .ch-favorites-list a {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--ch-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.ch-shop .ch-share .ch-favorites-list button {
  min-width: 48px;
  min-height: 44px;
  padding: 8px;
  flex-shrink: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: var(--ch-clay, #984e38);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
}
.ch-shop .ch-share .ch-favorites-list button:hover { background: var(--ch-mint); }
