#shopButton {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10vh;
  height: 10vh;
  font-size: 5vh;
  border: 1px solid black;
  border-radius: 8px;
  z-index: 1001;
}

.shopMenu {
  position: absolute;
  top: 11vh; /* directly under the inventory button */
  right: 10px;
  width: 22.5vw;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  border: 1px solid black;
  border-radius: 8px;
  padding: 10px;
  background-color: white;
  z-index: 1000;
}

.hidden {
    display: none;
}



#buySellContainer {
    display: flex;
}

#buyButton, #sellButton {
    flex: 1;
    padding: 10px 0;
    font-size: 16px;
    border: 1px solid #aaa;
    background-color: #eee;
    cursor: pointer;
    margin: 0;
}

#shopSelection {
    max-height: 50vh;
    overflow-y: auto;
    margin-top: 10px;
}

#sell.hidden, #buy.hidden {
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/*========================*/

#sellItemsContainer {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 10px; /* space before footer */
}

#sellItems {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 10px; 
}

#sellItems button {
    border: 1px solid black;
    padding: 1.5vh;
    cursor: pointer;
    margin: 0;
    border-radius: 8px;
}

#sellItems button:hover{
    background-color: rgba(0, 153, 255, 0.486);
}

#SellItemDetailsContainer {
    padding: 0px;
    text-align: center;
    border-top: 1px solid black;
    padding-top: 10px;
    flex-shrink: 0;
}

#sell {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-height: 50vh;
}

.fish-item.selected {
  background-color: rgba(0, 153, 255, 0.486); /* or any color you like */
  color: darkgoldenrod; /* optional for contrast */
  font-weight: bold;
  border: 1px solid darkgoldenrod !important;
}

#shopCategories {
  display: flex;
  justify-content: space-between;
  gap: 2vh;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  margin-top: 10px;
}

#shopCategories > div {
  flex: 1;
  min-width: 0; /* Allows shrinking */
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f7f7f7;
  border: 1px solid #aaa;
  border-radius: 8px;
  padding: 10px;
}

.shopItem {
  text-align: center;
}

.shopItem button {
  font-size: 3vh;
  background: none;
  border: none;
  cursor: pointer;
  border: 1px solid black;
  padding: 1vh;
  border-radius: 8px;
}

.shopItem button:hover {
    background-color: rgba(0, 153, 255, 0.486);
}

.itemName {
    font-size: 4vh;
}


