#bourbon {
    background: linear-gradient(to bottom, #d28b44, #BA6F1E);
    color: white;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 2px 4px rgba(0,0,0,0.2);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
  }
  
#rye {
  background: linear-gradient(to bottom, #c75a32, #A7441F);
  color: white;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 2px 4px rgba(0,0,0,0.2);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

#tequila {
  background: linear-gradient(to bottom, #f7efc1, #e6d795);
  color: #333;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 2px 4px rgba(0,0,0,0.2);
}

#rum {
  background: linear-gradient(to bottom, #87412b, #632a15);
  color: white;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 2px 4px rgba(0,0,0,0.2);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.checkbox-button:has(input:checked) {
  position: relative;
  z-index: 1;
}

.checkbox-button:has(input:checked)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(51, 153, 255, 0.3);
  border-radius: inherit;  /* makes sure overlay matches rounded button */
  pointer-events: none;
  z-index: -1;
}

.liquor-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* dark overlay for text readability */
  z-index: 0;
}

.liquor-banner {
  position: relative;
  width: 100%;
  height: 200px;
  background-image: url("../images/shelves.png");
  background-repeat: repeat;
  background-size: auto; /* or set to a specific size like 100px 100px */
  border-bottom: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.liquor-title {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  color: white;
  font-weight: bold;
  padding: 12px 24px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 10px;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.checkbox-section {
  max-width: 100%;
  margin: 0 0;
  padding: 0 16px;
}

.button-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

#nextPageBtn {
  margin-top: 15px;
  padding: 16px 36px;
  font-size: 1.3rem;
  font-weight: bold;
  background: linear-gradient(to bottom, #3399ff, #2277cc);
  color: white;
  border: 2px solid #2277cc;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
              0 4px 6px rgba(0, 0, 0, 0.15);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
}

#nextPageBtn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

#nextPageBtn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#backBtn {
  text-decoration: none;
  margin-top: 15px;
  padding: 16px 36px;
  font-size: 1.3rem;
  font-weight: bold;
  background: linear-gradient(to bottom, #3399ff, #2277cc);
  color: white;
  border: 2px solid #2277cc;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
              0 4px 6px rgba(0, 0, 0, 0.15);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
}

#backBtn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

#backBtn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


@media (max-width: 600px) {
  .liquor-banner {
    width: 100%;
    height: 140px;
  }

  .liquor-title {
    font-size: 1.4rem;
    padding: 8px 16px;
  }
  #nextPageBtn {
    font-size: 1.1rem;
    padding: 14px 28px;
  }
}
