/* src/pages/shops/styles/part-1.css */
:root {
  color-scheme: light;
  --ink: #183b34;
  --muted: #52675e;
  --paper: #f5f2e8;
  --panel: #fffefa;
  --green: #086d56;
  --green-dark: #245d4d;
  --line: #cbd8ca;
  --soft-green: #e7efdd;
  --gold: #76520c;
  --soft-gold: #fff1cc;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    18px/1.65 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: var(--green);
  text-underline-offset: 0.16em;
}
a:hover {
  color: var(--green-dark);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #a16b1b;
  outline-offset: 3px;
}
button,
input,
select {
  font: inherit;
}
.site-header,
main,
footer {
  width: min(1180px, 100%);
  margin-inline: auto;
}
.site-header {
  padding: 14px 24px 0;
}
.site-nav,
.language-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}
.site-nav {
  min-height: 48px;
}
.language-nav {
  justify-content: flex-end;
  padding-block: 6px 12px;
  font-size: 0.94rem;
}
.language-nav a[aria-current=page] {
  font-weight: 750;
  color: var(--ink);
}
main {
  padding: 12px 24px 28px;
}
h1 {
  max-width: 24ch;
  margin: 12px 0;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.18;
}
h2 {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  line-height: 1.3;
}
h3 {
  line-height: 1.35;
}
.lead {
  max-width: 78ch;
  font-size: 1.08rem;
}
.status {
  min-height: 1.8em;
  color: var(--muted);
}
.status nav {
  margin-top: 8px;
}
.filters {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(270px, 1.25fr) minmax(200px, 0.9fr) minmax(240px, 1.1fr) auto;
  gap: 16px;
  align-items: end;
  margin-block: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #e9eee5;
}
.filter-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.filter-field label,
.place-toggle legend {
  color: var(--muted);
  font-weight: 700;
}
input[type=search],
select {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--ink);
}
.place-toggle {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.place-toggle legend {
  margin-bottom: 5px;
}
.place-toggle label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  font-size: 0.91rem;
  line-height: 1.3;
}
.place-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
.quiet-button {
  min-height: 48px;
  padding: 8px 14px;
  border: 1px solid #8ba597;
  border-radius: 10px;
  background: var(--panel);
  color: var(--green-dark);
  font-weight: 700;
  cursor: pointer;
}
.quiet-button:hover {
  background: var(--soft-green);
}
.location-section,
.stock-section {
  margin-block: 28px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 3px 14px #173d3010;
}
.section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 18px;
}
.map-id,
.offer-count {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 700;
}
.location-summary {
  max-width: 80ch;
  color: var(--muted);
}
.location-visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.location-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f2f5ed;
}
.location-card h3 {
  margin: 0 0 8px;
}
.location-card p {
  margin: 8px 0;
}
.coordinate {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.map-crop {
  display: block;
  width: min(100%, 340px);
  aspect-ratio: 1;
  margin: 12px auto 5px;
  border: 1px solid #b4c6b8;
  border-radius: 8px;
  background: #e6e9df;
  image-rendering: pixelated;
}
.map-open {
  display: block;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}
.map-open span {
  display: inline-block;
  margin: 3px 0 8px;
}
.map-open:focus-visible {
  outline: 3px solid #a16b1b;
  outline-offset: 4px;
  border-radius: 8px;
}
.route-button,
.stock-jump {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin: 4px 8px 4px 0;
  padding: 5px 10px;
  border: 1px solid #91aa98;
  border-radius: 9px;
  background: #fffefa;
  font-weight: 700;
}
.route-button:hover,
.stock-jump:hover {
  background: var(--soft-green);
}
.map-point {
  color: #a62913;
  font-weight: 800;
}
.seller-group {
  margin-top: 22px;
}
.seller-group[id] {
  scroll-margin-top: 18px;
}
.seller-group h3 {
  margin: 0 0 10px;
}
.seller-description {
  margin: -4px 0 12px;
  color: var(--muted);
}
.shop-results {
  display: grid;
  gap: 22px;
  margin-top: 10px;
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.offer-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}
.offer-card:hover {
  border-color: #7da28f;
  box-shadow: 0 6px 18px #183b3418;
  transform: translateY(-1px);
}
.offer-card.is-target {
  border: 2px solid #bc8319;
  background: #fffbf0;
  box-shadow: 0 0 0 3px #bc831926;
}
.offer-card h4 {
  margin: 5px 0;
  font-size: 1.08rem;
  line-height: 1.35;
}
.offer-card h4 a {
  color: var(--ink);
}
.offer-card p {
  margin: 7px 0;
}
.offer-image-link {
  display: inline-flex;
  min-height: 116px;
  align-items: center;
  justify-content: center;
}
.offer-image-link img {
  display: block;
  width: 116px;
  height: 112px;
  object-fit: contain;
  image-rendering: pixelated;
}
.price {
  color: var(--gold);
  font-size: 1.12rem;
  font-weight: 800;
}
.small-id {
  color: var(--muted);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.condition {
  margin-top: 10px !important;
  padding: 9px 11px;
  border-left: 4px solid #b77a16;
  border-radius: 4px;
  background: var(--soft-gold);
}

/* src/pages/shops/styles/part-2.css */
.condition-label {
  margin: 8px 0 0 !important;
  color: #76520c;
  font-size: 0.92rem;
  font-weight: 750;
}
.food-recovery {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--green-dark);
  font-size: 0.95rem;
  font-weight: 750;
}
.target-status {
  min-height: 1.7em;
  padding: 10px 13px;
  border-radius: 10px;
  background: #edf3e8;
}
.target-status:empty {
  display: none;
}
.target-status p {
  margin: 5px 0;
}
.stage-link {
  display: inline-block;
  margin: 3px 7px 3px 0;
  padding: 3px 10px;
  border: 1px solid #8ba597;
  border-radius: 999px;
  background: #fff;
  font-size: 0.9rem;
}
.bundle-labels {
  display: grid;
  gap: 3px;
}
.map-evidence,
.technical-point {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}
.map-evidence summary,
.technical-point summary {
  color: var(--green-dark);
  font-weight: 700;
  cursor: pointer;
}
.map-evidence p {
  margin: 6px 0;
}
.technical-point dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 3px 10px;
  overflow-wrap: anywhere;
}
.technical-point dt {
  font-weight: 700;
}
.technical-point dd {
  margin: 0;
}
.target-badge,
.shop-kind {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 750;
}
.target-badge {
  background: var(--soft-gold);
  color: #76520c;
}
.bundle-parts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-block: 8px;
}
.bundle-part {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f0f3ec;
}
.bundle-part img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  image-rendering: pixelated;
}
.bundle-plus {
  color: #74857a;
  font-weight: 800;
}
.empty-state {
  padding: 22px;
  border: 1px dashed #9caf9e;
  border-radius: 14px;
  background: #f5f7f1;
}
.empty-state h3 {
  margin: 0 0 8px;
}
.empty-state p {
  margin: 8px 0;
}
#shop-fish-context {
  scroll-margin-top: 8rem;
}
#shop-fish-context:empty {
  display: none;
}
.shop-fish-context {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f5f7f1;
}
.shop-fish-context > img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  image-rendering: pixelated;
}
.shop-fish-context p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.shop-fish-context .shop-fish-context-label {
  color: var(--green-dark);
  font-weight: 750;
}
.shop-fish-profile-link {
  display: inline-grid;
  gap: 2px;
  color: var(--ink);
}
.shop-fish-profile-link span {
  color: var(--muted);
  font-size: 0.9rem;
}
.shop-compatibility {
  width: fit-content;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.88rem;
  line-height: 1.35;
}
.shop-compatibility.accepted {
  background: #e9f3e9;
  color: #215a3c;
}
.shop-compatibility.rejected {
  background: #f8ece7;
  color: #8a3527;
}
.evidence-note {
  margin: 30px 0;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.evidence-note summary {
  color: var(--green-dark);
  font-weight: 750;
  cursor: pointer;
}
footer {
  padding: 8px 24px 32px;
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1050px) {
  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-field {
    grid-column: span 2;
  }
  .quiet-button {
    justify-self: start;
  }
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  body {
    font-size: 17px;
  }
  .site-header {
    padding-inline: 16px;
  }
  main {
    padding: 8px 14px 22px;
  }
  .filters {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 15px;
  }
  .search-field {
    grid-column: auto;
  }
  .place-toggle {
    gap: 8px;
  }
  .place-toggle label {
    min-height: 34px;
  }
  .location-visuals,
  .offer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .location-section,
  .stock-section {
    padding: 17px 14px;
  }
  .offer-card {
    padding: 13px;
  }
  .shop-fish-context {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }
  .shop-fish-context > img {
    width: 50px;
    height: 50px;
  }
  footer {
    padding-inline: 16px;
  }
}
.shop-target-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
}
.shop-target-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  image-rendering: pixelated;
}
.shop-target-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}
#location-section,
#regular-stock,
#special-stock,
#bundle-stock {
  scroll-margin-top: 130px;
}
[id^=town-arrival-] {
  scroll-margin-top: 130px;
}
.shop-purchase-decision {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 8px;
  line-height: 1.65;
}
.shop-purchase-decision strong {
  color: var(--green);
}
.shop-purchase-decision details {
  margin-top: 12px;
  font-size: 0.94rem;
}
.shop-purchase-decision summary {
  cursor: pointer;
  color: var(--muted);
  padding-block: 6px;
}
.price-note {
  margin: 2px 0 6px;
  color: var(--muted);
  font-size: 0.88rem;
}
.shop-facts {
  margin: 18px 0;
  padding: 12px 16px;
  border: 1px solid var(--line, #d8e2d4);
  border-radius: 10px;
  background: var(--soft-green, #e9efe4);
}
.shop-facts h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}
.shop-facts:empty {
  display: none;
}
.shop-facts .fact-list {
  margin: 0;
  padding-left: 1.2rem;
}
.shop-facts .fact-list li {
  margin: 6px 0;
}

/* src/pages/shops/styles/route-walk.css */
.shop-walk {
  margin-block: 1rem;
  padding: 1rem;
  background: #edf2e8;
  border-radius: 0.75rem;
}
.shop-walk h4 {
  margin: 0 0 0.6rem;
}
.shop-walk li {
  margin-block: 0.6rem;
  line-height: 1.6;
}
.shop-walk img {
  width: min(100%, 512px);
  image-rendering: pixelated;
}

/* src/pages/shops/index.css */

/* src/app/shops.css */
