/* LotoFlex Custom Orders: focused one-page checkout */

.lfx-special-checkout {
    --lfx-checkout-ink: var(--lfx-text, #354052);
    --lfx-checkout-muted: var(--lfx-text-muted, #6c757d);
    --lfx-checkout-surface: var(--lfx-surface, oklch(99.8% 0.002 250));
    --lfx-checkout-soft: var(--lfx-surface-2, #f8f9fa);
    --lfx-checkout-border: var(--lfx-border, #dee2e6);
    --lfx-checkout-primary: var(--lfx-primary, #206bc4);
    --lfx-checkout-success: var(--lfx-success, #2fb344);
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 0 24px 32px;
    color: var(--lfx-checkout-ink);
}

.lfx-custom-order-checkout .site-header.fixed-top + .lfx-checkout-theme-page .lfx-special-checkout {
    padding-top: 210px;
}

.lfx-payment-pending {
    width: min(100%, 720px);
    min-height: 52vh;
    display: grid;
    align-items: center;
}

.lfx-payment-pending__card {
    margin-top: 20px;
    padding: clamp(28px, 6vw, 52px);
    border: 1px solid var(--lfx-checkout-border);
    border-radius: 14px;
    background: var(--lfx-checkout-surface);
    text-align: center;
}

.lfx-payment-pending__icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--lfx-checkout-soft);
    color: var(--lfx-checkout-primary);
    font-size: 1.5rem;
}

.lfx-payment-pending h1 {
    max-width: 16ch;
    margin: 0 auto;
    color: var(--lfx-checkout-ink);
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.lfx-payment-pending__lead {
    max-width: 54ch;
    margin: 16px auto 0;
    color: var(--lfx-checkout-muted);
    font-size: 1.03rem;
    line-height: 1.55;
}

.lfx-payment-pending__notice {
    display: flex;
    max-width: 540px;
    gap: 12px;
    align-items: flex-start;
    margin: 28px auto 0;
    padding: 16px;
    border: 1px solid var(--lfx-checkout-border);
    border-radius: 10px;
    background: var(--lfx-checkout-soft);
    text-align: left;
}

.lfx-payment-pending__notice > i {
    margin-top: 1px;
    color: var(--lfx-checkout-primary);
    font-size: 1.2rem;
}

.lfx-payment-pending__notice strong {
    display: block;
    color: var(--lfx-checkout-ink);
    font-size: 0.9375rem;
}

.lfx-payment-pending__notice p,
.lfx-payment-pending__reference {
    margin: 4px 0 0;
    color: var(--lfx-checkout-muted);
    font-size: 0.875rem;
    line-height: 1.45;
}

.lfx-payment-pending__reference {
    margin-top: 22px;
}

.lfx-payment-pending--completed {
    width: min(100%, 1080px);
    align-items: start;
}

.lfx-payment-pending--completed .lfx-payment-pending__card {
    text-align: left;
}

.lfx-payment-pending--completed .lfx-payment-pending__icon,
.lfx-payment-pending--completed h1,
.lfx-payment-pending--completed .lfx-payment-pending__lead {
    margin-left: 0;
    margin-right: 0;
}

.lfx-payment-pending--completed .lfx-payment-pending__icon {
    margin-bottom: 14px;
    background: color-mix(in srgb, var(--lfx-checkout-success) 13%, var(--lfx-checkout-surface));
    color: var(--lfx-checkout-success);
}

.lfx-payment-confirmation__summary {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    gap: clamp(28px, 5vw, 56px);
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--lfx-checkout-border);
    text-align: left;
}

.lfx-payment-confirmation__section h2 {
    margin: 0;
    color: var(--lfx-checkout-ink);
    font-size: 1.125rem;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.lfx-payment-confirmation__heading {
    display: flex;
    gap: 12px;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}

.lfx-payment-confirmation__heading > span,
.lfx-payment-confirmation__draw header span {
    color: var(--lfx-checkout-muted);
    font-size: 0.8125rem;
}

.lfx-payment-confirmation__draw {
    padding: 16px 0;
    border-top: 1px solid var(--lfx-checkout-border);
}

.lfx-payment-confirmation__draw:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.lfx-payment-confirmation__draw header {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.lfx-payment-confirmation__draw img,
.lfx-payment-confirmation__ticket-placeholder {
    display: grid;
    width: 66px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--lfx-checkout-border);
    border-radius: 7px;
    background: var(--lfx-checkout-soft);
    color: var(--lfx-checkout-muted);
    object-fit: cover;
}

.lfx-payment-confirmation__draw header strong,
.lfx-payment-confirmation__draw header span {
    display: block;
}

.lfx-payment-confirmation__draw ul {
    padding: 0;
    margin: 14px 0 0;
    list-style: none;
}

.lfx-payment-confirmation__draw li,
.lfx-payment-confirmation__section dl > div {
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.lfx-payment-confirmation__draw li {
    padding: 9px 0;
    border-top: 1px solid color-mix(in srgb, var(--lfx-checkout-border) 72%, transparent);
    font-size: 0.875rem;
}

.lfx-payment-confirmation__draw li strong,
.lfx-payment-confirmation__draw li small {
    display: block;
}

.lfx-payment-confirmation__draw li small {
    margin-top: 2px;
    color: var(--lfx-checkout-muted);
    font-size: 0.75rem;
}

.lfx-payment-confirmation__section--details {
    min-width: 0;
}

.lfx-payment-confirmation__section--details > h2 {
    margin-bottom: 16px;
}

.lfx-payment-confirmation__section dl {
    padding: 0;
    margin: 0;
}

.lfx-payment-confirmation__section dl > div {
    padding: 11px 0;
    border-top: 1px solid var(--lfx-checkout-border);
    font-size: 0.875rem;
}

.lfx-payment-confirmation__section dt {
    color: var(--lfx-checkout-muted);
}

.lfx-payment-confirmation__section dd {
    max-width: 65%;
    margin: 0;
    color: var(--lfx-checkout-ink);
    font-weight: 650;
    text-align: right;
}

.lfx-payment-confirmation__section .lfx-payment-confirmation__address {
    display: block;
}

.lfx-payment-confirmation__address dd {
    max-width: none;
    margin-top: 5px;
    font-weight: 500;
    text-align: left;
}

.lfx-payment-confirmation__totals {
    margin-top: 24px !important;
}

.lfx-payment-confirmation__totals .lfx-payment-confirmation__total {
    margin-top: 4px;
    border-top-color: var(--lfx-checkout-ink);
    color: var(--lfx-checkout-ink);
    font-size: 1rem;
}

.lfx-payment-confirmation__total dt,
.lfx-payment-confirmation__total dd {
    color: inherit !important;
    font-weight: 750 !important;
}

.lfx-special-checkout__intro {
    max-width: 720px;
    margin: 48px 0 28px;
}

.lfx-checkout-eyebrow {
    margin: 0 0 7px;
    color: var(--lfx-checkout-muted);
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lfx-special-checkout__intro h1,
.lfx-checkout-error h1,
.lfx-checkout-unavailable h2 {
    margin: 0;
    color: var(--lfx-checkout-ink);
    font-size: 2rem;
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.lfx-special-checkout__intro > p:not(.lfx-checkout-eyebrow),
.lfx-checkout-section__heading p,
.lfx-checkout-auth__lead,
.lfx-checkout-unavailable p {
    margin: 9px 0 0;
    color: var(--lfx-checkout-muted);
    line-height: 1.5;
}

ol.lfx-checkout-path {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none !important;
    list-style-type: none !important;
}

.lfx-special-checkout ol.lfx-checkout-path > li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    padding: 0;
    margin: 0;
    color: var(--lfx-checkout-muted);
    font-size: 0.8125rem;
    line-height: 1.35;
    list-style: none !important;
}

.lfx-checkout-path li > span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: var(--lfx-checkout-soft);
    color: var(--lfx-checkout-primary);
    font-size: 0.75rem;
    font-weight: 750;
}

.lfx-checkout-path strong {
    color: var(--lfx-checkout-ink);
    font-size: 0.8125rem;
}

.lfx-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(320px, 0.78fr);
    gap: clamp(32px, 6vw, 76px);
    align-items: start;
}

.lfx-checkout-main {
    min-width: 0;
}

.lfx-checkout-section,
.lfx-checkout-action {
    padding: 0 0 32px;
    margin: 0 0 32px;
    border-bottom: 1px solid var(--lfx-checkout-border);
}

.lfx-checkout-section__heading {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-bottom: 20px;
}

.lfx-checkout-step {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: var(--lfx-checkout-soft);
    color: var(--lfx-checkout-primary);
    font-size: 0.8125rem;
    font-weight: 750;
}

.lfx-checkout-section h2 {
    margin: 2px 0 0;
    color: var(--lfx-checkout-ink);
    font-size: 1.25rem;
    font-weight: 720;
    letter-spacing: -0.02em;
}

.lfx-checkout-section__heading p {
    font-size: 0.9375rem;
}

.lfx-checkout-section--substep {
    padding-top: 2px;
}

.lfx-checkout-section--substep .lfx-checkout-section__heading {
    grid-template-columns: 1fr;
    padding: 16px;
    margin-bottom: 18px;
    border-radius: 10px;
    background: var(--lfx-checkout-soft);
}

.lfx-checkout-section--substep .lfx-checkout-eyebrow {
    margin-bottom: 5px;
}

.lfx-checkout-account,
.lfx-checkout-notice,
.lfx-checkout-unavailable,
.lfx-checkout-error {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid var(--lfx-checkout-border);
    border-radius: 10px;
    background: var(--lfx-checkout-soft);
}

.lfx-checkout-account {
    margin: 0 0 18px;
    color: color-mix(in srgb, var(--lfx-checkout-success) 78%, var(--lfx-checkout-ink));
    font-size: 0.9375rem;
}

.lfx-checkout-account i,
.lfx-checkout-notice > i,
.lfx-checkout-error > i,
.lfx-checkout-unavailable > i {
    flex: 0 0 auto;
    margin-top: 1px;
    font-size: 1.2rem;
}

.lfx-checkout-notice {
    max-width: 700px;
    margin: 0 0 24px;
}

.lfx-checkout-notice p {
    margin: 3px 0 0;
    color: var(--lfx-checkout-muted);
    font-size: 0.9375rem;
}

.lfx-checkout-notice--success {
    color: var(--lfx-checkout-success);
}

.lfx-checkout-notice--danger,
.lfx-checkout-error {
    color: var(--lfx-danger, #d63384);
}

.lfx-checkout-notice--warning {
    color: var(--lfx-warning, #f76707);
}

.lfx-checkout-spinner {
    animation: lfx-checkout-spin 0.8s linear infinite;
}

.lfx-checkout-fields {
    display: grid;
    gap: 16px;
}

.lfx-checkout-fields--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lfx-checkout-field--full {
    grid-column: 1 / -1;
}

.lfx-checkout-field {
    min-width: 0;
}

.lfx-checkout-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--lfx-checkout-ink);
    font-size: 0.875rem;
    font-weight: 650;
}

.lfx-checkout-field input {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--lfx-checkout-border);
    border-radius: 8px;
    background: var(--lfx-checkout-surface);
    color: var(--lfx-checkout-ink);
    font: inherit;
    line-height: 1.3;
    transition: border-color 160ms ease-out, box-shadow 160ms ease-out;
}

.lfx-checkout-field input[readonly] {
    background: var(--lfx-checkout-soft);
    color: var(--lfx-checkout-muted);
}

.lfx-checkout-field input:focus-visible,
.lfx-checkout-button:focus-visible,
.lfx-checkout-auth__tabs button:focus-visible,
.lfx-checkout-choice:focus-within,
.lfx-checkout-payment-option:focus-within,
.lfx-checkout-check:focus-within,
.lfx-checkout-summary summary:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--lfx-checkout-primary) 30%, transparent);
    outline-offset: 2px;
}

.lfx-checkout-field input:focus {
    border-color: var(--lfx-checkout-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--lfx-checkout-primary) 14%, transparent);
    outline: none;
}

.lfx-checkout-auth {
    border: 1px solid var(--lfx-checkout-border);
    border-radius: 10px;
    overflow: hidden;
}

.lfx-checkout-auth__tabs {
    display: flex;
    border-bottom: 1px solid var(--lfx-checkout-border);
    background: var(--lfx-checkout-soft);
}

.lfx-checkout-auth__tabs button {
    min-height: 48px;
    flex: 1;
    padding: 0 16px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--lfx-checkout-muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 680;
}

.lfx-checkout-auth__tabs button.is-active {
    border-bottom-color: var(--lfx-checkout-primary);
    background: var(--lfx-checkout-surface);
    color: var(--lfx-checkout-ink);
}

.lfx-checkout-auth [role='tabpanel'] {
    padding: 20px;
}

.lfx-checkout-auth__lead {
    margin: 0 0 18px;
    font-size: 0.9375rem;
}

.lfx-checkout-auth-error {
    margin: 16px 20px 0;
    padding: 10px 12px;
    border-radius: 7px;
    background: color-mix(in srgb, var(--lfx-danger, #d63384) 12%, var(--lfx-checkout-surface));
    color: var(--lfx-danger, #d63384);
    font-size: 0.875rem;
    font-weight: 600;
}

.lfx-checkout-form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.lfx-checkout-form-footer a {
    color: var(--lfx-checkout-primary);
    font-size: 0.875rem;
}

.lfx-checkout-required {
    color: var(--lfx-checkout-muted);
    font-size: 0.8125rem;
}

.lfx-checkout-legal-note {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    background: var(--lfx-checkout-soft);
    color: var(--lfx-checkout-muted);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.lfx-checkout-choice-list {
    display: grid;
    gap: 10px;
}

.lfx-checkout-choice,
.lfx-checkout-payment-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--lfx-checkout-border);
    border-radius: 10px;
    background: var(--lfx-checkout-surface);
    cursor: pointer;
    transition: border-color 160ms ease-out, background-color 160ms ease-out;
}

.lfx-checkout-choice:has(input:checked),
.lfx-checkout-payment-option:has(input:checked) {
    border-color: var(--lfx-checkout-primary);
    background: color-mix(in srgb, var(--lfx-checkout-primary) 5%, var(--lfx-checkout-surface));
}

.lfx-checkout-choice input,
.lfx-checkout-payment-option input,
.lfx-checkout-check input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--lfx-checkout-primary);
}

.lfx-checkout-choice__body {
    display: flex;
    min-width: 0;
    gap: 10px;
    align-items: center;
}

.lfx-checkout-choice__body > i,
.lfx-checkout-payment-option i {
    color: var(--lfx-checkout-primary);
    font-size: 1.2rem;
}

.lfx-checkout-choice__body span,
.lfx-checkout-payment-option > span {
    min-width: 0;
}

.lfx-checkout-choice strong,
.lfx-checkout-payment-option strong {
    display: block;
    color: var(--lfx-checkout-ink);
    font-size: 0.9375rem;
}

.lfx-checkout-choice small,
.lfx-checkout-payment-option small {
    display: block;
    margin-top: 3px;
    color: var(--lfx-checkout-muted);
    font-size: 0.8125rem;
    line-height: 1.35;
}

.lfx-checkout-choice .lfx-checkout-choice__warning {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 8px;
    padding: 7px 9px;
    border: 1px solid color-mix(in srgb, var(--lfx-warning, #f76707) 35%, var(--lfx-checkout-border));
    border-radius: 7px;
    background: color-mix(in srgb, var(--lfx-warning, #f76707) 9%, var(--lfx-checkout-surface));
    color: color-mix(in srgb, var(--lfx-warning, #f76707) 72%, var(--lfx-checkout-ink));
    font-weight: 650;
}

.lfx-checkout-choice .lfx-checkout-choice__warning i {
    margin-top: 1px;
    color: inherit;
    font-size: 0.95rem;
}

.lfx-checkout-choice__price {
    color: var(--lfx-checkout-success);
    font-size: 0.875rem;
    white-space: nowrap;
}

.lfx-checkout-payment-option {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.lfx-checkout-payment-option > span {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 10px;
}

.lfx-checkout-payment-option .lfx-card-badges,
.lfx-checkout-payment-option .card-badges {
    justify-self: end;
}

.lfx-checkout-action {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.lfx-checkout-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0 0 14px;
    color: var(--lfx-checkout-muted);
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.45;
}

.lfx-checkout-check a {
    color: var(--lfx-checkout-primary);
}

.lfx-checkout-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 720;
    text-decoration: none;
    transition: background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out;
}

.lfx-checkout-button--primary {
    width: 100%;
    min-height: 54px;
    background: var(--lfx-checkout-primary);
    color: var(--lfx-primary-contrast, oklch(99.8% 0.002 250));
}

.lfx-checkout-button--primary:hover:not(:disabled) {
    background: color-mix(in srgb, var(--lfx-checkout-primary) 86%, var(--lfx-checkout-ink));
    color: var(--lfx-primary-contrast, oklch(99.8% 0.002 250));
}

.lfx-checkout-button--secondary {
    border-color: var(--lfx-checkout-border);
    background: var(--lfx-checkout-surface);
    color: var(--lfx-checkout-ink);
}

.lfx-checkout-button--secondary:hover:not(:disabled) {
    border-color: var(--lfx-checkout-primary);
    color: var(--lfx-checkout-primary);
}

.lfx-checkout-button:disabled {
    cursor: not-allowed;
    opacity: 0.52;
}

.lfx-button-loading {
    display: none;
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: lfx-checkout-spin 0.8s linear infinite;
}

.lfx-checkout-button.is-loading .btn-text,
.lfx-checkout-button.is-loading > i {
    display: none;
}

.lfx-checkout-button.is-loading .lfx-button-loading {
    display: block;
}

.lfx-checkout-action__hint {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 12px 0 0;
    color: var(--lfx-checkout-muted);
    font-size: 0.8125rem;
    text-align: center;
}

.lfx-checkout-payment-error {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--lfx-danger, #d63384) 12%, var(--lfx-checkout-surface));
    color: var(--lfx-danger, #d63384);
    font-size: 0.875rem;
    font-weight: 600;
}

.lfx-checkout-summary {
    position: sticky;
    top: 24px;
}

.lfx-checkout-summary__details {
    border: 1px solid var(--lfx-checkout-border);
    border-radius: 12px;
    background: var(--lfx-checkout-soft);
}

.lfx-checkout-summary__details > summary {
    display: none;
}

.lfx-checkout-summary__content {
    padding: 22px;
}

.lfx-checkout-summary h2 {
    margin: 0 0 20px;
    color: var(--lfx-checkout-ink);
    font-size: 1.125rem;
    font-weight: 720;
}

.lfx-checkout-summary__lead {
    margin: -10px 0 17px;
    color: var(--lfx-checkout-muted);
    font-size: 0.875rem;
}

.lfx-checkout-draws {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.lfx-checkout-draw {
    border-top: 1px solid var(--lfx-checkout-border);
    border-bottom: 1px solid var(--lfx-checkout-border);
}

.lfx-checkout-draw__header {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 13px 0;
}

.lfx-checkout-draw__header img,
.lfx-checkout-summary__placeholder {
    display: block;
    width: 88px;
    height: 50px;
    border: 1px solid var(--lfx-checkout-border);
    border-radius: 8px;
    object-fit: cover;
}

.lfx-checkout-summary__placeholder {
    display: grid;
    place-items: center;
    background: var(--lfx-checkout-surface);
    color: var(--lfx-checkout-primary);
    font-size: 1.4rem;
}

.lfx-checkout-draw__header strong,
.lfx-checkout-draw__header span,
.lfx-checkout-draw__header small {
    display: block;
}

.lfx-checkout-draw__header strong {
    color: var(--lfx-checkout-ink);
    font-size: 0.9375rem;
    line-height: 1.3;
}

.lfx-checkout-draw__header span,
.lfx-checkout-draw__header small {
    margin-top: 3px;
    color: var(--lfx-checkout-muted);
    font-size: 0.8125rem;
}

.lfx-checkout-tickets {
    margin: 0;
    border-top: 1px solid var(--lfx-checkout-border);
}

.lfx-checkout-summary__details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    color: var(--lfx-checkout-primary);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 680;
    list-style: none;
}

.lfx-checkout-summary__details > summary::-webkit-details-marker {
    display: none;
}

.lfx-checkout-summary__toggle i {
    transition: transform 160ms ease-out;
}

.lfx-checkout-summary__details[open] .lfx-checkout-summary__toggle i {
    transform: rotate(180deg);
}

.lfx-checkout-tickets ul {
    display: grid;
    gap: 10px;
    padding: 13px 0 14px;
    margin: 0;
    list-style: none;
}

.lfx-checkout-tickets li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--lfx-checkout-muted);
    font-size: 0.8125rem;
}

.lfx-checkout-tickets li > span:first-child {
    min-width: 0;
}

.lfx-checkout-tickets li strong,
.lfx-checkout-tickets li small {
    display: block;
}

.lfx-checkout-tickets li strong {
    color: var(--lfx-checkout-ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
}

.lfx-checkout-tickets li small {
    overflow: hidden;
    color: var(--lfx-checkout-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lfx-checkout-tickets li > span:last-child {
    flex: 0 0 auto;
    color: var(--lfx-checkout-ink);
    font-weight: 650;
}

.lfx-checkout-summary__purchase {
    margin-top: 20px;
    padding: 16px;
    border: 1px solid var(--lfx-checkout-border);
    border-radius: 10px;
    background: var(--lfx-checkout-soft);
}

.lfx-checkout-summary__note {
    padding: 0 0 15px;
    margin: 0 0 15px;
    border-bottom: 1px solid var(--lfx-checkout-border);
    color: var(--lfx-checkout-muted);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.lfx-checkout-summary__totals {
    display: grid;
    gap: 9px;
    padding: 0;
    margin: 0;
}

.lfx-checkout-summary__totals > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--lfx-checkout-muted);
    font-size: 0.875rem;
}

.lfx-checkout-summary__totals dt,
.lfx-checkout-summary__totals dd {
    margin: 0;
}

.lfx-checkout-summary__total {
    padding-top: 14px;
    margin-top: 5px;
    border-top: 1px solid var(--lfx-checkout-border);
    color: var(--lfx-checkout-ink) !important;
    font-size: 1rem !important;
    font-weight: 750;
}

.lfx-checkout-summary__mobile-label,
.lfx-checkout-summary__toggle {
    display: none;
}

.lfx-checkout-unavailable,
.lfx-checkout-error {
    margin: 0;
}

.lfx-checkout-unavailable h2 {
    font-size: 1.35rem;
}

.lfx-checkout-error {
    max-width: 680px;
    margin: 64px auto;
    padding: 28px;
}

.lfx-checkout-error p {
    margin: 10px 0 20px;
    color: var(--lfx-checkout-muted);
}

@keyframes lfx-checkout-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
    .lfx-custom-order-checkout .site-header.fixed-top + .lfx-checkout-theme-page .lfx-special-checkout {
        padding-top: 128px;
    }

    .lfx-checkout-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .lfx-checkout-summary {
        position: static;
        order: -1;
    }

    .lfx-checkout-summary__details > summary {
        display: flex;
        padding: 0 16px;
    }

    .lfx-checkout-summary__content {
        padding: 0 16px 18px;
    }

    .lfx-checkout-summary h2 {
        display: none;
    }

    .lfx-checkout-summary__mobile-label,
    .lfx-checkout-summary__toggle {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    .lfx-checkout-summary__details > summary > span:first-child {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: var(--lfx-checkout-ink);
    }

    .lfx-checkout-summary__details > summary > span:first-child strong {
        color: var(--lfx-checkout-primary);
    }

    .lfx-payment-confirmation__summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .lfx-special-checkout {
        padding: 0 16px 24px;
    }

    .lfx-special-checkout__intro {
        margin: 30px 0 22px;
    }

    .lfx-special-checkout__intro h1,
    .lfx-checkout-error h1 {
        font-size: 1.65rem;
    }

    .lfx-checkout-path {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .lfx-checkout-draw__header {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .lfx-checkout-draw__header img,
    .lfx-checkout-summary__placeholder {
        width: 72px;
        height: 42px;
    }

    .lfx-checkout-section,
    .lfx-checkout-action {
        padding-bottom: 25px;
        margin-bottom: 25px;
    }

    .lfx-checkout-fields--two {
        grid-template-columns: 1fr;
    }

    .lfx-checkout-field--full {
        grid-column: auto;
    }

    .lfx-checkout-choice {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .lfx-checkout-choice__price {
        grid-column: 2;
        justify-self: start;
    }

    .lfx-checkout-payment-option {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .lfx-checkout-payment-option .lfx-card-badges,
    .lfx-checkout-payment-option .card-badges {
        display: none;
    }

    .lfx-checkout-form-footer {
        align-items: stretch;
    }

    .lfx-checkout-form-footer .lfx-checkout-button {
        width: 100%;
    }

    .lfx-checkout-auth [role='tabpanel'] {
        padding: 16px;
    }

    .lfx-checkout-auth-error {
        margin-right: 16px;
        margin-left: 16px;
    }

    .lfx-payment-pending__card {
        padding: 24px 18px;
    }

    .lfx-payment-confirmation__summary {
        margin-top: 26px;
        padding-top: 22px;
    }

    .lfx-payment-confirmation__draw header {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .lfx-payment-confirmation__draw img,
    .lfx-payment-confirmation__ticket-placeholder {
        width: 54px;
        height: 38px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .lfx-special-checkout *,
    .lfx-special-checkout *::before,
    .lfx-special-checkout *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
