.commerce-view {
  position: relative;
  min-height: 100dvh;
  padding: 0;
  overflow: hidden;
  background: #000;
}

.commerce-visual {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 260px;
  overflow: hidden;
  background: #090909;
}

.commerce-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .84;
}

.commerce-visual-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35) 55%, #151515 100%);
}

.commerce-toolbar {
  position: relative;
  z-index: 3;
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
}

.commerce-toolbar > button:first-child {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15,15,17,.68);
  color: #fff;
  font-size: 29px;
  line-height: 1;
}

.commerce-toolbar > button:first-child span { transform: translateY(-2px); }
.commerce-help {
  min-height: 28px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 15px;
  background: rgba(15,15,17,.68);
  color: #fff;
  font-size: 11px;
}

.commerce-help-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(15,15,17,.68);
  font-weight: 800;
}

.commerce-credit-balance {
  display: flex;
  min-width: 70px;
  height: 28px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
  margin-right: 10px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(15,15,17,.74);
  font-family: "Roboto Numbers", Roboto, Arial, sans-serif;
  font-size: 13px;
}

.commerce-sheet {
  position: relative;
  z-index: 2;
  min-height: calc(100dvh - 174px);
  margin-top: 126px;
  padding: 30px 19px calc(28px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(21,21,21,.92), #151515 68px);
}

.commerce-sheet h1 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
}

.benefit-list {
  display: grid;
  gap: 9px;
  margin: 0 8px 18px;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 8px;
  color: #dedee2;
  font-size: 12px;
}

.benefit-list li::before {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 50%;
  background: #ffcf5a;
  color: #fff;
  content: "✓";
  font-size: 9px;
  font-weight: 900;
}

.commerce-options { display: grid; gap: 8px; }

.commerce-option {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 70px;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 11px 16px;
  border: 1px solid #3c3c43;
  border-radius: 8px;
  background: #202024;
  cursor: pointer;
  text-align: left;
}

.commerce-option[data-selected="true"] {
  border-color: #ffd35a;
  background: #27251f;
  box-shadow: inset 0 0 0 1px rgba(255,211,90,.25);
}

.commerce-radio-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.commerce-radio-input:focus-visible + .commerce-radio { outline: 2px solid #fff; outline-offset: 3px; }

.commerce-radio {
  width: 16px;
  height: 16px;
  border: 1px solid #777780;
  border-radius: 50%;
}

.commerce-option[data-selected="true"] .commerce-radio {
  border: 5px solid #ffd35a;
}

.commerce-option-copy { min-width: 0; }
.commerce-option-copy strong,
.commerce-option-copy small { display: block; }
.commerce-option-copy strong { font-size: 17px; }
.commerce-option-copy small { margin-top: 4px; color: #9d9da5; font-size: 11px; }
.commerce-price { font-family: "Roboto Numbers", Roboto, Arial, sans-serif; font-size: 15px; font-weight: 700; white-space: nowrap; }
.commerce-price small { display: block; margin-top: 4px; color: #ffd35a; font-size: 9px; font-weight: 600; }
.commerce-price s { display: block; margin-top: 4px; color: #7c7c84; font-size: 10px; font-weight: 400; }

.commerce-badge {
  position: absolute;
  top: -8px;
  right: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #ffcf5a;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

.member-discount-row {
  display: flex;
  width: 100%;
  height: 35px;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: #30291d;
  color: #fff;
  font-size: 12px;
}

.member-discount-row strong { color: #ffd35a; font-size: 10px; }
.commerce-status { min-height: 22px; margin: 9px 2px 5px; color: #9d9da5; font-size: 11px; line-height: 1.35; text-align: center; }
.commerce-status.error { color: #ff9caf; }

.commerce-primary {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 29px;
  background: #ff6b8a;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.commerce-primary:disabled { cursor: not-allowed; opacity: .5; }
.commerce-renewal { margin: 9px 0 0; color: #919191; font-size: 11px; text-align: center; }
.commerce-legal { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; color: #6f6f76; }
.commerce-legal button { padding: 4px 0; border: 0; background: transparent; color: #919198; font-size: 11px; }
.credits-sheet { padding-top: 34px; }
.credits-sheet h1 { margin-bottom: 12px; }

.checkout-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 17px 0;
  padding: 14px;
  border: 1px solid #3b3b43;
  border-radius: 8px;
  background: #17171a;
}

.checkout-summary strong { font-size: 14px; }
.checkout-summary span { color: #ffd35a; font-family: "Roboto Numbers", Roboto, Arial, sans-serif; font-weight: 800; }
.checkout-state { color: #ff9caf !important; }
.checkout-state.success { color: #85e3a3 !important; }

.crypto-intro,
.crypto-safety { margin: 0; color: #b4b4bc; font-size: 12px; line-height: 1.45; }
.crypto-methods { display: grid; gap: 9px; margin: 16px 0 12px; }
.crypto-method {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 11px 13px;
  border: 1px solid #3c3c43;
  border-radius: 8px;
  background: #222227;
  color: #fff;
  text-align: left;
}
.crypto-method strong { font-size: 15px; }
.crypto-method span { color: #ffd35a; font-size: 12px; font-weight: 800; }
.crypto-unavailable { margin: 16px 0; color: #ffcf9c; font-size: 12px; line-height: 1.45; }
.crypto-payment-grid { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; align-items: center; margin: 16px 0; }
.crypto-qr { width: 116px; height: 116px; border-radius: 6px; background: #fff; image-rendering: crisp-edges; }
.crypto-payment-copy,
.crypto-address { display: grid; gap: 5px; }
.crypto-payment-copy span,
.crypto-address span { color: #92929b; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.crypto-payment-copy strong { color: #fff; font-size: 14px; }
.crypto-copy-value { overflow: hidden; padding: 0; border: 0; background: transparent; color: #ffd35a; font-family: "Roboto Numbers", Roboto, Arial, sans-serif; font-size: 13px; font-weight: 800; line-height: 1.35; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.crypto-address { margin: 0 0 12px; padding: 12px; border: 1px solid #34343b; border-radius: 7px; background: #17171a; }
.crypto-countdown { margin: 8px 0; color: #fff; font-family: "Roboto Numbers", Roboto, Arial, sans-serif; font-size: 12px; font-weight: 800; text-align: center; }

body.route-subscription .bottom-nav,
body.route-credits .bottom-nav { display: none; }

@media (max-height: 700px) {
  .commerce-sheet { margin-top: 92px; padding-top: 24px; }
  .commerce-visual { height: 220px; }
}
