html {scroll-behavior: smooth;}

body, h1, h2, h3, h4, h5, h6, .w3-wide {font-family: "Montserrat", sans-serif;}






/*.w3-row-padding {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
}*/

.product-card {
  display: flex;
  flex-direction: column;  /* Ensure content is stacked vertically */
  height: 100%;
  min-height: 350px;
  margin-bottom: 20px;
  flex: 1 1 calc(33.333% - 20px);  /* Make the card take up 1/3 of the row minus the gap */
  box-sizing: border-box;  /* Include padding and margin in width calculation */
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.w3-col {
  display: flex;
  flex: 1 1 calc(33.333% - 20px);  /* 1/3 width minus the gap */
  min-width: 250px;  /* Minimum width for responsiveness */
  max-width: 33.333%;  /* Ensure cards don't exceed 1/3 of the row */
  box-sizing: border-box;  /* Include padding/border in the width */
}




@media screen and (max-width: 768px) {
  .w3-col {
    flex: 1 1 100%;
    max-width: 100%;
  }
}



.basket {
  position: fixed;
  top: 220px;
  right: 5px;
  opacity: 0.6;
}

.hover-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.hover-description {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  padding: 10px;
  box-sizing: border-box;
}

.hover-container:hover .hover-description {
  opacity: 1;
}

.header {
  background-color: #f1f1f1;
  padding: 30px;
  text-align: center;
}

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

/*.topnav {
  background-color: #c0dbeb;
  position: sticky;
  top: 0;
  min-height: 42px;
  z-index: 1000;
} */

.topnav a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 8px;
  text-decoration: none;
  font-size: 17px;
}

.topnav .icon {display: none;}

.dropdown {
  float: left;
}

.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: black;
  padding: 8px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px;
  display: block;
  text-align: left;
}

.topnav a:hover,
.dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child),
  .dropdown .dropbtn {
    display: none;
  }

  .topnav a.icon {
    float: right;
    display: block;
  }

 /*.topnav.responsive {
    position: sticky;
  }*/

  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  .topnav.responsive .dropdown {
    float: none;
  }

  .topnav.responsive .dropdown-content {
    position: relative;
  }

  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}

.product-container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

#image-slideshow img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  display: block;
  margin: auto;
}

#checkout-form { display: none; }