/* Sales Section */
.sales-section {
  max-width: 90% !important; /* Adjusts to be in line with other elements */
  max-width: 800px; /* Set a slightly smaller max width */
  margin: 30px auto;
  padding: 20px;
  background-color: #3e3e3e;
  border-radius: 5px;
  text-align: center;
  box-sizing: border-box; /* Ensures padding doesn't overflow */
}
  
  .sales-section h1 {
    font-size: 26px;
    font-weight: bold;
    color: #ffd700; /* Gold color */
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 2px solid #d9534f;
    padding-bottom: 5px;
  }
  
  .sales-list {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items */
    gap: 20px; /* Add space between sales */
  }
  
  .sale-item {
    width: auto !important; /* Prevents forced full width */
    max-width: 100% !important; /* Ensures it stays responsive */
    margin: auto; /* Centers the sale-item */
}
  
  .sale-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    border-radius: 5px;
    margin-bottom: 10px;
  }
  
  .sale-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffd700;
    text-transform: uppercase;
  }
  
  .sale-description {
    font-size: 16px;
    color: white;
    margin: 5px 0;
  }
  
  .sale-date {
    font-size: 14px;
    color: white;
    margin: 5px 0;
    font-style: italic;
  }
  
  .sale-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #d9534f;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  
  .sale-link:hover {
    background-color: #c9302c;
  }
  /* Sale Button */
.sale-button {
  display: inline-block;
  background-color: #d9534f; /* Red button */
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s;
  text-align: center;
}

.sale-button:hover {
  background-color: #c9302c; /* Darker red on hover */
  transform: scale(1.05);
}
  /* Responsive Design */
  @media (max-width: 768px) {
    .sales-section {
      max-width: 90%;
    }
  
    .sales-list {
      flex-direction: column;
      align-items: center;
    }
  
    .sale-title {
      font-size: 18px;
    }
  }
  /* Sale Selector */
.sale-selector {
    text-align: center;
    position: sticky;
    top: 50px;
    background-color: #3e3e3e;
    padding: 10px;
    z-index: 1000;
  }
  
  .sale-selector label {
    font-size: 16px;
    font-weight: bold;
    color: white;
    margin-right: 10px;
  }
  
  .sale-selector select {
    padding: 5px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: white;
    cursor: pointer;
  }
  /* See All Active Sales Link */
.see-all-sales {
    text-align: center;
    margin: 20px 0;
  }
  
  .see-all-sales a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff; /* Blue color */
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
  }
  
  .see-all-sales a:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: scale(1.05);
  }
 /* Sales Navigation (Back Button & See All Active Sales Link) */
.sales-navigation {
    display: flex;
    justify-content: center; /* Center items horizontally */
    align-items: center;
    gap: 20px; /* Space between buttons */
    margin: 20px auto;
    padding: 10px;
    flex-wrap: wrap; /* Allows items to stack on smaller screens */
  }
  
 /* Back Button */
 .back-button {
  padding: 8px 12px;
  text-decoration: none;
  background-color: #007bff;
  color: white;
  border-radius: 5px;
}
  
  .back-button:hover {
    background-color: #555;
    transform: scale(1.05);
  }
  
  /* Mobile Optimization */
  @media (max-width: 768px) {
    .sales-navigation {
      flex-direction: column; /* Stack buttons vertically */
      gap: 10px; /* Reduce space */
      text-align: center;
    }
  }
  /* Promo Section */
.promo-section {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    background-color: #3e3e3e;
    border-radius: 5px;
    text-align: center;
  }
  
  .promo-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .promo-item {
    padding: 15px;
    width: 100%;
    max-width: 320px;
    background-color: #444;
    border-radius: 5px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  }
  
  .promo-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    border-radius: 5px;
    margin-bottom: 10px;
  }
  
  .promo-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffd700;
    text-transform: uppercase;
  }
  
  .promo-description {
    font-size: 16px;
    color: white;
    margin: 5px 0;
  }
  
  .promo-date {
    font-size: 14px;
    color: white;
    margin: 5px 0;
    font-style: italic;
  }
  
  .promo-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #d9534f;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  
  .promo-link:hover {
    background-color: #c9302c;
  }
  
  /* Mobile Optimization */
  @media (max-width: 768px) {
    .promo-section {
      max-width: 90%;
    }
  
    .promo-list {
      flex-direction: column;
      align-items: center;
    }
  
    .promo-title {
      font-size: 18px;
    }
  }
  /* Center the Jump to Promo selector */
/* Ensure Jump to Promo is centered */
/* Center the Promo Selector */
/* Promo Selector (Keep Label & Dropdown on the Same Line) */
.promo-selector {
  display: flex;
  align-items: center;
}
  
  .promo-selector label {
    font-size: 16px;
    font-weight: bold;
    color: white;
    margin: 0; /* Remove bottom margin to align properly */
  }
 /* Style dropdown */
 .promo-selector select {
    padding: 8px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: white;
    cursor: pointer;
    text-align: center;
    width: 250px; /* Keep a uniform width */
  }
  
  /* Ensure the Active Promo Codes title is centered */
  .promo-section h1 {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: #ffd700; /* Gold for contrast */
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 2px solid #d9534f;
    padding-bottom: 5px;
    display: block;
    width: 100%;
    text-align: center;
  }
/* Promo Navigation (Back Button & Promo Selector on the Same Line) */
.promo-navigation {
  display: flex;
  justify-content: center; /* Center everything horizontally */
  align-items: center; /* Align items vertically */
  width: 100%; /* Ensure full width */
}
.promo-nav-container {
  display: flex;
  align-items: center; /* Vertically align the back button and dropdown */
  gap: 20px; /* Adds spacing between back button and dropdown */
}
/* Mobile Optimization */
@media (max-width: 768px) {
    .promo-navigation {
      flex-direction: column; /* Stack Back button and Promo Selector */
      gap: 10px;
    }
  
    .promo-selector {
      flex-direction: column; /* Stack label and dropdown for smaller screens */
      align-items: center;
    }
  }
  .see-all-promos a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff; /* Blue color */
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
  }
  
  .see-all-promos a:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: scale(1.05);
  }
  .main-camo-list-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    margin-bottom: 20px; /* Add space below */
    margin-top: 10px; /* Add space below */
}

.main-camo-list-button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.main-camo-list-button:hover {
    background-color: #0056b3;
}
/* Popup Background */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}


