.row {
  width: 200%;
  margin-bottom: 20px; /* Adds space between rows */
}

.product-row {
  display: flex;
  flex-wrap: wrap; /* Ensures items wrap to new rows if necessary */
  gap: 20px; /* Space between product cards */
   /* Distributes space evenly between cards */
}

.product-card {
  flex: 1 0 calc(25% - 20px); /* Four cards per row on large screens */
  max-width: calc(25% - 20px); /* Ensures consistent size */
  text-align: center;
  box-sizing: border-box; /* Ensures padding and border are included in width */
}

.product-card img {
  width: 100%; /* Makes image fill the card */
  height: auto; /* Maintains image aspect ratio */
  border-radius: 5px;
}

/* Media Query for Tablets (Two Cards Per Row) */
@media (max-width: 768px) {
  .product-card {
    flex: 1 0 calc(50% - 20px); /* Two cards per row */
    max-width: calc(50% - 20px);
    justify-content: center; /* Center the cards horizontally */
   align-items: center;
  }
}

/* Media Query for Mobile Screens (One Card Per Row) */
@media (max-width: 480px) {
  .product-row {
    display: flex; /* Enables flexbox for the row */
    flex-wrap: wrap; /* Allows wrapping to the next row */
    justify-content: center; /* Centers the cards horizontally */
    gap: 10px; /* Space between cards */
    margin: 0 auto; /* Centers the row in the container */
}

.product-card {
    flex: 1 0 45%; /* Two cards per row with slight spacing */
    max-width: 45%; /* Ensures each card stays within 45% width */
    box-sizing: border-box; /* Includes padding/borders in width calculation */
    text-align: center; /* Centers content within each card */
}
  h3 {
    font-size: 1.25rem; /* Adjust heading size for smaller screens */
  }
}






/* Styling for Category Links */
.design-categories {
  text-align: center; /* Centers the text content */
 margin-bottom: 20px;
}

.category-link {
  color: #007BFF;
   text-decoration: none;
   font-size: 1rem;
}

.category-link:hover {
  text-decoration: underline;
}

/* Styling for Design Galleries */
.design-gallery {
  display: none; /* Hidden by default */
  margin-top: 20px;
}

.design-gallery.active {
  display: block; /* Shown when active */
}

.gallery-content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-content img {
  max-width: 200px;
  border-radius: 5px;
}
#logo-div {
   display: none; /* Hidden by default */
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.5); /* Black background with transparency */
   justify-content: center;
   align-items: center;
   z-index: 9999;
 }
 .gallery-content {
   background-color: white;
   padding: 20px;
   border-radius: 10px;
   text-align: center;
 }
 .close-btn {
   position: absolute;
   top: 10px;
   right: 20px;
   font-size: 24px;
   color: black;
   cursor: pointer;
 }

 #pouch-div {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with transparency */
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  #bag-div {
     display: none; /* Hidden by default */
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(0, 0, 0, 0.5); /* Black background with transparency */
     justify-content: center;
     align-items: center;
     z-index: 9999;
   }
   #box-div {
      display: none; /* Hidden by default */
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Black background with transparency */
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }
    #label-div {
       display: none; /* Hidden by default */
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background-color: rgba(0, 0, 0, 0.5); /* Black background with transparency */
       justify-content: center;
       align-items: center;
       z-index: 9999;
     }
     #bucket-div {
        display: none; /* Hidden by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Black background with transparency */
        justify-content: center;
        align-items: center;
        z-index: 9999;
      }
      #social-div {
         display: none; /* Hidden by default */
         position: fixed;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         background-color: rgba(0, 0, 0, 0.5); /* Black background with transparency */
         justify-content: center;
         align-items: center;
         z-index: 9999;
       }
  .product-card img {
  max-width: 100%;
  height: auto;
}
