body {
    font-family: 'Lato';
    font-size: 20px;
    margin: 0;
    padding: 0;
    /*backdrop-filter: blur(10px);*/
    /*-webkit-backdrop-filter: blur(10px);*/
    background-attachment: fixed;
}
  
.container2 {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

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

.navigation a {
    color: black;
}

.navigation {
    color: black;
}    

main {
    /*padding: 1.49% 0;*/
    border-radius: 8px;
    background-color: transparent;
    margin-top: -6px;
}  

.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);
  }

.gradient-line2 {
    border: 0;
    border-top: 3px solid;
    border-image: linear-gradient(to right, #2F2B8C, #04BFBF) 1;
    height: 0;
    width: 90%;
    margin: 20px auto;
}

.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;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 20px 0;
}

.category-select-wrapper{
    flex: 1;
    display: flex;
}

.search-wrapper {
    flex: 0;
    display: flex;
}

.category-select-wrapper label,
.search-wrapper label {
    font-weight: bold;
    margin-bottom: 5px;
    display: none;
}


#category-select, 
#search-bar {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    background-color: transparent;
    color: #757575;
}

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

#search-button {
    padding: 5px 14px;
    font-size: 16px;
    color: #fff;
    background-color: #2F2B8C;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#search-button:hover {
    background-color: #007a92;
}

#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: 50px 165px;
    margin-right: 40%;
    padding-bottom: 0px;
    padding-top: 25px;
}

.categories {
    display: flex;
    justify-content: space-between;
    margin: 2% 11%;
}

.product-item {
    padding: 15px;
    margin: 9px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(210, 210, 210, 0.66);
}


.product-item img {
    width: 76%;
    height: 39%;
    object-fit: cover;
    padding: 0;
    box-sizing: border-box;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-radius: 100%;
    background: transparent;
}

.product-item:hover img {
    height: 100%;
    transform: scale(1.65) translateY(-38px);
}

.product-item:hover div.imgcontainer {
    background-color: rgba(255, 255, 255, 1);
    border-radius: 100%;
    height: 116px;
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 8px 16px rgba(47, 43, 140, 0.3);
    width: 50%;
    text-align: center;
    justify-content: flex-start;
    display: inline;
}

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0px;
    justify-items: center;
    margin: 0% 11%;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2F2B8C; 
    margin-bottom: 10px;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.product-item:hover h3{
    color: #04BFBF;
    border-radius: 5px;
    transform: scale(1.05);
}


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


.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-item:hover {
    padding: 15px;
    margin: 9px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgb(255 252 252 / 66%);
    background-color: rgba(255, 255, 255, 0.789);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-attachment: fixed;
    box-shadow: 0px 2px 5px 3px rgba(47, 43, 140, 0.5); /* Default fallback */
    animation: gradient-box-shadow 1.5s infinite linear; /* Trigger animation */
}

@keyframes gradient-box-shadow {
    0% {
        box-shadow: 0px 2px 5px 3px rgba(47, 43, 140, 0.5), 
                    0px 2px 15px 5px rgba(4, 191, 191, 0.3);
    }
    50% {
        box-shadow: 0px 2px 5px 3px rgba(4, 191, 191, 0.5), 
                    0px 2px 15px 5px rgba(47, 43, 140, 0.3);
    }
    100% {
        box-shadow: 0px 2px 5px 3px rgba(47, 43, 140, 0.5), 
                    0px 2px 15px 5px rgba(4, 191, 191, 0.3);
    }
}


.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}


.product-item img {
    width: 76%;
    height: 39%;
    object-fit: cover;
    padding: 0;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 100%;
}

.product-info {
    padding: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    main {
      border-radius: 8px;
      margin-top: -29px;
    }
    
    .categories {
      display: flex;
      flex-direction: column;
      margin: 2% 6%;
    }

    .category-select-wrapper {
        width: 100%;
    }
  
    .product-header h1 {
      font-size: 30px;
      font-weight: 900;
      margin: 0;
      padding: 21px 27px;
      padding-bottom: 0;
    }
  
    label {
      display: none;
    }
  
    select#category-select {
      width: 100%;
    }
  
    #search-bar {
      width: 100%;
    }
  
    .search-wrapper {
      flex-direction: column;
      width: 100%;
    } 
  
    #search-button {
      margin-bottom: 0;
    }
    .product-grid {
       grid-template-columns: repeat(2, 1fr);
       margin: 3% 4%;
       gap: 5px;
    }
    .product-item img {
      width: 100%;
      height: 150px;
    }
  }