/* --- The pole ---------------------------------------------------------
   One stripe, running the full height of the board's left edge. It is the
   only piece of motion on the page. */
.pole {
  position: absolute;
  inset: 0 auto 0 0;
  width: 22px;
  border-right: 2px solid var(--ink);
  background-image: repeating-linear-gradient(45deg,
      var(--oxblood) 0 10px,
      #f7f3ea 10px 20px,
      #1c4b86 20px 30px,
      #f7f3ea 30px 40px);
  background-size: auto 56.57px;
  animation: pole-turn 2.4s linear infinite;
}

@keyframes pole-turn {
  to {
    background-position: 0 -56.57px;
  }
}

/* --- Identity --------------------------------------------------------- */
.shop-mark {
  justify-self: center;
  width: 54px;
  height: 54px;
  margin-bottom: .2rem;
}

.shop-name {
  font-size: clamp(2.1rem, 9vw, 3rem);
  color: var(--oxblood);
  text-shadow: 2px 2px 0 rgba(25, 21, 18, .12);
}

.trade {
  font-size: .95rem;
  color: var(--ink-soft);
}

.open-state {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .35rem;
  padding: .28rem .8rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.open-state::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.open-state[data-state="open"] {
  color: var(--mint);
}

.open-state[data-state="closed"] {
  color: var(--oxblood);
}

/* --- Book button ------------------------------------------------------ */
.book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin: 1.4rem 0 .2rem;
  min-height: 60px;
  padding: 0 1.5rem;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--oxblood);
  color: #fdf8ee;
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: .01em;
  box-shadow: 4px 4px 0 var(--ink);
  transition: translate .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
}

.book:hover,
.book:focus-visible {
  translate: 2px 2px;
  box-shadow: 2px 2px 0 var(--ink);
  background: var(--oxblood-deep);
}

.book svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Price-board rows -------------------------------------------------
   Label on the left, value on the right, leader dots between them — the
   same way the price list on the wall is set. */
.row-link {
  display: flex;
  align-items: baseline;
  gap: .25rem;
  padding: .62rem .4rem;
  border-radius: 3px;
  transition: background .16s var(--ease), padding-left .16s var(--ease);
}

.row-link:hover,
.row-link:focus-visible {
  background: rgba(124, 29, 38, .07);
  padding-left: .75rem;
}

.row-label {
  font-weight: 600;
  font-size: 1.06rem;
  white-space: nowrap;
}

.row-note {
  margin-left: .5rem;
  font-size: .84rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.row-dots {
  flex: 1 1 auto;
  min-width: 1.5rem;
  height: 0;
  margin-bottom: .28rem;
  border-bottom: 2px dotted var(--rule-strong);
}

.row-meta {
  flex: none;
  font-weight: 600;
  font-size: 1rem;
  color: var(--oxblood);
  white-space: nowrap;
}

.row-meta-quiet {
  font-weight: 500;
  color: var(--ink-soft);
}

@media (max-width: 420px) {
  .row-note {
    display: none;
  }
}

/* --- Chips ------------------------------------------------------------ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 40px;
  padding: 0 .95rem;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  background: transparent;
  font-weight: 600;
  font-size: .88rem;
  transition: background .16s var(--ease), color .16s var(--ease);
}

.chip svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chip:hover,
.chip:focus-visible {
  background: var(--ink);
  color: var(--board);
}

.chip[data-state="done"] {
  background: var(--mint);
  border-color: var(--mint);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .pole {
    animation: none;
  }

  .book,
  .row-link,
  .chip {
    transition: none;
  }
}
