/* Prices Page Styles */
.prices-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

.prices-header {
  text-align: center;
  margin-bottom: 2rem;
}

.prices-header h1 {
  color: #D11317;
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
}

.prices-header h2 {
  font-size: 1.8rem;
  margin-top: 0;
  font-weight: 500;
}

.prices-intro {
  margin-bottom: 2rem;
  background-color: #f8f8f8;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.prices-nav {
  display: flex;
  justify-content: space-around;
  margin: 2rem 0;
  position: sticky;
  top: 5.8rem; /* Match navbar height */
  background-color: #fdfdfd;
  padding: 1rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1;
}

.prices-nav a {
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.prices-nav a:hover,
.prices-nav a:focus {
  background-color: #D11317;
  color: white;
  text-decoration: none;
}

.prices-section {
  margin-bottom: 3rem;
  scroll-margin-top: 9rem;
}

.prices-section h3 {
  color: #D11317;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #D11317;
  padding-bottom: 0.5rem;
}

/* Table Styles */
.prices-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.prices-table th {
  background-color: #D11317;
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.prices-table th:last-child {
  text-align: right;
  padding-right: 1.5rem;
}

.prices-table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.prices-table tr:last-child td {
  border-bottom: none;
}

.prices-table td:last-child {
  text-align: right;
  font-weight: 600;
  padding-right: 1.5rem;
}

.prices-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.prices-table tr:hover {
  background-color: #f1f1f1;
}

/* Discount Section */
.discounts-list {
  list-style-type: none;
  padding: 0;
}

.discounts-list li {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: flex-start;
}

.discounts-list li:last-child {
  border-bottom: none;
}

.discounts-list li::before {
  content: "•";
  color: #D11317;
  font-size: 1.5rem;
  margin-right: 0.5rem;
  line-height: 1.3rem;
}

.note-box {
  background-color: #f1f1f1;
  border-left: 4px solid #D11317;
  padding: 1.5rem;
  margin-top: 2rem;
  border-radius: 0 8px 8px 0;
}

.external-link {
  display: inline-block;
  background-color: #D11317;
  color: white;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.external-link:hover,
.external-link:focus {
  background-color: #b01014;
  text-decoration: none;
  color: white;
}

/* Location Toggle */
.location-toggle {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
  padding: 0.5rem;
  background-color: #f8f8f8;
  border-radius: 50px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.location-toggle a {
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s ease;
  color: #666;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  display: inline-block;
  flex: 1;
  text-align: center;
}

.location-toggle a.active {
  background-color: #D11317;
  color: white;
}

.location-toggle a:hover {
  text-decoration: none;
  background-color: rgba(209, 19, 23, 0.1);
}

.location-toggle a.active:hover {
  background-color: #D11317;
  color: white;
}

.prices-table-container {
  /* display will be controlled by JavaScript */
  padding: 1rem 0;
}

/* Remove the active state from CSS - let JS handle it */
/* .prices-table-container.active {
  display: block;
} */

/* Make sure active containers are visible when JS adds the class */
.prices-table-container.active {
  /* Let JavaScript handle display property */
}

/* Responsive Design */
@media only screen and (max-width: 992px) {
  .prices-nav {
    flex-wrap: wrap;
  }
  
  .prices-nav a {
    margin: 0.3rem;
  }
}

@media only screen and (max-width: 768px) {
  .prices-header h1 {
    font-size: 2.2rem;
  }
  
  .prices-header h2 {
    font-size: 1.5rem;
  }
  
  .prices-table th,
  .prices-table td {
    padding: 0.8rem;
  }
  
  .prices-nav {
    position: static;
    padding: 0.5rem;
  }
}

@media only screen and (max-width: 576px) {
  .prices-table {
    display: block;
    overflow-x: auto;
  }
  
  .prices-header h1 {
    font-size: 1.8rem;
  }
  
  .prices-header h2 {
    font-size: 1.3rem;
  }
  
  .prices-section h3 {
    font-size: 1.4rem;
  }
  
  .prices-nav a {
    font-size: 1rem;
    padding: 0.4rem 0.7rem;
  }
  
  .prices-intro,
  .note-box {
    padding: 1rem;
  }
}
