/* wall.css — Jacks Door wall styling for pubhub.ie per-pub pages */

#pub-wall.wall-mounted {
  margin: 2.5rem 0;
  padding: 0;
}

.wall-h {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  margin: 0 0 0.25rem;
  color: var(--stout, #1a1410);
}
.wall-lede {
  margin: 0 0 1rem;
  color: #6b5a44;
  font-size: 0.9rem;
}

/* The "door" — a pretend wooden surface */
.wall-door {
  position: relative;
  background: #d9c19a;
  background-image:
    repeating-linear-gradient(90deg,
      rgba(120, 80, 30, 0.05) 0px,
      rgba(120, 80, 30, 0.05) 2px,
      transparent 2px,
      transparent 8px),
    repeating-linear-gradient(0deg,
      rgba(120, 80, 30, 0.03) 0px,
      rgba(120, 80, 30, 0.03) 1px,
      transparent 1px,
      transparent 6px);
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 6px rgba(70, 40, 10, 0.3),
    inset 0 0 30px rgba(70, 40, 10, 0.15),
    0 6px 20px rgba(80, 50, 20, 0.18);
  padding: 12px;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
}

.wall-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: rgba(255, 252, 240, 0.35);
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(70, 40, 10, 0.25);
}

.wall-svg {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
}
.wall-svg path { transition: opacity 0.4s ease; }

.wall-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}

.wall-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.15);
  background: var(--swatch);
  cursor: pointer;
  padding: 0;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.wall-swatch:hover { transform: translateY(-1px); }
.wall-swatch.is-active {
  border-color: #b08d57;
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.3);
  transform: translateY(-1px);
}

.wall-status {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #6b5a44;
  font-style: italic;
}

@media (max-width: 480px) {
  .wall-swatch { width: 40px; height: 40px; }
}
