.header-wrapper {
  position: relative;
  height: 389px;
  overflow: hidden;
}

.header-wrapper .image-overlay {
  padding-top: 110px;
}

main {
  display: flex;
  flex-direction: column;

  background-color: #fff;
}

#products {
  background-color: white;
  padding: 48px 5% 120px 5%;
  /* margin-bottom: 128px; */
}

#products .title {
  font-size: 32px;

  color: #003a66;
}

.products-list {
  width: 100%;
  /* height: 100%; */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 25px;
  margin-bottom: 48px;
}

#products-filter {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 21px !important;
}

#products-filter .card-header,
#products-filter-mobile .card-header {
  font-weight: 500;
  font-size: 21px;
  background-color: #003a66;
  color: white;
}

#products-filter .card-body,
#products-filter-mobile .card-body {
  height: 350px;
  overflow: auto;
}

#products-filter .card-body {
  height: auto;
}

#products-filter-mobile .card-body {
  height: 350px;
}

/* Sheet mobile */
#products-filter-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 70vh;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 9999;
  display: none;
  overflow-y: auto;
}

/* Mostrar sheet quando checkbox marcado */
#toggle-filters:checked~#products-filter-mobile {
  display: block;
  transform: translateY(0);
}

#products-filter-mobile .form-check-input,
#products-filter-mobile .form-check-label {
  pointer-events: auto;
}

.product {
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-radius: 21px !important;
  transition: all 0.3s;
  cursor: pointer;
  gap: 18px;
}

.product:hover {
  transform: scale(1.02);
}

.variation-image {
  width: 45px;
  height: 45px;
}

.thumb {
  width: 45px;
  height: 45px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.thumb img {
  width: 100%;
  height: 100%;
  position: relative;
  object-fit: none;
  object-position: center;
  image-rendering: auto;
}

.thumb img.tall {
  top: -20px;
}

.product-image,
.variation-image {
  border-radius: 12px;
  object-fit: cover;
  object-position: center 20%;
}

.form-check {
  line-height: 16px;
}

.product-image {
  width: 200px;
  height: 200px;
}

.product-title,
#thumb-toast-name {
  text-align: center;
  color: #003a66;
  font-size: 21px;
  line-height: 24px;
}

.linhas,
.compositions {
  font-size: 16px;
}

.variations-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: gray;
  padding: 0px 8px 0px 8px;
}

#thumb-toast-name {
  font-size: 14px;
}

#thumb-toast-details {
  font-size: 10px;
}

.page-link {
  background-color: transparent;
  color: #003a66;
  border: none;
}

.page-link.current,
.page-link:hover,
.page-item.active>.page-link {
  background-color: transparent;
  color: #003a66;
  font-weight: bold;
}

.form-check-input {
  vertical-align: middle;
  margin: 0;
  /* remove margens default do bootstrap */
}

@media (max-width: 990px) {
  #products {
    padding: 48px 2% 60px 2%;
  }

  .product {
    width: 100%;
  }
}