/* Raised storefront actions; layout and visibility belong to each component. */
:is(body.rg-electric #PageContainer #MainContent, body.rg-electric #rg-soft-header, body.rg-electric footer, body.rg-electric .results-footer, body.template-password, body.template-giftcard) :is(
  .rg-booking-help a, a.button, a.btn, button.btn, input.btn, a.goal-btn, button.text-link, .rg-glacier-gyms a > span, .results-location-card__tour, .blair-schedule__actions a, .contact-branch__actions a, main details > summary, a[class*="button"], button[type="submit"], input[type="submit"],
  a.rg-primary-action, a[data-rg-event="membership_join_click"], .rg-glacier-actions a, .rg-blue-arrow,
  .rg-blue-next__reset a, .rg-blue-locations nav a, .mobile-menu > summary, .results-footer__review,
  .membership-conversion__hero-actions a, .membership-coaching-cta__actions a, .membership-tour > a,
  .membership-campaign__copy > a, .membership-support__card > b, .rg-gym-picker a, .rg-branch-timetable,
  .rg-coaching__quick a, .rg-online-carousel__control, .rg-results__control,
  .find-gym-card__actions a, .find-gyms__tour > a, .results-mobile-join a, .blair-join__tour,
  .arbroath-local__routes a, .forfar-local__routes a, .kir-routes a, .kir-offer > a,
  .arbroath-faq__cta a, .forfar-faq__cta a, .kir-faq__cta a, .rg-team-offer__locations a,
  .class-guide__jumps a, .class-guide__trial-actions a, .class-guide__training-copy em,
  .ma-schedule__jump a, .ma-location__heading > a, .ma-discipline__cta, .rg-timetable-nav a,
  .rg-weekly-actions a, .rg-forfar-sessions__actions a, .rg-timetable-panel__help a,
  .trainer-profile__actions a, .branch-team__jump a, .branch-team__location-heading > a, .branch-team__cta > a,
  .results-blog__hero-inner > a, .results-blog__cta a, .results-blog__more nav a, .results-blog-paths a,
  .results-article-next__actions a, .results-article-explore a, .results-callout a,
  .home-offer__actions a, .home-offer__price-card > a:last-child, .home-proof__review-cta a, .rg-content-page__secondary
):not(:disabled, [disabled], [aria-disabled="true"], .btn--disabled, .search-header__submit) {
  --face: linear-gradient(165deg, #f4db9d, var(--rg-action, #d2ae66) 68%, #c3994f);
  --edge: #795922;
  --rim: #ac8846;
  --label: #201b13;
  background: var(--face) !important;
  color: var(--label) !important;
  -webkit-text-fill-color: var(--label) !important;
  border: 1px solid var(--rim) !important;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: inset 0 1px 0 #ffffff99, 0 4px 0 var(--edge), 0 8px 12px #201a1540 !important;
  &:active {
    box-shadow: inset 0 1px 2px #0003, 0 1px 0 var(--edge) !important;
  }
  &:focus-visible {
    outline: 2px solid #211e19 !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 5px #fffaf1 !important;
  }
  &:is(.ghost, .btn--secondary, [class*="--secondary"], [class*="--outline"], [class*="--ghost"], [class*="--glass"],
  .membership-conversion__hero-actions a + a, .membership-coaching-cta__actions a + a,
  .class-guide__trial-actions a + a, .rg-glacier-actions a + a, .results-blog__cta a + a,
  .rg-weekly-open, .find-gym-card__actions a:not(.find-gym-card__primary), .home-offer__secondary,
  .results-article-next__actions a:not(.results-article-next__primary), .mobile-menu > summary,
  .rg-booking-help a[href^="tel:"], .rg-content-page__secondary, .blair-join__tour, .results-location-card__tour, .results-footer__review,
  .arbroath-button:not(.arbroath-button--gold), .blair-button:not(.blair-button--gold),
  .forfar-local__button:not(.forfar-local__button--gold), .kir-button:not(.kir-button--gold),
  .rg-online-carousel__control, .rg-results__control) {
    --face: linear-gradient(165deg, #494846, #282726 75%);
    --edge: #877c69;
    --rim: #9c9384;
    --label: #fffaf1;
  }
  &:is(.rg-gym-picker a, .rg-branch-timetable, .rg-coaching__quick a, .class-guide__jumps a,
  .ma-schedule__jump a, .branch-team__jump a, .rg-timetable-nav a, .trainer-profile__actions a,
  .arbroath-local__routes a, .forfar-local__routes a, .kir-routes a, .results-blog__more nav a,
  .rg-booking-help a[href^="mailto:"], .results-blog-paths a, .results-article-explore a, .rg-blue-locations nav a, .rg-glacier-gyms a > span, main details > summary) {
    --face: linear-gradient(160deg, #fffefa, #ede7db);
    --rim: #beb29c;
    --edge: #a29784;
  }
}
:is(body.rg-electric #PageContainer #MainContent, body.rg-electric #rg-soft-header, body.rg-electric footer, body.rg-electric .results-footer, body.template-password, body.template-giftcard) :is(.rg-glacier-actions a + a, .rg-blue-next__reset a, .rg-blue-locations nav a, .class-guide__training-copy em, .rg-content-page__secondary) {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .45em;
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 8px;
}
:is(body.rg-electric #PageContainer #MainContent, body.rg-electric #rg-soft-header, body.rg-electric footer, body.rg-electric .results-footer, body.template-password, body.template-giftcard) .membership-support__card:active > b {
  box-shadow: inset 0 1px 2px #0003, 0 1px 0 var(--edge) !important;
}
body.rg-electric #PageContainer #MainContent .rg-glacier-gyms a {
  border: 0;
  text-decoration: none;
}
body.rg-electric #PageContainer #MainContent .rg-glacier-gyms a > span {
  padding-inline: 12px;
  border-radius: 8px;
  margin-bottom: 6px;
}
body.rg-electric #PageContainer #MainContent details > summary {
  border-radius: 8px;
  padding-inline: 12px;
}
body.rg-electric #PageContainer #MainContent details[open] > summary {
  --face: #e5dac4 !important;
  box-shadow: inset 0 1px 2px #30231133 !important;
}
body.rg-electric #PageContainer #MainContent details > summary :is(span, strong, b) {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}
body.rg-electric #PageContainer #MainContent .rg-booking-help {
  gap: 14px;
}
body.rg-electric #PageContainer #MainContent .rg-booking-help a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
