  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    margin: 50px;
  }
  
  .product-card {
    background-color: #fdfefe;
    box-shadow: 8px 12px 30px #b3b3b3;
    color: #919495;
    text-align: left;
    position: relative;
    padding: 15px;
    transition: transform 0.2s ease;
  }
  
  .product-card:hover {
    transform: translateY(-5px);
  }
  
  .product-details h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: 400;
    letter-spacing: -1px;
  }
  
  .product-details p {
    color: #333;
    margin-bottom: 20px;
    font-size: 0.9em;
    font-weight: 300;
  }
  
  .product-details button {
    border: none;
    outline: 0;
    display: inline-block;
    color: #D4D700;
    background-color: #000;
    text-align: center;
    cursor: pointer;
    border: 5px solid black;
    font-size: 0.8em;
    letter-spacing: 2px;
    font-weight: 400;
    padding: 10px 20px;
  }
  
  .product-details button:hover {
    background-color: transparent;
    color: #55A630;
  }
  
  .product-image {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .product-image img {
    max-width: 100%;
    height: auto;
  }
  
  @media (max-width: 700px) {
    .product-grid {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
  }
  
  @media (max-width: 500px) {
    .product-details h1 {
      font-size: 1.5em;
    }
  
    .product-details p {
      font-size: 0.8em;
    }
  
    .product-details button {
      font-size: 0.7em;
    }
  }
  .page-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin: 40px 0; 
    color: white;
  }
  .gerjilogo{
    height: 100px;
    width: 100px;
  }
  #page-header {
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px; /* Add padding to make room for the line */
  }

  .header-line {
    width: 50px; /* Adjust the width to your preference */
    height: 2px; /* Thickness of the line */
    background-color: white; /* Color of the line */
    margin: 0 auto 40px auto; /* Centers the line and adds margin below */
  }

  .filter-container {
    text-align: center;
    margin: 20px 0;
  }
  
  .filter-container select {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ee1e46;
  }
  
  /* Responsive */
  @media (max-width: 600px) {
    .filter-container select {
      width: 100%;
      padding: 12px;
    }
  }
  .dropdown-text{
    font-size: 0.8em;
    color: white;
  }

  /* Special Edition Banner */
.special-edition-banner {
  background-color: gold;
  color: black;
  font-size: 14px;
  font-weight: bold;
  padding: 5px;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  border-radius: 3px;
}

/* Limited Edition Banner */
.limited-edition-banner {
  background-color: red;
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 5px;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  border-radius: 3px;
}
/* Out of Stock */
.out-of-stock-banner {
  background-color: grey;
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 5px;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  border-radius: 3px;
}

.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7); /* Darkens the background */
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-content {
  background-color: #f9f9f9;
  border-radius: 10px;
  display: flex;
  width: 600px;
  position: relative;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
  animation: popupFadeIn 0.3s ease-in-out;
  flex-wrap: wrap;
}

.popup-left {
  flex: 1;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  justify-content: center; /* Vertically center the content */
  align-items: center;
}

.popup-right {
  flex: 1;
  padding: 20px;
}

.popup-jersey-image {
  width: 150px;
  height: 150px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  cursor: pointer;
}

.order-btn {
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.order-btn:hover {
  background-color: #218838;
}

.blur-background {
  filter: blur(5px);
  pointer-events: none; /* Prevent interaction with background elements */
}

/* Prevent body from scrolling when popup is open */
.no-scroll {
  overflow: hidden;
}
/* Snackbar styling */
#snackbar {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: white;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

#snackbar.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
  from { bottom: 0; opacity: 0; }
  to { bottom: 30px; opacity: 1; }
}

@keyframes fadeout {
  from { bottom: 30px; opacity: 1; }
  to { bottom: 0; opacity: 0; }
}
#selectedJerseyTitle{
  color: #000;
}
#selectedJerseyPrice{
  color: #000;
}
@media (max-width: 768px) {
  .popup-content {
    flex-direction: column; /* Stack content vertically */
    width: 100%; /* Full width */
    max-width: 90%; /* Ensures responsiveness */
  }
  
  .popup-left, .popup-right {
    padding: 10px;
    text-align: center;
  }
  
  .popup-jersey-image {
    width: 100px; /* Reduce size for mobile */
    height: 100px;
  }

  .order-btn {
    width: 100%; /* Make the button full width */
  }
  
  #selectedJerseyTitle, #selectedJerseyPrice {
    font-size: 1.2rem; /* Slightly reduce font size on smaller screens */
  }
}

/* Specific styles for very small devices like phones */
@media (max-width: 480px) {
  .popup-content {
    padding: 10px; /* Reduce padding */
    width: 100%;
    max-width: 95%;
  }

  .popup-jersey-image {
    width: 80px; /* Further reduce image size */
    height: 80px;
  }
  
  .order-btn {
    padding: 10px;
    font-size: 1rem; /* Make text smaller */
  }

  #selectedJerseyTitle, #selectedJerseyPrice {
    font-size: 1rem;
  }
}
button:disabled {
  background-color: lightgrey;
  color: white; 
  cursor: not-allowed; 
  border: none;
}