.section-title {
  margin: var(--space-3);
  font-size: 32px;
  font-family: var(--font-playfair);
}

.product-card-container {
  display: flex;
  flex: 0 0 var(--product-card-small);
  flex-direction: column;
  align-items: center;
  width: var(--product-card-small);
  padding: var(--space-1);
  margin: 0 18px
}

body[data-page="product"] .product-card-small {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: var(--space-3);
  width: var(--product-card-small);
  flex: 0 0 var(--product-card-small);
  border-radius: 12px;
  background-image: var(--product-hover-image);
  background-position: center;
  background-size: contain;
}

body[data-page="product"] .product-carousel::-webkit-scrollbar {
  display: none;
}

body[data-page="product"] .product-carousel {
  position: relative;
  display: flex;
  justify-content: start;
  flex-direction: row;
  height: auto;
  overflow-x: scroll;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
  padding-top: var(--space-1);
  z-index: 3;
  box-shadow: 
    0 16px 48px -12px rgba(0, 0, 0, 0.35),
    0 4px 12px -12px rgba(0, 0, 0, 0.2);
}

.product-img {
  width: 100%;
  border-radius: 10px;
  transition: 0.4s;
}

.product-img:hover {
  opacity: 0;
  cursor: pointer; 
}

.card-info {
/*  margin-left: var(--space-3); */
  width: 100%;
  text-wrap: nowrap;
  font-family: var(--font-playfair);
  font-size: 18px;
}

.product-type {
  margin-bottom: var(--space-1);
}

.scent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: var(--space-1);
}

.scent-column {
  justify-self: start;
}

.price-column {
  justify-self: end;
}

.shop-button-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
/*  margin-bottom: var(--space-1);*/
  padding: 3px;
  border: 1px solid black;
  cursor: pointer;
  overflow: hidden;
}

.shop-button-container::after {
  position: absolute;
  transform: translateY(100%);
  background-color: #FFE6E6;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: transform .4s;
  content: "";
}

.shop-button-container:hover::after {
  transform: translateY(0);
}

@media (max-width: 1000px) {
  body[data-page="product"] .product-carousel {
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
}
