/* ═══════════════════════════════════════════════════
   The Guilty Bar — Top 100 Beers
   ═══════════════════════════════════════════════════ */

.beer-hero {
  background: radial-gradient(ellipse 70% 100% at 50% 100%, rgba(201,168,76,.16) 0%, transparent 70%), linear-gradient(160deg, #100d08 0%, #080604 100%);
  border-bottom: 1px solid rgba(201,168,76,.25);
  padding: 1.6rem 0 1.2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.beer-hero-badge {
  display: inline-block;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  color: #c9a84c;
  border-radius: 50px;
  padding: .25rem 1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.beer-hero h1 {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 2.2rem;
  color: #c9a84c;
  margin-bottom: .3rem;
}
.beer-hero p  { color: rgba(242,232,216,.65); font-size: .92rem; max-width: 600px; margin: 0 auto; }

.beer-controls {
  background: rgba(20,14,8,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: .8rem 0;
  position: relative;
}
.beer-search-wrap { position: relative; max-width: 320px; }
.beer-search-wrap i { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: rgba(242,232,216,.3); pointer-events: none; }
.beer-search {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #f2e8d8;
  border-radius: 50px;
  padding: .48rem 1rem .48rem 2.4rem;
  font-size: .87rem; width: 100%;
}
.beer-search:focus { outline: none; border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.1); }
.beer-search::placeholder { color: rgba(242,232,216,.28); }

.beer-filters { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .55rem; }
.beer-filter {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  color: rgba(242,232,216,.55);
  border-radius: 50px; padding: .3rem 1rem;
  font-size: .78rem; font-weight: 700; cursor: pointer; transition: all .18s;
}
.beer-filter:hover { border-color: #f59e0b; color: #f59e0b; }
.beer-filter.active { background: #f59e0b; border-color: #f59e0b; color: #100d08; }

.beer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem; padding: 2.5rem 0;
}
@media (max-width: 1199px) { .beer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .beer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px)  { .beer-grid { grid-template-columns: 1fr; } }

.beer-card {
  background: #1e1810;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.beer-card:hover { border-color: rgba(245,158,11,.35); transform: translateY(-3px); }
.beer-card.hidden { display: none; }

.beer-img-wrap {
  height: 200px; position: relative;
  background: linear-gradient(160deg, #140800 0%, #100d08 100%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.beer-rank {
  position: absolute; top: .6rem; left: .6rem;
  background: rgba(245,158,11,.85);
  color: #100d08; font-size: .72rem; font-weight: 900;
  border-radius: 6px; padding: .15rem .5rem;
  letter-spacing: .03em;
}
.beer-img-fallback {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
}
.beer-emoji { font-size: 3rem; }
.beer-label {
  font-size: .85rem; font-weight: 800; color: #f59e0b;
  text-align: center; padding: 0 .5rem; line-height: 1.2;
}
.beer-img { max-height: 190px; max-width: 90%; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(0,0,0,.7)); }

.beer-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.beer-name { font-size: .95rem; font-weight: 800; color: #f2e8d8; margin: 0 0 .3rem; line-height: 1.25; }
.beer-brewery { font-size: .75rem; color: rgba(242,232,216,.4); margin-bottom: .6rem; }
.beer-badges { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .65rem; }
.beer-badge {
  display: inline-block; border-radius: 50px;
  padding: .13rem .55rem; font-size: .66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
.beer-badge-style   { background: rgba(245,158,11,.15); color: #f59e0b; }
.beer-badge-abv     { background: rgba(239,68,68,.1); color: #f87171; }
.beer-badge-country { background: rgba(139,92,246,.1); color: #a78bfa; }
.beer-desc { font-size: .78rem; color: rgba(242,232,216,.65); line-height: 1.65; margin: 0; flex: 1; }

.beer-img {
  max-height: 180px; max-width: 80%; object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.7));
}

.beer-no-results { color: rgba(242,232,216,.35); text-align: center; padding: 4rem 1rem; }
.beer-no-results i { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

/* ── Style sub-nav ── */
.beer-style-nav {
  background: rgba(20,14,8,.92);
  border-bottom: 1px solid rgba(245,158,11,.15);
  padding: .6rem 0;
}
.beer-style-pills {
  display: flex; flex-wrap: nowrap; gap: .35rem;
  overflow-x: auto; padding-bottom: 2px;
  scrollbar-width: none;
}
.beer-style-pills::-webkit-scrollbar { display: none; }
.beer-style-pill {
  display: inline-block; white-space: nowrap;
  padding: .35rem 1rem; border-radius: 50px;
  font-size: .78rem; font-weight: 700;
  color: rgba(242,232,216,.55);
  border: 1px solid rgba(255,255,255,.1);
  text-decoration: none; transition: all .18s;
}
.beer-style-pill:hover { color: #f59e0b; border-color: #f59e0b; }
.beer-style-pill.active { background: #f59e0b; border-color: #f59e0b; color: #100d08; }

@media (max-width: 767px) {
  .beer-hero h1 { font-size: 1.7rem; }
  .beer-controls { position: static; }
}
