/*
 * THESIS: A direct Zaragoza sales desk; the active checkout step, not a campaign hero, leads.
 * OWN-WORLD: Pure black, white editorial rules, yellow decisions and ExtraCondensed display type.
 * STORY: Choose the offer, configure it, enter only required data, review the authoritative total.
 * FIRST VIEWPORT: Compact Zaragoza masthead, six-step rail, active task and persistent order summary.
 * FORM: Mobile-first transactional flow that extends Gold's Gym's established checkout language.
 */

body.golds-gym-presale-page {
    background: var(--e-global-color-secondary, #000);
    color: var(--e-global-color-text, #fff);
    font-family: var(--e-global-typography-text-font-family, "Acumin Pro"), Arial, sans-serif;
    font-size: var(--e-global-typography-text-font-size, 18px);
    font-weight: var(--e-global-typography-text-font-weight, 500);
    line-height: var(--e-global-typography-text-line-height, 32px);
}

body.golds-gym-presale-page .site-main {
    max-width: none;
    width: 100%;
    background: var(--e-global-color-secondary, #000);
}

body.golds-gym-presale-page .page-header {
    display: none;
}

.golds-gym-presale {
    --presale-yellow: var(--e-global-color-accent, #ffd700);
    --presale-bg: var(--e-global-color-secondary, #000);
    --presale-panel: #101010;
    --presale-panel-raised: #101010;
    --presale-text: var(--e-global-color-text, #fff);
    --presale-muted: #ccc;
    --presale-border: var(--e-global-color-primary, #fff);
    --presale-subtle-border: #4a4a4a;
    --presale-danger: #ff8585;
    --presale-error-edge: #7a0c12;
    --presale-success: #a7f3a1;
    --presale-body-font: var(--e-global-typography-text-font-family, "Acumin Pro"), Arial, sans-serif;
    --presale-body-size: var(--e-global-typography-text-font-size, 18px);
    --presale-body-weight: var(--e-global-typography-text-font-weight, 500);
    --presale-body-line-height: var(--e-global-typography-text-line-height, 32px);
    --presale-heading-font: var(--e-global-typography-accent-font-family, "Acumin Pro Extracondensed"), "Arial Narrow", sans-serif;
    --presale-heading-weight: var(--e-global-typography-accent-font-weight, 700);
    --presale-heading-tracking: var(--e-global-typography-accent-letter-spacing, 2px);
    --presale-heading-transform: var(--e-global-typography-accent-text-transform, uppercase);
    --presale-action-size: var(--e-global-typography-b441d74-font-size, 20px);
    --presale-action-weight: var(--e-global-typography-b441d74-font-weight, 700);
    --presale-action-line-height: var(--e-global-typography-b441d74-line-height, 24px);
    /*
     * Task 5 owns this measured border-box height. It already includes the
     * fixed summary padding and safe area, so consumers add only a visual gap.
     */
    --presale-mobile-summary-height: 7rem;
    max-width: 106.25rem;
    width: 100%;
    box-sizing: border-box;
    min-height: 70vh;
    margin-inline: auto;
    padding: clamp(1.25rem, 3vw, 2rem) clamp(0.75rem, 2.4vw, 2.125rem) 0;
    padding-bottom: calc(var(--presale-mobile-summary-height, 7rem) + 1rem);
    background: var(--presale-bg);
    color: var(--presale-text);
    color-scheme: dark;
    font-family: var(--presale-body-font);
    font-size: var(--presale-body-size);
    font-weight: var(--presale-body-weight);
    line-height: var(--presale-body-line-height);
    -webkit-tap-highlight-color: rgba(255, 215, 0, 0.24);
}

.golds-gym-presale__return-loading {
    display: none;
}

.golds-gym-presale[data-checking-return] > :not([data-presale-return-loading]) {
    display: none !important;
}

.golds-gym-presale[data-checking-return] > [data-presale-return-loading] {
    display: grid;
    min-height: 50vh;
    place-content: center;
    text-align: center;
}

.golds-gym-presale *,
.golds-gym-presale *::before,
.golds-gym-presale *::after {
    box-sizing: border-box;
}

.golds-gym-presale :focus-visible {
    outline: 3px solid var(--presale-yellow);
    outline-offset: 3px;
}

.golds-gym-presale [hidden] {
    display: none;
}

.golds-gym-presale :is(p, li, dd, label, legend, h2, h3, h4, h5, strong, span, small) {
    min-width: 0;
}

.golds-gym-presale :is(p, li, dd, .golds-gym-presale__notice, .golds-gym-presale__errors, .golds-gym-presale__empty),
.golds-gym-presale__contract,
.golds-gym-presale__summary-value,
.golds-gym-presale__summary-terms {
    overflow-wrap: break-word;
    word-break: normal;
}

.golds-gym-presale__intro {
    margin: 0 0 1.5rem;
    min-width: 0;
}

.golds-gym-presale__eyebrow {
    margin: 0;
    color: var(--presale-yellow);
    font-family: var(--presale-heading-font);
    font-size: var(--presale-action-size);
    font-weight: var(--presale-action-weight);
    letter-spacing: var(--e-global-typography-b441d74-letter-spacing, 4px);
    line-height: var(--presale-action-line-height);
    text-transform: var(--presale-heading-transform);
}

.golds-gym-presale__screen h2,
.golds-gym-presale__summary-heading,
.golds-gym-presale__summary h2,
.golds-gym-presale__mobile-summary h2 {
    margin: 0;
    color: var(--presale-text);
    font-family: var(--presale-heading-font);
    font-size: 40px;
    font-weight: var(--presale-heading-weight);
    letter-spacing: var(--presale-heading-tracking);
    line-height: 54px;
    text-transform: var(--presale-heading-transform);
    text-wrap: balance;
}

.golds-gym-presale__screen > p {
    max-width: 70ch;
    margin: 0 0 1.75rem;
    color: var(--presale-muted);
}

.golds-gym-presale__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

.golds-gym-presale__layout {
    display: grid;
    gap: 2rem;
    min-width: 0;
}

.golds-gym-presale__main,
.golds-gym-presale__screen {
    min-width: 0;
}

.golds-gym-presale__screen {
    min-height: 18rem;
    scroll-margin-top: 1.5rem;
}

.golds-gym-presale__step {
    min-width: 0;
    scroll-margin-top: 2rem;
}

.golds-gym-presale__step[data-active="true"] {
    min-height: calc(100vh - 2rem);
    min-height: calc(100svh - 2rem);
}

.golds-gym-presale__step + .golds-gym-presale__step {
    margin-top: clamp(4rem, 8vw, 7rem);
}

.golds-gym-presale__screen[aria-busy="true"] {
    cursor: progress;
}

.golds-gym-presale .is-loading {
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 1rem;
    min-height: 12rem;
    text-align: center;
}

.golds-gym-presale .is-loading::before {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    border: 3px solid var(--presale-subtle-border);
    border-top-color: var(--presale-yellow);
    border-radius: 50%;
    animation: golds-gym-presale-spin 0.85s linear infinite;
    content: "";
}

.golds-gym-presale__notice,
.golds-gym-presale__success,
.golds-gym-presale__empty {
    margin: 0 0 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid currentColor;
    line-height: 1.625;
}

.golds-gym-presale__notice:empty,
.golds-gym-presale__errors:empty {
    display: none;
}

.golds-gym-presale__notice {
    background: #201c08;
    color: #fff4b8;
}

.golds-gym-presale__errors,
.golds-gym-presale__field-error,
.golds-gym-presale [aria-invalid="true"] + .golds-gym-presale__field-error {
    color: var(--presale-danger);
}

.golds-gym-presale__errors {
    margin: 0;
    padding: 0.75rem 1rem;
    border: 0;
    border-left: 3px solid var(--presale-error-edge);
    background: var(--presale-bg);
    color: var(--presale-text);
    line-height: 1.45;
}

.golds-gym-presale__errors a,
.golds-gym-presale__errors button {
    color: #fff;
}

.golds-gym-presale__errors a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    min-width: 2.75rem;
    color: inherit;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.golds-gym-presale__errors a:is(:hover, :focus-visible) {
    text-decoration-color: currentColor;
}

.golds-gym-presale__error-message {
    display: grid;
    gap: 0.125rem;
}

.golds-gym-presale__error-message > strong {
    color: var(--presale-danger);
    font-size: 14px;
    line-height: 1.45;
}

.golds-gym-presale__error-message > small {
    color: var(--presale-text);
    font-size: 12px;
    line-height: 1.45;
}

.golds-gym-presale__success {
    background: #102713;
    color: var(--presale-success);
}

.golds-gym-presale__empty {
    background: var(--presale-panel);
    color: var(--presale-muted);
    text-align: center;
}


.golds-gym-presale__summary-shell {
    display: none;
    min-width: 0;
}

.golds-gym-presale__sidebar-controls {
    display: none;
    margin-top: 1.25rem;
}

.golds-gym-presale__summary-heading {
    margin-bottom: 0;
}

.golds-gym-presale__summary {
    background: var(--presale-panel);
    border: 1px solid var(--presale-yellow);
    border-radius: 0.3125rem;
    min-height: 25rem;
    padding: 1.875rem;
    min-width: 0;
}

.golds-gym-presale__summary-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
    margin-bottom: 0.625rem;
    font-size: 1rem;
    line-height: 1.5;
}

.golds-gym-presale__summary-label {
    flex: 1 1 40%;
    color: var(--presale-muted);
}

.golds-gym-presale__summary-value {
    flex: 0 1 60%;
    color: var(--presale-text);
    text-align: right;
}

.golds-gym-presale__summary-item--total {
    margin-top: 0.9375rem;
    padding-top: 0.9375rem;
    border-top: 1px solid var(--presale-subtle-border);
    font-size: 1rem;
    font-weight: 700;
}

.golds-gym-presale__summary-note {
    margin-bottom: 0.75rem;
    color: var(--presale-yellow);
    font-size: 0.875rem;
    line-height: 1.4;
}

.golds-gym-presale__summary-taxes,
.golds-gym-presale__summary-terms {
    color: color-mix(in srgb, var(--presale-text) 60%, transparent);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.golds-gym-presale__summary-taxes {
    margin-top: 0.3125rem;
}

.golds-gym-presale__summary-terms {
    margin-top: 0.9375rem;
}

.golds-gym-presale__summary-terms p {
    margin: 0;
}

.golds-gym-presale__summary-terms a {
    color: var(--presale-yellow);
    text-decoration: none;
}

.golds-gym-presale__summary-terms a:hover {
    text-decoration: underline;
}

.golds-gym-presale__summary-compact-total {
    color: var(--presale-text);
    font-family: var(--presale-heading-font);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1;
}

.golds-gym-presale__plans,
.golds-gym-presale__choices {
    display: grid;
    gap: 1.25rem;
    min-width: 0;
}

.golds-gym-presale__choice {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 17.5rem;
    padding: 1.25rem;
    border: 1px solid var(--presale-border);
    border-radius: 0;
    background: var(--presale-bg);
    color: var(--presale-text);
}

.golds-gym-presale__plan-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    border: 2px solid var(--presale-border);
    border-radius: 0;
    background: var(--presale-bg);
    cursor: pointer;
}

.golds-gym-presale__plan-card:hover,
.golds-gym-presale__plan-card:has(> .golds-gym-presale__plan[aria-pressed="true"]) {
    border-color: var(--presale-yellow);
}

.golds-gym-presale__plan {
    position: relative;
    background: var(--presale-bg) !important;
    color: var(--presale-text) !important;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    min-height: 2.75rem;
    width: 100%;
    padding: 1.875rem;
    border: 0 !important;
    border-radius: 0 !important;
    text-align: left;
    white-space: normal;
}

.golds-gym-presale__plan::before {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #666;
    border-radius: 50%;
    background: transparent;
    box-sizing: border-box;
    content: "";
}

.golds-gym-presale__plan.is-selected::before,
.golds-gym-presale__plan[aria-pressed="true"]::before {
    border-color: var(--presale-yellow);
    background: var(--presale-yellow);
}

.golds-gym-presale__plan.is-selected::after,
.golds-gym-presale__plan[aria-pressed="true"]::after {
    position: absolute;
    top: 1.625rem;
    left: 1.625rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--presale-bg);
    content: "";
}

.golds-gym-presale__plan:disabled,
.golds-gym-presale__plan[aria-disabled="true"] {
    border-color: #666;
    cursor: not-allowed;
    opacity: 0.68;
}

.golds-gym-presale__plan strong,
.golds-gym-presale__plan span,
.golds-gym-presale__plan small {
    display: block;
}

.golds-gym-presale__plan strong {
    color: var(--presale-text);
    font-family: var(--presale-body-font);
    font-size: 13px;
    font-weight: var(--presale-body-weight);
    letter-spacing: normal;
    line-height: 1.5;
    margin: 15px 0 0;
    overflow-wrap: normal;
    text-align: center;
    text-transform: none;
    word-break: normal;
}

.golds-gym-presale__plan .golds-gym-presale__plan-price {
    order: -1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    color: var(--presale-yellow);
    font-family: var(--presale-heading-font);
    font-variant-numeric: tabular-nums;
}

.golds-gym-presale__plan .golds-gym-presale__plan-price-amount {
    display: inline-flex;
    align-items: flex-start;
}

.golds-gym-presale__plan .golds-gym-presale__plan-price-secondary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.golds-gym-presale__plan .golds-gym-presale__plan-price-decimal-line {
    display: flex;
    align-items: flex-start;
}

.golds-gym-presale__plan-price-main {
    font-size: 120px;
    line-height: 0.8;
    font-weight: var(--presale-heading-weight);
}

.golds-gym-presale__plan-price-decimals,
.golds-gym-presale__plan-price-currency {
    font-size: 65px;
    font-weight: var(--presale-heading-weight);
    line-height: 0.8;
}

.golds-gym-presale__plan-price-currency {
    margin-left: 0.25rem;
}

.golds-gym-presale__plan-price-period {
    color: var(--presale-yellow);
    font-size: 30px;
    font-weight: var(--presale-heading-weight);
    line-height: 0.8;
    text-transform: uppercase;
}

.golds-gym-presale__plan-differentiator,
.golds-gym-presale__plan-fallback,
.golds-gym-presale__plan > span:not(.golds-gym-presale__plan-price),
.golds-gym-presale__plan > small {
    margin-top: 0.5rem;
    font-family: var(--presale-body-font);
    font-size: 1rem;
    letter-spacing: normal;
    line-height: 1.625;
    text-transform: none;
}

.golds-gym-presale__plan-differentiator {
    color: var(--presale-text);
    font-weight: 700;
}

.golds-gym-presale__plan-fallback,
.golds-gym-presale__plan > span:not(.golds-gym-presale__plan-price),
.golds-gym-presale__plan > small {
    color: var(--presale-muted);
}

.golds-gym-presale__plan-inclusions {
    flex: 1 1 auto;
    padding: 0 1.875rem 1.875rem;
}

.golds-gym-presale__plan-inclusions h3 {
    margin: 0;
    padding: 1.25rem 0 0.625rem;
    border-bottom: 1px solid var(--presale-border);
    color: var(--presale-text);
    font-family: var(--presale-body-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.5;
    text-transform: uppercase;
}

.golds-gym-presale__plan-inclusions ul {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 1rem 0 0;
    list-style: none;
}

.golds-gym-presale__plan-inclusion {
    position: relative;
    margin: 0;
    padding-left: 1.625rem;
    color: var(--presale-muted);
    font-size: 13px;
    line-height: 1.5;
}

.golds-gym-presale__plan-inclusion::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--presale-yellow);
    content: "✓";
    font-weight: 700;
}

.golds-gym-presale__choice {
    cursor: pointer;
}

.golds-gym-presale__choice:hover {
    border-color: var(--presale-yellow);
}

.golds-gym-presale__choice.is-selected {
    border-color: var(--presale-yellow);
}

.golds-gym-presale__choice-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.golds-gym-presale__choice-copy {
    min-width: 0;
}

.golds-gym-presale__choice h3,
.golds-gym-presale__group-label,
.golds-gym-presale__screen > h3,
.golds-gym-presale__screen section > h3 {
    color: var(--presale-text);
    font-family: var(--presale-heading-font);
    font-weight: 700;
    letter-spacing: 0.0625rem;
    text-transform: uppercase;
}

.golds-gym-presale__choice h3 {
    margin: 0 0 1.25rem;
    font-size: 1.875rem;
    line-height: 2.1875rem;
    letter-spacing: 0.25rem;
}

.golds-gym-presale__choice-benefits {
    margin: 0;
    padding: 0;
    list-style: none;
}

.golds-gym-presale__choice-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.golds-gym-presale__choice-title > span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.golds-gym-presale__choice-title .golds-gym-presale__choice-image {
    display: block;
    flex-shrink: 0;
    width: 50px;
    max-width: 50px;
    height: auto;
    object-fit: contain;
}

.golds-gym-presale__choice-benefits li {
    position: relative;
    margin: 0;
    padding-left: 1.625rem;
    color: var(--presale-text);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.golds-gym-presale__choice-benefits li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--presale-yellow);
    content: "✓";
    font-weight: 700;
}

.golds-gym-presale__choice-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 0.25rem;
    min-width: 0;
    color: var(--presale-text);
    font-family: var(--presale-heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.25rem;
    line-height: 2.1875rem;
    text-transform: uppercase;
}

.golds-gym-presale__choice-price strong,
.golds-gym-presale__choice-price span {
    color: inherit;
    font: inherit;
}

.golds-gym-presale .golds-gym-presale__option-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: end;
    justify-self: stretch;
    min-height: 3.125rem;
    padding: 0.9375rem 1.875rem;
    border: 0;
    border-radius: 0;
    background: var(--presale-yellow);
    color: var(--presale-bg);
    cursor: pointer;
    font-family: var(--presale-heading-font);
    font-size: var(--presale-action-size);
    font-weight: var(--presale-action-weight);
    letter-spacing: var(--presale-heading-tracking);
    line-height: var(--presale-action-line-height);
    text-align: center;
    text-transform: var(--presale-heading-transform);
    touch-action: manipulation;
}

.golds-gym-presale .golds-gym-presale__option-action:has(input:checked) {
    background: var(--presale-yellow);
    color: var(--presale-bg);
}

.golds-gym-presale__option-action input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.golds-gym-presale__option-action:has(input:focus-visible) {
    outline: 3px solid var(--presale-text);
    outline-offset: 3px;
}

.golds-gym-presale__group-label {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    line-height: 1.5rem;
}

.golds-gym-presale__included {
    flex: 0 0 auto;
    padding: 0.5rem 0.625rem;
    border: 1px solid var(--presale-yellow);
    color: var(--presale-yellow);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.golds-gym-presale__screen section + section,
.golds-gym-presale__form-section + .golds-gym-presale__form-section {
    margin-top: 2.5rem;
}

.golds-gym-presale__form-section {
    min-width: 0;
    padding: 20px 20px 50px;
    border: 1px solid var(--presale-border);
    background: transparent;
}

.golds-gym-presale__form-section > .golds-gym-presale__form-title {
    margin: 0 0 20px;
    color: var(--presale-text);
    font-family: var(--presale-heading-font);
    font-size: 30px;
    font-weight: var(--presale-heading-weight);
    line-height: 35px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.golds-gym-presale__form-title:has(+ .golds-gym-presale__form-subtitle) {
    margin-bottom: 10px;
}

.golds-gym-presale__form-section > .golds-gym-presale__form-subtitle {
    margin: 0 0 20px;
    color: var(--presale-muted);
    font-size: 14px;
    font-style: italic;
}

.golds-gym-presale__fields {
    display: grid;
    gap: 15px;
    min-width: 0;
}

.golds-gym-presale__field {
    display: grid;
    gap: 10px;
    min-width: 0;
    align-content: start;
}

.golds-gym-presale__phone-controls {
    position: relative;
    display: grid;
    grid-template-columns: minmax(8.75rem, 0.42fr) minmax(0, 1fr);
    gap: 15px;
    min-width: 0;
}

.golds-gym-presale__phone-controls > label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

.golds-gym-presale__phone-controls > :is(select, input) {
    min-width: 0;
}

.golds-gym-presale__field--inline-prompt {
    position: relative;
    gap: 0;
}

.golds-gym-presale__field--inline-prompt > label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

.golds-gym-presale__field--inline-prompt.golds-gym-presale__field--date > label {
    z-index: 1;
    top: 50%;
    left: 11px;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    border: 0;
    color: #999;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.4;
    pointer-events: none;
    text-transform: none;
    transform: translateY(-50%);
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.golds-gym-presale__field--date:focus-within > label,
.golds-gym-presale__field--date:has(input:valid) > label {
    visibility: hidden;
    opacity: 0;
}

.golds-gym-presale__field--date input::-webkit-datetime-edit-fields-wrapper {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.golds-gym-presale__field--date:focus-within input::-webkit-datetime-edit-fields-wrapper,
.golds-gym-presale__field--date input:valid::-webkit-datetime-edit-fields-wrapper {
    opacity: 1;
}

.golds-gym-presale__action-errors-slot {
    display: contents;
}

.golds-gym-presale__sidebar-controls .golds-gym-presale__errors,
.golds-gym-presale__errors--mobile-toast {
    margin: 0;
    padding: 0.75rem 1rem;
    overflow-wrap: anywhere;
    font-size: 14px;
    line-height: 1.45;
}

.golds-gym-presale__errors--mobile-toast {
    position: fixed;
    top: max(30px, calc(env(safe-area-inset-top) + 1rem));
    right: max(1rem, env(safe-area-inset-right));
    left: max(1rem, env(safe-area-inset-left));
    z-index: 99999;
    max-height: min(12rem, 40vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    transform: translateY(calc(-100% - 2rem));
    will-change: opacity, transform;
}

.golds-gym-presale__errors--mobile-toast.is-presented {
    animation: golds-gym-presale-error-toast 4.6s linear both;
}

.golds-gym-presale__field-error {
    display: none;
}

.golds-gym-presale__loading-copy {
    color: var(--presale-muted);
    font-size: 1rem;
    line-height: 1.625;
}

.golds-gym-presale label,
.golds-gym-presale legend {
    color: var(--presale-text);
    font-size: 14px;
    font-weight: 600;
}

.golds-gym-presale__field > label {
    letter-spacing: 1px;
    text-transform: uppercase;
}

.golds-gym-presale input:not([type="checkbox"]):not([type="radio"]),
.golds-gym-presale select,
.golds-gym-presale textarea,
.golds-gym-presale button,
.golds-gym-presale [role="button"] {
    min-height: 2.75rem;
    min-width: 2.75rem;
}

.golds-gym-presale input:not([type="checkbox"]):not([type="radio"]),
.golds-gym-presale select,
.golds-gym-presale textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #666;
    border-radius: 0;
    background: var(--presale-panel-raised);
    color: var(--presale-text);
    font-family: var(--presale-body-font);
    font-size: 14px;
    line-height: 1.4;
}

.golds-gym-presale textarea {
    min-height: 7.5rem;
    resize: vertical;
}

.golds-gym-presale select option {
    background: var(--presale-panel-raised);
    color: var(--presale-text);
}

.golds-gym-presale input::placeholder,
.golds-gym-presale textarea::placeholder {
    color: #999;
    opacity: 1;
}

.golds-gym-presale input:not([type="checkbox"]):not([type="radio"]):focus,
.golds-gym-presale select:focus,
.golds-gym-presale textarea:focus {
    border-color: var(--presale-yellow) !important;
    outline: 2px solid var(--presale-yellow);
    outline-offset: 1px;
}

.golds-gym-presale input:disabled,
.golds-gym-presale select:disabled,
.golds-gym-presale textarea:disabled {
    border-color: #777;
    color: #ddd;
    cursor: not-allowed;
    opacity: 0.72;
}

.golds-gym-presale :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea)[aria-invalid="true"],
.golds-gym-presale fieldset[aria-invalid="true"] {
    border-color: var(--presale-error-edge);
}

.golds-gym-presale :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea)[aria-invalid="true"]:focus {
    border-color: var(--presale-error-edge) !important;
    outline-color: var(--presale-error-edge);
}

.golds-gym-presale [role="group"][aria-invalid="true"] {
    outline: 2px solid var(--presale-danger);
    outline-offset: 0.5rem;
}

.golds-gym-presale__check {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.75rem;
    cursor: pointer;
}

.golds-gym-presale__check input {
    flex: 0 0 auto;
    width: 1.5rem;
    height: 1.5rem;
    margin: 0;
    accent-color: var(--presale-yellow);
    appearance: auto;
}

.golds-gym-presale__quantity {
    max-width: 10rem;
    margin-top: 1rem;
}

.golds-gym-presale button:not(.golds-gym-presale__plan),
.golds-gym-presale__button,
.golds-gym-presale [role="button"]:not(.golds-gym-presale__plan) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9375rem 1.875rem;
    border: 2px solid var(--presale-yellow);
    border-radius: 0.3125rem;
    background: var(--presale-yellow);
    color: var(--presale-bg);
    cursor: pointer;
    font-family: var(--presale-heading-font);
    font-size: var(--presale-action-size);
    font-weight: var(--presale-action-weight);
    letter-spacing: var(--presale-heading-tracking);
    line-height: var(--presale-action-line-height);
    text-align: center;
    text-decoration: none;
    text-transform: var(--presale-heading-transform);
    touch-action: manipulation;
}

.golds-gym-presale button:not(.golds-gym-presale__plan):hover:not(:disabled):not([aria-disabled="true"]),
.golds-gym-presale__button:hover:not([aria-disabled="true"]),
.golds-gym-presale [role="button"]:not(.golds-gym-presale__plan):hover:not([aria-disabled="true"]) {
    border-color: var(--presale-yellow);
    background: var(--presale-bg);
    color: var(--presale-yellow);
}

.golds-gym-presale button:not(.golds-gym-presale__plan):active:not(:disabled):not([aria-disabled="true"]),
.golds-gym-presale__button:active:not([aria-disabled="true"]),
.golds-gym-presale [role="button"]:not(.golds-gym-presale__plan):active:not([aria-disabled="true"]) {
    background: #332b00;
    color: var(--presale-text);
}

.golds-gym-presale button:not(.golds-gym-presale__plan):disabled,
.golds-gym-presale button:not(.golds-gym-presale__plan)[aria-disabled="true"],
.golds-gym-presale__button[aria-disabled="true"] {
    border-color: #666;
    background: #4b4b4b;
    color: #eee;
    cursor: not-allowed;
    opacity: 0.78;
}

.golds-gym-presale__account-tabs {
    display: flex;
    gap: 4px;
    align-items: stretch;
    margin-bottom: -1px;
    position: relative;
}

.golds-gym-presale .golds-gym-presale__account-tabs button[role="tab"] {
    width: auto;
    min-height: 48px;
    padding: 10px 16px;
    border: 1px solid var(--presale-border);
    border-radius: 0;
    background: var(--presale-bg);
    color: var(--presale-text);
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 1px;
}

.golds-gym-presale .golds-gym-presale__account-tabs button[aria-selected="true"] {
    border-bottom-color: var(--presale-bg);
    color: var(--presale-yellow);
}

.golds-gym-presale .golds-gym-presale__account-tabs button:hover {
    color: var(--presale-yellow);
}

.golds-gym-presale [role="tabpanel"][hidden] {
    display: none;
}

.golds-gym-presale__account-panels {
    min-width: 0;
}

.golds-gym-presale__account-panels > [role="tabpanel"] {
    min-width: 0;
}

.golds-gym-presale__account-panels :is(input, select, textarea, button) {
    transition-property: border-color, background-color, color;
}

.golds-gym-presale__login-fields {
    grid-template-columns: minmax(0, 1fr);
}

.golds-gym-presale #presale-account-recovery input:not([type="checkbox"]):not([type="radio"]) {
    border-color: #aab3c0;
    background: #e8f0fe;
    color: #202124;
    caret-color: #202124;
}

.golds-gym-presale #presale-account-recovery input::placeholder {
    color: #5f6368;
}

.golds-gym-presale #presale-account-recovery input[aria-invalid="true"] {
    border-color: var(--presale-error-edge);
}

.golds-gym-presale__login-error:empty {
    display: none;
}

.golds-gym-presale__login-error:not(:empty) {
    margin: 12px 0 0;
    color: var(--presale-text);
    font-size: 14px;
    line-height: 1.45;
}

.golds-gym-presale button.golds-gym-presale__login-assistance {
    display: block;
    margin: 20px 0 15px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--presale-text);
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.5;
    text-align: left;
    text-decoration: underline;
    text-transform: none;
    cursor: pointer;
}

.golds-gym-presale button.golds-gym-presale__login-submit {
    width: 100%;
}

.golds-gym-presale .golds-gym-presale__form-section[aria-labelledby="presale-password-reset-title"] > button.golds-gym-presale__login-submit {
    margin-top: 1rem;
}

.golds-gym-presale button.golds-gym-presale__login-back {
    width: 100%;
    margin-top: 1rem;
    border-color: var(--presale-border);
    background: transparent;
    color: var(--presale-text);
}

.golds-gym-presale__form-section > .golds-gym-presale__communications-title {
    margin-top: 30px;
}

.golds-gym-presale button.golds-gym-presale__button--secondary,
.golds-gym-presale [role="button"].golds-gym-presale__button--secondary {
    border-color: var(--presale-text);
    background: transparent;
    color: var(--presale-text);
}

.golds-gym-presale button.golds-gym-presale__button--secondary:hover:not(:disabled):not([aria-disabled="true"]),
.golds-gym-presale [role="button"].golds-gym-presale__button--secondary:hover:not(:disabled):not([aria-disabled="true"]) {
    border-color: var(--presale-yellow);
    background: transparent;
    color: var(--presale-yellow);
}

.golds-gym-presale button.golds-gym-presale__button--danger,
.golds-gym-presale [role="button"].golds-gym-presale__button--danger {
    border-color: var(--presale-danger);
    background: #5f111a;
    color: #fff;
}

.golds-gym-presale button.golds-gym-presale__button--danger:hover:not(:disabled):not([aria-disabled="true"]),
.golds-gym-presale [role="button"].golds-gym-presale__button--danger:hover:not(:disabled):not([aria-disabled="true"]) {
    border-color: #fff;
    background: #fff;
    color: #5f111a;
}

.golds-gym-presale__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 20px;
}

.golds-gym-presale__actions > * {
    flex: 1 1 100%;
}

.golds-gym-presale__review dl {
    margin: 0;
    padding: 0;
}

.golds-gym-presale__review dl > div {
    display: grid;
    gap: 0.25rem;
    padding-block: 0.875rem;
    border-bottom: 1px solid var(--presale-subtle-border);
}

.golds-gym-presale__review dl > div:first-child {
    padding-top: 0;
}

.golds-gym-presale__review dl > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.golds-gym-presale__review dt {
    color: var(--presale-muted);
    font-size: 1rem;
}

.golds-gym-presale__review dd {
    margin: 0;
}

.golds-gym-presale__review-choices {
    margin-top: 2rem;
}

.golds-gym-presale__review-choices ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.golds-gym-presale__review-choices li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    min-width: 0;
    padding-block: 0.75rem;
    border-bottom: 1px solid var(--presale-subtle-border);
}

.golds-gym-presale__review-choices li:last-child {
    border-bottom: 0;
}

.golds-gym-presale__review-choices li > span {
    flex: 1 1 12rem;
    min-width: 0;
}

.golds-gym-presale__review-choices strong {
    flex: 0 0 auto;
    color: var(--presale-yellow);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.golds-gym-presale__contract + .golds-gym-presale__contract {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--presale-subtle-border);
}

.golds-gym-presale__contract-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.golds-gym-presale__contract-heading > strong {
    flex: 1 1 16rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.golds-gym-presale__contract-heading > button {
    flex: 0 0 auto;
}

.golds-gym-presale__contract p {
    margin: 0.75rem 0;
    color: var(--presale-muted);
    line-height: 1.625;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.golds-gym-presale__contract .golds-gym-presale__contract-error {
    color: var(--presale-danger);
}

.golds-gym-presale__contract-viewer {
    display: grid;
    gap: 0.75rem;
    margin: 1rem 0;
}

.golds-gym-presale__contract-viewer iframe {
    width: 100%;
    min-height: 32rem;
    border: 1px solid var(--presale-subtle-border);
    background: #fff;
}

.golds-gym-presale__contract-viewer a {
    width: fit-content;
    color: var(--presale-yellow);
    font-family: var(--presale-heading-font);
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-decoration: underline;
}

.golds-gym-presale__contract > .golds-gym-presale__check {
    margin-top: 1rem;
}

@media (max-width: 47.99rem) {
    .golds-gym-presale__contract-heading > button {
        width: 100%;
    }

    .golds-gym-presale__contract-viewer iframe {
        min-height: 24rem;
    }
}

.golds-gym-presale__coupon-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.golds-gym-presale__coupon-controls input {
    flex: 1 1 13rem;
}

.golds-gym-presale__coupon-controls :is(input, button) {
    height: 2.75rem;
    min-height: 2.75rem;
}

.golds-gym-presale__coupon-controls button {
    padding-block: 0.5rem;
}

.golds-gym-presale__mobile-summary {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    max-height: 70vh;
    padding: 1rem max(1rem, env(safe-area-inset-right)) calc(1rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    border-top: 2px solid var(--presale-yellow);
    background: var(--presale-bg);
    overscroll-behavior: contain;
    overflow-y: auto;
}

.golds-gym-presale__mobile-summary:empty {
    display: none;
}

.golds-gym-presale button.golds-gym-presale__mobile-summary-toggle {
    justify-content: space-between;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--presale-text);
    text-align: left;
}

.golds-gym-presale button.golds-gym-presale__mobile-summary-toggle:hover:not(:disabled):not([aria-disabled="true"]) {
    background: transparent;
    color: var(--presale-yellow);
}

.golds-gym-presale__mobile-summary-toggle > span:first-child {
    display: grid;
    gap: 0.125rem;
    min-width: 0;
}

.golds-gym-presale__mobile-summary-toggle > span:last-child {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    color: var(--presale-yellow);
    font-size: 1.75rem;
    line-height: 1;
}

.golds-gym-presale__mobile-summary-toggle .golds-gym-presale__summary-compact-total {
    margin: 0;
    font-size: 1.875rem;
}

.golds-gym-presale__mobile-primary {
    width: 100%;
    margin-top: 0.75rem;
    overflow-wrap: anywhere;
    white-space: normal;
}

.golds-gym-presale__mobile-summary-content {
    display: none;
    min-width: 0;
    padding-top: 1rem;
}

.golds-gym-presale__mobile-summary.is-expanded .golds-gym-presale__mobile-summary-content,
.golds-gym-presale__mobile-summary[data-expanded="true"] .golds-gym-presale__mobile-summary-content {
    display: block;
}

@keyframes golds-gym-presale-spin {
    to {
        transform: rotate(1turn);
    }
}

@keyframes golds-gym-presale-error-toast {
    0% {
        opacity: 0;
        transform: translateY(calc(-100% - 2rem));
        animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    }

    10%,
    82% {
        opacity: 1;
        transform: translateY(0);
    }

    82% {
        animation-timing-function: cubic-bezier(0.7, 0, 0.84, 0);
    }

    100% {
        opacity: 0;
        transform: translateY(calc(-100% - 2rem));
    }
}

@media (max-width: 68.749rem) {
    .golds-gym-presale__step {
        scroll-margin-bottom: calc(var(--presale-mobile-summary-height, 7rem) + 1rem);
    }

    .golds-gym-presale__plan-price-main {
        font-size: 100px;
    }

    .golds-gym-presale__plan-price-decimals,
    .golds-gym-presale__plan-price-currency {
        font-size: 55px;
    }

    .golds-gym-presale__plan-price-period {
        font-size: 20px;
    }

    .golds-gym-presale__screen #presale-next,
    .golds-gym-presale__screen #presale-final-confirm,
    .golds-gym-presale__screen #presale-summary {
        display: none;
    }

    .golds-gym-presale :is(a, button, input, select, textarea, [tabindex]):focus {
        scroll-margin-bottom: calc(var(--presale-mobile-summary-height, 7rem) + 1rem);
    }
}

@media (min-width: 48rem) {
    .golds-gym-presale__fields--two-column,
    .golds-gym-presale__plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .golds-gym-presale__choice-heading {
        grid-template-areas:
            "copy price"
            "copy action";
        grid-template-columns: minmax(0, 1fr) minmax(13rem, auto);
    }

    .golds-gym-presale__choice-copy {
        grid-area: copy;
    }

    .golds-gym-presale__choice-price {
        grid-area: price;
        align-self: center;
        justify-self: end;
    }

    .golds-gym-presale .golds-gym-presale__option-action {
        grid-area: action;
        justify-self: end;
    }

    .golds-gym-presale__actions > * {
        flex: 0 1 auto;
    }

    .golds-gym-presale__actions > :not(.golds-gym-presale__button--secondary) {
        flex: 1 1 20rem;
    }
}

@media (min-width: 68.75rem) {
    .golds-gym-presale {
        padding-bottom: clamp(3rem, 6vw, 6rem);
    }

    .golds-gym-presale__layout {
        grid-template-columns: minmax(0, 1fr) 31.25rem;
        gap: 2.5rem;
        align-items: start;
    }

    .golds-gym-presale__summary-shell {
        display: block;
        position: sticky;
        top: 2rem;
        align-self: start;
        min-width: 0;
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
    }

    .golds-gym-presale__sidebar-controls {
        display: grid;
        gap: 1rem;
    }

    .golds-gym-presale__sidebar-controls [data-presale-step-action] {
        width: 100%;
        min-height: 3rem;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .golds-gym-presale__field:has(> #presale-incorporation-date-mobile) {
        display: none;
    }

    .golds-gym-presale__summary > h2 {
        display: none;
    }

    .golds-gym-presale__mobile-summary {
        display: none;
    }
}

@media (min-width: 68.75rem) and (max-width: 77.499rem) {
    .golds-gym-presale__plans {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (min-width: 77.5rem) {
    .golds-gym-presale__plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .golds-gym-presale .is-loading::before {
        animation: none;
        border-top-color: var(--presale-subtle-border);
    }

    .golds-gym-presale__errors--mobile-toast.is-presented {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

@media (forced-colors: active) {
    .golds-gym-presale__plan,
    .golds-gym-presale__choice,
    .golds-gym-presale__form-section,
    .golds-gym-presale__summary {
        border-color: CanvasText;
    }

    .golds-gym-presale__plan.is-selected,
    .golds-gym-presale__plan[aria-pressed="true"],
    .golds-gym-presale__choice.is-selected {
        border-color: Highlight;
        outline: 2px solid Highlight;
        outline-offset: 2px;
    }

    .golds-gym-presale .golds-gym-presale__option-action {
        border: 2px solid ButtonText;
        background: ButtonFace;
        color: ButtonText;
    }

    .golds-gym-presale .golds-gym-presale__option-action:has(input:checked) {
        border-color: Highlight;
        color: Highlight;
    }

    .golds-gym-presale__plan.is-selected::before,
    .golds-gym-presale__plan[aria-pressed="true"]::before {
        border-color: Highlight;
        background: Highlight;
    }

    .golds-gym-presale__plan.is-selected::after,
    .golds-gym-presale__plan[aria-pressed="true"]::after {
        background: Canvas;
    }

    .golds-gym-presale button[aria-disabled="true"],
    .golds-gym-presale button:disabled {
        color: GrayText;
    }
}
