/* Checkout geometry follows the reference; EHC content and payment flow remain local. */
.checkout-page{--checkout-ink:#18181b;--checkout-accent:#004225;--checkout-accent-soft:#edf3ef;--checkout-muted:rgba(9,9,11,.5);--checkout-line:rgba(9,9,11,.1);background:#fafafa;color:var(--checkout-ink)}
.checkout-page .membership-purchase{--join-ink:var(--checkout-ink);--join-muted:var(--checkout-muted);--join-line:var(--checkout-line)}
.checkout-header,.checkout-layout,.checkout-footer{width:calc(100% - 32px);max-width:480px;margin-left:auto;margin-right:auto}
.checkout-header{position:relative;height:80px}
.checkout-header .club-signature{position:absolute;top:40px;left:0;min-height:0;height:16px;justify-self:auto}
.checkout-header .club-logo{font-size:23px;line-height:16px}
.checkout-back{position:absolute;top:28px;right:0;display:inline-flex;align-items:center;gap:8px;min-height:40px;font-size:12px;line-height:16px;color:var(--checkout-muted)}
.checkout-back:hover{color:var(--checkout-ink)}
.checkout-back .ui-icon{width:14px;height:14px}
.checkout-layout{display:flex;flex-direction:column;align-items:stretch;gap:24px;margin-bottom:80px}
.checkout-main{display:contents;min-width:0}
.checkout-intro{order:0;min-width:0}
.checkout-eyebrow{display:inline-block;padding:3px 8px;margin:0 0 16px;border-radius:6px;background:var(--checkout-accent-soft);color:var(--checkout-accent);font-size:14px;line-height:20px}
.checkout-intro h1{margin:0;font-size:28px;line-height:32px;letter-spacing:-.63px;font-weight:400}
.checkout-deck{margin:12px 0 0;font-size:14px;line-height:20px;color:var(--checkout-muted);text-wrap:pretty}
.checkout-trust{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-top:24px}
.checkout-trust>p{font-size:14px;line-height:20px;color:var(--checkout-muted)}
.checkout-trust-logos{display:flex;align-items:center;gap:24px;list-style:none;padding:0;margin:0}
.checkout-trust-logos li{display:flex;align-items:center;justify-content:center;min-width:0}
.checkout-trust-logos .company-logo{height:18px;width:auto;max-width:100%;object-fit:contain;opacity:.45}
.checkout-form{order:2;min-width:0;width:100%}
.checkout-page .membership-section-title{display:flex;align-items:center;gap:8px;margin:0 0 24px;font-size:16px;line-height:22px;font-weight:400;letter-spacing:0}
.checkout-step{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;border-radius:6px;background:var(--checkout-accent);color:#fff;font-size:14px;line-height:20px;letter-spacing:0}
.checkout-page .join-field{margin-bottom:20px}
.checkout-page .join-field label{margin-bottom:8px;font-size:14px;line-height:20px}
.checkout-page .join-field input,.checkout-page .join-select-trigger,.checkout-page .join-field select{height:54px;min-height:54px;padding:15px 24px;border:1px solid var(--checkout-line);border-radius:12px;background:#fff;color:var(--checkout-ink);font-size:16px;line-height:22px;box-shadow:0 1px 2px rgba(9,9,11,.04)}
.checkout-page .join-field input::placeholder,.checkout-page .join-select-trigger.is-placeholder,.checkout-page .join-field select:has(option:checked[value=""]){color:rgba(9,9,11,.4)}
.checkout-page .join-field select{padding-right:48px}
.checkout-page .join-select>.ui-icon{right:24px}
.checkout-page .join-select-trigger>.ui-icon{color:var(--checkout-muted)}
.checkout-page .join-select-option{font-size:16px;line-height:22px}
.checkout-page .join-field input:focus,.checkout-page .join-field select:focus,.checkout-page .join-select-trigger:focus-visible{outline:none;border-color:var(--checkout-accent);box-shadow:0 0 0 1px var(--checkout-accent)}
.checkout-page .join-field input{caret-color:var(--checkout-accent)}
.checkout-page .checkout-promotion{margin-top:20px}.checkout-promotion label span{color:var(--checkout-muted)}
.checkout-page .join-select.is-open .join-select-trigger{border-color:var(--checkout-accent);box-shadow:0 0 0 1px var(--checkout-accent)}
.checkout-page .join-select.is-enhanced>select{height:1px;min-height:0;padding:0;border:0;box-shadow:none}
.checkout-page .membership-section{margin-top:28px;padding-top:24px;border-color:var(--checkout-line)}
.checkout-page .membership-payment:has(.payment-element[hidden]):not(:has(.payment-success:not([hidden]))) .membership-section-title{opacity:.5}
.checkout-page .membership-section:first-child{margin-top:0;padding-top:0;border:0}
.checkout-page .residence-note{font-size:12px;line-height:18px;color:var(--checkout-muted)}
.checkout-page .payment-message{margin-bottom:16px;padding:17px 20px;border:1px solid var(--checkout-line);border-radius:12px;background:transparent;font-size:14px;line-height:20px;color:var(--checkout-muted)}
.checkout-page .membership-payment .join-button{min-height:54px;padding:15px 20px;border-color:var(--checkout-ink);border-radius:12px;background:var(--checkout-ink);font-size:16px;line-height:22px}
.checkout-page .membership-payment .join-button:not(:disabled):hover{background:#303034}
.checkout-page .payment-success{padding:24px;border:1px solid var(--checkout-line);border-radius:24px;background:#fff}
.checkout-page .payment-legal-notice,.checkout-page .membership-reassurance p{font-size:12px;line-height:18px;color:var(--checkout-muted)}
.checkout-summary{order:1;position:static;min-width:0;width:100%;padding:16px;border:1px solid var(--checkout-line);border-radius:24px;background:#fff}
.checkout-summary>h2{margin:0 0 16px;color:var(--checkout-muted);font-size:16px;line-height:22px;font-weight:400;letter-spacing:0}
.checkout-summary>h3{margin:0 0 8px;font-size:20px;line-height:23px;letter-spacing:-.4px;font-weight:400}
.checkout-summary-description{margin:0;color:var(--checkout-muted);font-size:14px;line-height:20px;text-wrap:pretty}
.checkout-plan{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-top:16px;padding:16px 0;border-top:1px solid var(--checkout-line);font-size:16px;line-height:22px}
.checkout-plan>span:last-child{white-space:nowrap;color:var(--checkout-muted)}
.checkout-plan strong{color:var(--checkout-ink);font-weight:400}
.checkout-summary .order-total{gap:16px;margin-top:0;padding-top:16px;border-color:var(--checkout-line);font-size:16px;line-height:22px}
.checkout-summary .order-total-details{align-items:flex-start;gap:16px;margin:16px 0 0}
.checkout-summary .renewal-note,.checkout-summary .order-currency{font-size:12px;line-height:18px}
.checkout-summary .renewal-note{color:var(--checkout-accent)}

/* The controls sit inside the framed artwork, matching the reference carousel. */
.checkout-carousel{position:relative;min-width:0;aspect-ratio:3 / 2;margin:0 0 16px;border:1px solid var(--checkout-line);border-radius:24px;background:#fafafa;overflow:hidden}
.checkout-carousel-track{display:flex;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;border-radius:inherit}
.checkout-carousel-track::-webkit-scrollbar{display:none}
.checkout-carousel-track:focus-visible{outline:2px solid var(--checkout-ink);outline-offset:-3px}
.checkout-carousel-slide{position:relative;flex:0 0 100%;min-width:0;height:100%;margin:0;overflow:hidden;scroll-snap-align:start;scroll-snap-stop:always;background:#fafafa}
.checkout-carousel-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.checkout-carousel-controls{position:absolute;right:16px;bottom:16px;display:flex;align-items:center;padding:8px 16px;border-radius:999px;background:rgba(0,0,0,.5);color:#fff;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.checkout-carousel-controls button{display:grid;place-items:center;flex-shrink:0;min-width:24px;height:24px;padding:8px;border:0;border-radius:999px;background:transparent}
.checkout-carousel-controls button::before{content:"";width:8px;height:8px;border-radius:999px;background:#fff;opacity:.4;transition:width .3s cubic-bezier(.19,1,.22,1),opacity .3s cubic-bezier(.19,1,.22,1)}
.checkout-carousel-controls button[aria-current="true"]::before{width:32px;opacity:1}
.checkout-carousel-controls button:hover::before{opacity:1}
.checkout-carousel-controls button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.checkout-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px 30px;margin-bottom:30px;padding-top:24px;border-top:1px solid var(--checkout-line);color:var(--checkout-muted);font-size:11px;line-height:16px}
.checkout-footer nav{display:flex;flex-wrap:wrap;gap:0 18px}
.checkout-footer nav a{display:inline-flex;align-items:center;min-height:44px}
.checkout-footer a:hover{color:var(--checkout-ink)}
.checkout-company{flex-basis:100%;font-size:10px}
@media(min-width:480px){.checkout-header,.checkout-layout,.checkout-footer{width:calc(100% - 64px)}.checkout-summary{padding:20px}.checkout-trust-logos{gap:12px}}
@media(min-width:768px){.checkout-header,.checkout-layout,.checkout-footer{max-width:1024px}.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:32px}.checkout-main{display:block}.checkout-intro{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--checkout-line)}.checkout-summary{position:sticky;top:24px}.checkout-trust-logos{gap:24px}}
@media(min-width:1024px){.checkout-header,.checkout-layout,.checkout-footer{width:calc(100% - 128px)}.checkout-layout{gap:64px}.checkout-trust-logos{gap:12px}.checkout-footer nav{gap:0 24px}}
@media(max-width:479px){.checkout-back{max-width:106px;font-size:11px;line-height:15px;gap:6px}.checkout-trust>p{font-size:14px}}
@media(prefers-reduced-motion:reduce){.checkout-carousel-controls button::before{transition:none}}
