

label {
  display: block;
  margin-bottom: 5px;
}

#colorImages {
  text-align: center;
  display: flex;
  justify-content: space-between;
margin-left: auto;
margin-right: auto;
max-width: 50%;
}

.colorOption {
  //display: inline-block;
  text-align: center;
  border: 1px solid transparent; /* Initially, no border */
  margin-right: 10px; /* Adjust spacing between images */

  display: flex;
  flex-direction: column;
}

.colorOption.selected {
  border: 3px solid white; /* Apply border color for the selected color */
}

#priceList {
  display: flex;
  flex-wrap: wrap;
}

.product {
  width: 25%; /* Adjust width and margins as needed */
  margin-bottom: 20px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  padding: 10px; /* Adjust padding as needed */
  text-align: center; /* Center content within each product box */
  overflow: hidden; /* Hide overflowing content */
  word-wrap: break-word; /* Allow word wrapping */
  background: white;
  position: relative;
  height: 350px; /* Set a height to demonstrate alignment */
  align-items: center; /* Center vertically */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.productImage {
  width: 75px;
  height: auto;
}

.description {
  flex-direction: column;
  justify-content: flex-end; /* Align items to the bottom */
}

.image-container {
  display: flex;
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
  margin-right: 10px; /* Adjust margin as needed */
}

#priceDetails {
  max-width: 300px;
  margin: 0 auto;
  padding: 20px;
background-color: rgba(249, 249, 249, 0.4);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
text-align: right;
}

/* Media query for smaller screens (mobile) */
@media screen and (max-width: 768px) {
  .product {
    width: calc(50% - 20px); /* Adjust width for smaller screens */
  }

  .productContainer {
    margin: 0 -5px; /* Adjust margins for smaller screens */
  }

  #colorImages {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
margin: 0;
  }

  .colorOption {
 flex: 0 0 50%;
}
}

.quantityInput {
  font-size: 16px; /* Adjust the font size as needed */
  width: 40%; /* Adjust the width as needed */
  padding: 8px; /* Adjust padding as needed for better appearance */
  box-sizing: border-box; /* Include padding in the width */
  text-align: center;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield; /* Show as regular text input in Firefox */
}

p.price {
  font-size: 80%;
 margin-top: 0;
}
