/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design tokens ────────────────────────────────────────────── */
:root {
  --bg:        #F7F4ED;
  --bg-card:   #ffffff;
  --bg-card2:  #f5f2eb;
  --border:    #dedad2;
  --dark:      #32413B;
  --dark-dim:  #4e6059;
  --sage:      #8EA688;
  --sage-dim:  #6e8469;
  --cream:     #F7F4ED;
  --muted:     #8a9190;
  --amber:     #c47b1e;
  --r:         14px;
  --r-sm:      9px;
}

/* ── Base ─────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui, 'Sharp Grotesk', system-ui, sans-serif);
  background: var(--bg);
  color: var(--dark);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv02', 'cv03', 'cv04';
}

/* ── Service pill (floating) ──────────────────────────────────── */
.service-pill {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: var(--dark);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(50, 65, 59, 0.25);
  animation: pillIn 0.4s ease-out;
}

@keyframes pillIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Page wrapper ─────────────────────────────────────────────── */
.page {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

/* ── Header ───────────────────────────────────────────────────── */
.site-header {
  text-align: center;
  padding: 56px 8px 28px;
}

.site-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  background: rgba(142, 166, 136, 0.12);
  border: 1px solid rgba(142, 166, 136, 0.3);
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 12px;
}

.site-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.site-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 8px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.site-date {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 10px;
  letter-spacing: 0.01em;
}

/* ── Cider Hour banner ────────────────────────────────────────── */
.hh-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(196, 123, 30, 0.07);
  border: 1.5px solid var(--amber);
  border-radius: var(--r);
  margin-bottom: 16px;
}

.hh-banner[hidden] { display: none; }

.hh-icon {
  font-size: 1.4rem;
  color: var(--amber);
  flex-shrink: 0;
  font-style: normal;
}

.hh-banner strong {
  display: block;
  font-size: 0.9rem;
  color: var(--amber);
  font-weight: 700;
}

.hh-banner span:last-child {
  display: block;
  font-size: 0.78rem;
  color: var(--dark-dim);
  margin-top: 2px;
}

/* ── Tap list ─────────────────────────────────────────────────── */
.tap-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Tap card ─────────────────────────────────────────────────── */
.tap-card {
  display: flex;
  gap: 0;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 18px 16px;
  box-shadow: 0 1px 3px rgba(50, 65, 59, 0.05);
}

.tap-card--hh {
  border-color: var(--amber);
  background: rgba(196, 123, 30, 0.03);
}

.tap-card--new {
  border-color: var(--sage);
}

/* Tap number column */
.tap-num-col {
  width: 62px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding-top: 2px;
}

.tap-num {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  user-select: none;
}

.tap-abv {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bg-card);
  background: var(--sage-dim);
  padding: 4px 11px;
  border-radius: 20px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-align: center;
}

/* Card body */
.tap-body { flex: 1; min-width: 0; }

/* Name row */
.tap-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.tap-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* Fresh Tap badge */
.tap-new-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--bg-card);
  background: var(--sage);
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
}

/* Producer / origin */
.tap-producer {
  font-size: 0.78rem;
  color: var(--sage-dim);
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

/* Description */
.tap-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 12px;
}

/* Prices */
.tap-prices { display: flex; gap: 8px; flex-wrap: wrap; }

.tap-price {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 6px 12px;
}

.tap-vol {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tap-amount {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.tap-amount .price-hh  { color: var(--amber); }

.tap-amount .price-orig {
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 4px;
  font-weight: 400;
}

.tap-card--hh .tap-prices .tap-price {
  border-color: rgba(196, 123, 30, 0.4);
  background: rgba(196, 123, 30, 0.04);
}

/* ── Loading dots ─────────────────────────────────────────────── */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 80px 0;
}

.loading-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
  animation: blink 1.2s infinite;
}
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.85); }
  40%           { opacity: 1;   transform: scale(1); }
}

/* ── Error / empty ────────────────────────────────────────────── */
.tap-error, .tap-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 0 0;
}

.footer-link {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 13px 28px;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.15s;
}

.footer-link:not(.footer-link--sec) {
  background: var(--dark);
  color: var(--cream);
}

.footer-link:not(.footer-link--sec):active { background: var(--dark-dim); }

.footer-link--sec {
  color: var(--muted);
  background: transparent;
  border: 1.5px solid var(--border);
}

.footer-link--sec:active { background: var(--bg-card); }

/* ── Desktop: 2 colonnes ──────────────────────────────────────── */
@media (min-width: 700px) {
  .page { max-width: 960px; padding: 0 24px 60px; }

  .tap-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex-direction: unset;
  }

  .site-footer {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }

  .footer-link { width: auto; }
}

/* ── Satellite FAB (menu food) ────────────────────────────────── */
.tap-fab {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 99;
  opacity: 0;
  transform: scale(0.7) translateY(16px);
  transition: opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.tap-fab.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.tap-fab-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--dark);
  color: var(--cream);
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 24px rgba(50, 65, 59, 0.38);
  transition: transform 0.15s, box-shadow 0.15s;
}

.tap-fab-btn:active {
  transform: scale(0.96);
  box-shadow: 0 2px 10px rgba(50, 65, 59, 0.25);
}
