/* =========================================================
   DRINKS.CSS — Juomalista-sivu (drinksP.html)
   Käyttö: <link rel="stylesheet" href="shared.css">
            <link rel="stylesheet" href="drinks.css">
   ========================================================= */
body.paja-page {
  background-image:
    linear-gradient(
      rgba(255,255,255,0.85),
      rgba(255,255,255,0.85)
    ),
    url("images/pajaPuidenTakaa.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
/* =========================================================
   JUOMAKATEGORIAT
   ========================================================= */

.drink-cats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}

.drink-cat-box {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.drink-cat-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.drink-cat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.drink-cat-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.drink-cat-title {
  font-weight: 900;
  font-size: 18px;
}

.drink-cat-arrow {
  font-size: 28px;
  line-height: 0;
  transform: rotate(0deg);
  transition: transform 180ms ease;
}

.drink-cat-box.is-open .drink-cat-arrow {
  transform: rotate(90deg);
}

.drink-cat-panel {
  border-top: 1px dashed rgba(0,0,0,0.12);
  padding: 10px 12px 12px;
}

/* =========================================================
   YKSITTÄISET JUOMAT
   ========================================================= */

.drink-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drink-item {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  transition: transform 120ms ease;
}

.drink-item:hover {
  transform: translateY(-1px);
}

.drink-item .name {
  font-weight: 900;
}

.drink-item .price {
  font-weight: 900;
  color: var(--muted);
}

.drink-details {
  border-left: 3px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.03);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (min-width: 980px) {
  .drink-cats {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }
}
