@font-face{font-family:JetBrains Mono;src:url('./fonts/jetbrains-mono.woff2?shopping-version=shopping-frontends-v25') format('woff2');font-weight:100 800;font-style:normal;font-display:swap}
@font-face{font-family:Departure Mono;src:local('Departure Mono'),url('https://departuremono.com/assets/DepartureMono-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
:root{--app-font:"JetBrains Mono",ui-monospace,SFMono-Regular,monospace;--ui-font:var(--app-font)}

:root[data-shopping-theme],
:root[data-shopping-theme] :is(.shell-pane, .shell-dialog) {
  --shell-line: var(--shopping-shell-line);
  --shell-control: var(--shopping-shell-control);
  --shell-control-selected: var(--shopping-shell-control-selected);
  --shell-surface-floating: var(--shopping-shell-surface-floating);
  --shell-surface-inset: var(--shopping-shell-surface-inset);
  --shell-border-panel: var(--shopping-shell-border-panel);
  --shell-switch-off: var(--shopping-shell-switch-off);
  --shell-switch-on: var(--shopping-shell-switch-on);
  --shell-highlight: var(--shopping-shell-highlight);
  --shell-shadow-floating: var(--shopping-shell-shadow-floating);
  --shell-shadow-modal: var(--shopping-shell-shadow-modal);
  --shell-press-tint: var(--shopping-shell-press-tint);
}

.shell-chips.shopping-tag-bar {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px calc(var(--shopping-list-gutter) + 4px);
  margin-inline: calc(-1 * var(--shopping-list-gutter));
  margin-top: 0;
  touch-action: pan-x pan-y;
  scrollbar-width: thin;
  scrollbar-color: var(--shell-border) transparent;
}
.shell-content:has(> .shopping-tag-bar) {
  --shopping-list-gutter: var(--shell-space-10);
  width: 100%;
}
@media (min-width: 960px) {
  .shell-content:has(> .shopping-tag-bar) {
    --shopping-list-gutter: var(--shell-space-16);
  }
}
.shell-content:has(> .shopping-tag-bar) > :not(.shopping-tag-bar) {
  max-width: 700px;
  margin-inline: auto;
}
.shopping-tag-bar > .shell-button {
  flex: 0 0 auto;
  border-width: 1px;
  white-space: nowrap;
}
.shopping-tag-bar > :first-child {
  margin-inline-start: auto;
}
.shopping-tag-bar > :last-child {
  margin-inline-end: auto;
}
.shopping-tag-glyph {
  display: inline-block;
  flex: none;
  inline-size: 1.15em;
  block-size: 1.15em;
  vertical-align: -.18em;
}
.shopping-item-tag > .shopping-tag-glyph {
  margin-inline-end: .3em;
}
.shopping-glyph-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr));
  gap: var(--shell-space-4);
  margin-block: var(--shell-space-6);
}
.shopping-glyph-grid > .shell-button {
  min-width: 0;
  flex-direction: column;
  text-align: center;
  font-size: var(--shell-text-small);
}
.shopping-glyph-grid > .shell-button > .shopping-tag-glyph {
  inline-size: 1.5rem;
  block-size: 1.5rem;
}

.shopping-theme-preview {
  max-inline-size: 26rem;
  margin: 0 auto var(--shell-space-8);
  padding: var(--shell-space-5);
  border: 1px solid var(--shell-border-panel);
  border-radius: var(--shell-radius-control);
  background: var(--shell-bg);
  color: var(--shell-ink);
  font-size: var(--shell-text-small);
  line-height: var(--shell-leading-tight);
}

.shopping-preview-filters {
  display: flex;
  justify-content: center;
  gap: var(--shell-space-3);
  flex-wrap: wrap;
}

.shopping-preview-chip {
  border: 1px solid var(--shell-border);
  border-radius: var(--shell-radius-pill);
  padding: var(--shell-space-2) var(--shell-space-4);
  font-size: var(--shell-text-caption);
  background: var(--shell-control);
}

.shopping-preview-chip[data-selected] {
  border-color: var(--shell-accent);
  background: var(--shell-accent);
  color: var(--shell-on-accent);
}

.shopping-preview-list {
  list-style: none;
  padding: 0;
  margin: var(--shell-space-3) 0 var(--shell-space-2);
}

.shopping-preview-item {
  display: flex;
  align-items: flex-start;
  gap: var(--shell-space-3);
  padding-block: var(--shell-space-2);
  border-bottom: 1px solid var(--shell-line);
}

.shopping-preview-item small {
  display: block;
  margin-top: 1px;
  color: var(--shell-muted);
  font-size: var(--shell-text-caption);
}

.shopping-preview-check {
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 1.25em;
  block-size: 1.25em;
  border: 1.5px solid var(--shell-muted);
  border-radius: 50%;
}

.shopping-preview-check[data-permanent] {
  border-style: dashed;
}

.shopping-preview-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--shell-space-3);
  padding-top: var(--shell-space-2);
}

.shopping-preview-corner,
.shopping-preview-dock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--shell-space-3);
  padding: var(--shell-space-2);
  border: 1px solid var(--shell-border);
  border-radius: var(--shell-radius-pill);
  background: var(--shell-surface-floating);
  box-shadow: var(--shell-highlight);
}

.shopping-preview-dock {
  padding-inline: var(--shell-space-3);
}

.shopping-theme-preview .shell-icon {
  width: 16px;
  height: 16px;
}
