body {
  font-family: 'Lato';
  font-size: 20px;
  margin: 0;
  padding: 0;
  background: white;
}

.header {
  width: 100%;
  padding: 0px;
  /* padding-bottom: 31px; */
  background-color: white;
}

.navigation a {
  color: black;
}

.navigation {
  color: black;
}

main {
  /* padding: 8.49% 0; */
  border-radius: 8px;
  background-color: white;
}

.scroll-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  background-color: #2F2B8C;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  display: flex;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
  animation: bounce 2s infinite;
}

.scroll-to-top-btn:hover {
  background-color: #1d1a6d;
}

.whatsapp-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: #25D366;
  color: white;
  padding: 15px 16px;
  border-radius: 50%;
  font-size: 24px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  animation: pop-in 1s ease-out, bounce 2s infinite;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.container2 {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.categories select,
.categories input {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 30%;
  box-sizing: border-box;
  height: 40px;
}

.category-select-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.categories {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  margin: 2% 0;
}

.categories {
  margin-top: 20px;
}

.search-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

#search-bar {
  width: 300px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#search-button {
  padding: 8px 15px;
  background: #2F2B8C;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-size: 20px;
  font-family: 'Lato';
  cursor: pointer;
}

#search-button:hover {
  background-color: #2e2b8cdc;
}

#search-bar {
  height: 40px;
}

select#category-select {
  width: 60%;
}

.catalog-container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-header {
  text-align: left;
  margin-bottom: 20px;
}

.product-header h1 {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(to right, #2F2B8C 30%, #04BFBF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: left;
  margin: 0;
  padding: 49px 113px;
  margin-right: 59%;
  margin-left: 3%;
  padding-bottom: 0px;
  padding-top: 25px;
}

.categories {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  margin: 2% 8%;
}

.product-item {
  border-radius: 8px;
  overflow: hidden;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  border: 1px solid;
}

.product-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background-color: #fff;
  padding: 0;
  box-sizing: border-box;
  border: 0px solid white;
}

.product-info {
  padding: 15px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  box-sizing: border-box;
}


.shortDesc {
  font-size: 15px !important;
  color: #474747 !important;
}

.product-info p {
  font-size: 12px;
  color: #666;
  line-height: 2.1;
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 5%;
  padding: 0px;
  justify-items: center;
  margin: auto 11%;
  margin-bottom: 60px;
}

.product-item {
  position: relative;
  display: inline-block;
  margin: 10px;
  padding: 10px;
  border: 2px solid #000000;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.product-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(47, 43, 140, 0.5), 0 4px 8px rgba(4, 191, 191, 0.5);
}

.product-item a {
  text-decoration: none;
}

.product-item img {
  transition: transform 0.3s ease;
}

.product-item:hover .product-info h3 {
  color: #2F2B8C;
}

.product-item:hover {
  background-color: #ffffffcb;
}

.product-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.product-info p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

.product-info a {
  text-decoration: none;
  color: #007BFF;
  font-weight: 600;
  padding: 8px 16px;
  background-color: #f4f4f4;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

.product-info a:hover {
  background-color: #007BFF;
  color: white;
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  main {
    border-radius: 8px;
    margin-top: -23px;
  }

  .product-header h1 {
    font-size: 30px;
    padding: 20px 20px 0px 20px;
    margin: 0;
  }

  .product-item img {
    width: 100%;
    height: 100px;
  }

  .product-info {
    padding: 2% 5%;
    flex-grow: -1;
  }

  .product-grid {
    column-gap: 10%;
    row-gap: 0;
    margin: 5% 7%;
  }

  .product-info p {
    font-size: 12px;
    color: #666;
    line-height: normal;
  }
}