/* |--↓-↓-↓ Start gallery.html ↓-↓-↓--| */
#main-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#gallery-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 95vw;
  gap: 20px;
}

#product-carousel-feature h2 {
  font-size: 1.875rem;
  text-align: center;
  text-shadow: var(--text-shadow-layered);
  color: var(--color-destin-sand);
  background-color: var(--color-mid-green);
  border: solid var(--color-destin-sand);
  border-radius: 10px;
  padding-left: 20px;
  transform: translateX(30px);
  box-shadow: var(--shadow-medium);
}

#product-category-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  width: 65vw;
}

#product-carousel {
  display: flex; /* Flexbox layout for horizontal row */
  gap: 20px; /* Space between product cards */
  overflow-x: auto; /* Enable horizontal scrolling */
  scroll-behavior: smooth; /* Smooth scrolling for buttons */
  padding: 10px; /* Optional padding inside the carousel */
  white-space: nowrap; /* Prevent wrapping to a new row */
  transform: translateX(4vw);
}

.product-card {
  display: inline-block; /* Ensure cards stay in a row */
  min-width: 150px; /* Set the card size */
  max-width: 200px;
  max-height: auto;
  flex: 0 0 auto; /* Prevent resizing of cards */
  border: 1px solid #ddd; /* Optional border */
  border-radius: 8px;
  padding: 10px;
  margin-left: 20px;
  align-items: center;
  text-align: center;
  white-space: wrap;
  background-color: var(--color-destin-sand); /* Optional background */
}

.product-card img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  align-items: center;
}

#scroll-left, #scroll-right {
  cursor: pointer; /* Show pointer to indicate clickable buttons */
  background-color: var(--color-dark-green); /* Dark green background */
  color: white;
  border: none;
  padding: 10px;
  border-radius: 50%;
  font-size: 1.5rem;
  transform: translateX(4.5vw);
}

@media (max-width: 768px) {
  .product-card {
    min-width: 150px;
    max-width: 200px;
  }

  #product-carousel {
    gap: 5px;
  }
}


#main-gallery #right-aside {
  width: 25vw;
}

#main-gallery #right-aside h2 {
  font-size: 1.675rem;
  background-color: var(--color-light-teal);
  color: var(--color-dark-green);
  border: solid var(--color-dark-green);
  border-radius: 5px;
  padding: 0 5px;
  white-space: nowrap;
  box-shadow: var(--shadow-strong);
}

#main-gallery .categories ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  list-style-type: none;
}

#main-gallery .categories ul li {
  border: solid var(--color-dark-green);
  border-radius: 5px;
  background-color: var(--color-mid-green);
  margin-top: 20px;
  margin-right: 35px;
  min-width: 100%;
  box-shadow: var(--shadow-strong);
}

#main-gallery .categories a {
  color: var(--color-dark-green);
  font-size: 1.3rem;
}

button#cart-details {
  background-color: var(--color-destin-sand);
  border: solid var(--color-dark-green);
  border-radius: 15px;
  color: var(--color-dark-green);
  font-weight: bold;
  font-size: 1.4em;
  text-align: center; /* Align text horizontally */
  height: 30px; /* Adjust height to fit text comfortably */
  padding: 0 15px; /* Horizontal padding for spacing */
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-subtle);
  transform: translateX(-15vw) translateY(-5vh);
  transition: background-color 0.3s ease, color 0.3s ease;
  display: flex; /* Flexbox ensures content alignment */
  align-items: center; /* Center text vertically */
  justify-content: center; /* Center text horizontally */
}

button#cart-details:hover {
  background-color: var(--color-dark-green);
  color: var(--color-destin-sand);
  border: solid var(--color-destin-sand);
  border-radius: 15px;
}

.product-card {
  box-shadow: var(--shadow-subtle);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.add-to-cart-btn {
  cursor: pointer;
  background-color: var(--color-destin-sand);
  border: solid var(--color-dark-green);
  color: var(--color-dark-green);
  font-weight: bold;
  border-radius: 5px;
  box-shadow: var(--shadow-strong);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.add-to-cart-btn:hover {
  background-color: var(--color-dark-green);
  border: solid var(--color-destin-sand);
  color: var(--color-destin-sand);
  border-radius: 5px;
  box-shadow: var(--shadow-strong);
}
/* |--↑-↑-↑ End gallery.html ↑-↑-↑--| */