/* ===========================
   CSS Variables
   =========================== */
.pricing {
  --card-bg: #6f5a56;
  --featured: #5876d9;
  --chip: #fff;
  --chip-active: #ff7a45;
}


/* ===========================
   Toolbar & Controls
   =========================== */
.pricing .toolbar {
width: fit-content;
gap: 10px 16px;
align-items: center;
margin: 0 auto 16px auto;
justify-content: space-evenly;
align-content: center;
text-align: center;
}
  .pricing .chip {
    padding: 0.6em 1.2em;
    font-size: 0.9em;
  }
}

.pricing .group {
width: 100%;
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
}

.pricing .label {
  font-weight: 800;
  font-size: 0.95rem;
  margin-right: 4px;
}

.pricing .chip {
  width: fit-content;
  border: 0;
  font-size: 0.8em;
  border-radius: 999px;
  padding: 0.2em 0.8em;
  font-weight: 600;
  cursor: pointer;
  background: var(--chip);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.pricing .chip:hover {
  transform: translateY(-1px);
}

.pricing .chip[aria-pressed="true"] {
  background: var(--chip-active);
  color: #111;
}


/* ===========================
   Grid of Cards
   =========================== */
.pricing .passes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: clamp(12px, 1.8vw, 18px);
}


/* ===========================
   Card Styling
   =========================== */
.pricing .pass {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  row-gap: 10px;
  border-radius: 18px;
  background: var(--card-bg);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  padding: 16px;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing .pass.show {
  opacity: 1;
  transform: translateY(0);
}

.pricing .pass.featured {
  background: var(--featured);
}

.pricing .pass:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}


/* ===========================
   Card Content Elements
   =========================== */
.pricing .head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: start;
}

.pricing .title {
  margin: 0;
  font-weight: 900;
  line-height: 1.15;
  font-size: 1.15rem;
}

.pricing .pass .price .js-price {
  margin: 0;
  font-weight: 900;
  font-size: 1.6rem;
  text-align: center;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.pricing .price.bump {
  transform: scale(1.06);
}

.pricing .price small {
  display: block;
  font-size: 0.45em;
  font-weight: 700;
  opacity: 0.9;
  line-height: 1.1;
}

.pricing .mini {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.95;
}

.pricing .mini b {
  font-weight: 800;
}


/* ===========================
   Tiers & Additional Info
   =========================== */
.pricing .tiers-line {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.pricing details.more {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px 8px;
  transition: background-color 0.2s ease;
}

.pricing details.more summary {
  cursor: pointer;
  font-weight: 800;
}

.pricing details.more[open] {
  background: rgba(255, 255, 255, 0.14);
}

.pricing details.more ul {
  margin: 6px 0 0 18px;
}


/* ===========================
   Register Button
   =========================== */
.pricing .register-button {
  justify-self: end;
  align-self: end;
  border-radius: 999px;
  padding: 9px 14px;
  background: #fff;
  color: #111;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.pricing .register-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}


/* ===========================
   Utility Classes
   =========================== */
.pricing .pass .price span.strike {
  display: none;
  opacity: 0.6;
  text-decoration: line-through;
  margin-right: 0.35em;
}

.pricing .is-hidden {
  display: none !important;
}


/* ===========================
   In-Card Audience Selector
   =========================== */
.pricing .aud-local {
  margin: 0;
}

.pricing .aud-local select {
  padding: 6px 8px;
  border-radius: 6px;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
}


/* Hide toolbar win narrow. */

@media (max-width: 640px) {
  .pricing .toolbar {
    display: none;
  }
}
