/* Shared pass on the storefront */

.bp-sidebar {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.bp-sidebar .category-panel {
  position: static;
}

.bp-mobile {
  display: none;
}

.bp-sidebar [hidden],.bp-mobile[hidden] {
  display: none!important;
}

.bp-ad,.bp-ticket {
  --pass-ink: #123f40;
  --pass-gold: #ffe0a0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: linear-gradient(125deg,#073c3e,#11625c);
  border: 1px solid #256c66;
}

.bp-ad {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px;
  border-radius: 16px;
  padding: 22px 18px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px #133a3610;
}

.bp-ad:before,.bp-ticket:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 190px;
  height: 190px;
  border: 1px solid #e4f6d445;
  border-radius: 50%;
  right: -105px;
  top: -112px;
  box-shadow: 0 0 0 15px #a1cccc13,0 0 0 30px #a1cccc19,0 0 0 46px #a1cccc12;
}

.bp-ad-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.bp-ad-name {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.bp-ad-icon {
  flex: none;
  border-radius: 9px;
}

.bp-ad b,.bp-ad small {
  display: block;
}

.bp-ad b {
  font-size: 16px;
  line-height: 1.45;
}

.bp-ad small {
  font-size: 12px;
  color: #c3e6dd;
  margin-top: 5px;
}

.bp-ad i {
  font-style: normal;
  color: #ffe0a0;
  font-size: 19px;
}

.bp-ad:hover {
  filter: brightness(1.06);
}

.bp-main {
  max-width: 1050px;
}

.bp-hero,.bp-section,.bp-invite {
  border: 1px solid var(--line,#dae5eb);
  border-radius: 22px;
  background: var(--surface,#fff);
  box-shadow: 0 9px 32px #17263e08;
}

.bp-hero {
  display: grid;
  grid-template-columns: minmax(260px,.85fr) minmax(0,1.15fr);
  align-items: stretch;
  overflow: hidden;
}

.bp-art {
  display: grid;
  place-items: center;
  padding: 40px 28px;
  background: radial-gradient(ellipse at 15% 0%,#fff9e8,transparent 75%),#e3efeb;
}

.bp-ticket {
  width: 100%;
  max-width: 330px;
  aspect-ratio: 1.62;
  border-radius: 15px;
  box-shadow: 4px 12px 26px #123e392b;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bp-ticket-top,.bp-ticket-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 20px;
  font-size: 12px;
  color: #dfebe5;
}

.bp-ticket-top {
  font-weight: 700;
}

.bp-ticket-foot {
  border-top: 1px dashed #c4e3c686;
  background: #133f402b;
  color: #ffe2a5;
}

.bp-ticket-face {
  padding: 0 20px;
}

.bp-ticket-face small {
  font-size: 12px;
  color: #c4dfd9;
}

.bp-ticket-face strong {
  display: block;
  font: 700 clamp(42px,6vw,65px)/1 system-ui;
  color: #ffe0a0;
  letter-spacing: -.055em;
}

.bp-ticket-face i,.bp-sell strong small {
  font-size: .47em;
  font-style: normal;
  margin-right: 4px;
}

.bp-intro {
  padding: clamp(25px,4vw,52px);
}

.bp-intro h1 {
  font-size: clamp(24px,3.5vw,39px);
  line-height: 1.25;
  margin: 0;
}

.bp-intro p,.bp-owned p,.bp-section dd,.bp-invite p {
  color: var(--muted,#536479);
  line-height: 1.65;
}

.bp-terms {
  display: flex;
  gap: 9px 18px;
  flex-wrap: wrap;
  margin: 18px 0;
  font-size: 12px;
}

.bp-terms b {
  font-size: 18px;
}

.bp-sell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.bp-sell strong {
  font-size: 35px;
  color: #11625c;
}

.bp-section,.bp-invite {
  margin: 18px 0;
  padding: clamp(18px,3vw,30px);
}

.bp-section h2 {
  margin: 0 0 17px;
  font-size: 21px;
}

.bp-section > .rich-prose + h2 {
  margin-top: 22px;
}

.bp-rules {
  display: grid;
  gap: 13px;
  margin: 0;
}

.bp-rules>div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
}

.bp-rules dt {
  font-weight: 700;
}

.bp-rules dd {
  margin: 0;
}

.bp-checkout {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.bp-checkout .order-total { margin: 0; }
.bp-checkout .pay-choice label { min-width: 0; }
.bp-checkout .pay-choice label b { line-height: 1.35; }

.bp-wallet-heading, .bp-owned-heading, .bp-owned footer, .bp-share,
.bp-share-person, .bp-share-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bp-wallet-heading { justify-content: space-between; margin-bottom: 16px; }
.bp-wallet-heading h2 { margin: 0; }
.bp-wallet-heading > a { color: var(--accent-strong); font-weight: 650; }
.bp-owned {
  margin-top: 12px;
  padding: clamp(16px, 2.3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.bp-owned-focused { border-color: #69afa2; }
.bp-owned-heading img { flex: none; border-radius: 12px; }
.bp-owned-heading h3 { margin: 3px 0 0; font-size: clamp(16px,2vw,22px); line-height: 1.4; }
.bp-owned-heading small, .bp-share small, .bp-validity { color: var(--muted); font-size: 12px; }
.bp-status {
  flex: none; margin-left: auto; padding: 4px 10px;
  border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 700;
}
.bp-status-active { color: #116454; background: #e3f6ee; }
.bp-metrics {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0;
  margin: 16px 0 8px; padding: 14px 0; border-radius: 12px; background: var(--surface-2);
}
.bp-metrics div { min-width: 0; padding-inline: clamp(8px,2vw,22px); }
.bp-metrics div + div { border-left: 1px solid var(--line); }
.bp-metrics dt { font-size: 12px; color: var(--muted); }
.bp-metrics dd { color: var(--text); margin: 3px 0 0; font-size: clamp(18px,2vw,26px); font-weight: 760; font-variant-numeric: tabular-nums; }
.bp-metrics div:nth-child(2) dd { color: var(--accent-strong); }
.bp-metrics dd small { font-size: .58em; }
.bp-validity { margin: 9px 0 15px; }
.bp-share-list { border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
.bp-share { justify-content: space-between; flex-wrap: wrap; padding: 12px 0; }
.bp-share + .bp-share { border-top: 1px solid var(--line); }
.bp-share-person { gap: 8px; }
.bp-share-person small { display: block; margin-top: 1px; }
.bp-friend-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: var(--muted); }
.bp-friend-icon svg { width: 16px; height: 16px; }
.bp-share-actions { flex-wrap: wrap; gap: 7px; }
.bp-share-actions label { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.bp-share-actions select, .bp-button {
  min-height: 36px; padding: 6px 12px; border-radius: 8px; font: inherit; line-height: 1.3;
}
.bp-share-actions select { width: auto; background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); }
.bp-button {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; font-size: 13px; font-weight: 700;
}
.bp-button:hover { filter: brightness(.96); }
.bp-button:focus-visible, .bp-share-actions select:focus-visible, .bp-redeem-control:focus-visible { outline: 2px solid #14796e; outline-offset: 2px; }
.bp-button:disabled { opacity: .55; cursor: wait; }
.bp-primary { background: #087467; color: white; }
.bp-share-save { background: #285c9d; color: white; }
.bp-share-copy { background: #eeebff; color: #4e3f91; border-color: #cec6f4; }
.bp-refund { background: #fff2f1; color: #a6303c; border-color: #efbdc1; }
.bp-quiet { background: var(--surface); color: var(--muted); border-color: var(--line); }
.bp-owned footer { justify-content: flex-end; flex-wrap: wrap; margin-top: 14px; }
.bp-invite { background: #edf8f4; }

.bp-redeem {
  display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "title control" "count amount";
  align-items: center; gap: 11px 14px; padding: 14px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2);
}
.bp-redeem.is-applied { background: #edf8f4; border-color: #a4d5c9; color: #153b36; }
.bp-redeem-title { grid-area: title; display: flex; align-items: center; gap: 9px; }
.bp-redeem-title img { flex: none; border-radius: 9px; }
.bp-redeem-title b, .bp-redeem-title small { display: block; }
.bp-redeem-title b { font-size: 15px; }
.bp-redeem-title small, .bp-redeem-count, .bp-redeem-amount span { font-size: 12px; color: var(--muted); }
.bp-redeem.is-applied :is(.bp-redeem-title small,.bp-redeem-count,.bp-redeem-amount span) { color: #46665c; }
.bp-redeem select.bp-redeem-control {
  grid-area: control; justify-self: end; width: auto; max-width: 100%; min-height: 34px;
  border: 1px solid var(--line-strong); border-radius: 8px; padding: 5px 8px; font: inherit; font-weight: 650;
  background: var(--surface); color: var(--text);
}
.bp-redeem-count { grid-area: count; font-variant-numeric: tabular-nums; }
.bp-redeem-amount { grid-area: amount; justify-self: end; display: flex; align-items: baseline; gap: 7px; }
.bp-redeem-amount strong { font-size: 17px; color: var(--text); font-variant-numeric: tabular-nums; }
.bp-redeem.is-applied .bp-redeem-amount strong { color: #096853; }
@media (max-width:480px) {
  .bp-wallet .bp-share-actions { width: 100%; }
  .bp-owned footer .bp-button { flex: 1 1 auto; }
  .bp-redeem { padding: 11px; gap: 10px 6px; }
  .bp-redeem-amount { flex-wrap: wrap; justify-content: flex-end; gap: 3px; }
}

@media(max-width:760px) {
  .bp-sidebar {
    display: none;
  }
  .bp-mobile {
    display: block;
    margin: -5px 0 13px;
  }
  .bp-ad {
    display: flex;
    align-items: center;
    border-radius: 12px;
    padding: 10px 13px;
    gap: 12px;
  }
  .bp-ad i {
    margin-left: auto;
  }
  .bp-ad-name {
    display: none;
  }
  .bp-ad b {
    font-size: 14px;
  }
  .bp-ad small {
    font-size: 11px;
    margin-top: 2px;
  }
  .bp-hero {
    grid-template-columns: 1fr;
  }
  .bp-art {
    padding: 20px;
  }
  .bp-ticket {
    max-width: 290px;
  }
  .bp-intro {
    padding: 20px;
  }
  .bp-rules>div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .bp-share {
    gap: 7px;
  }
}

.member-sidebar .active .member-menu-icon-benefitPasses img {
  filter: brightness(0) invert(1);
}
