/* Checkout presentation only. Scoped to the managed payment page.
   No provider-widget, iframe, token, retry or countdown behaviour is changed. */
.sgportal-checkout .sgportal-shell{min-height:100vh;min-height:100dvh}
.sgportal-checkout .sgcheckout-header{position:static;background:var(--sg-portal-dark);color:#fff;border-bottom:3px solid var(--sg-portal-primary)}
.sgportal-checkout .sgcheckout-header__inner{width:min(1040px,calc(100% - 40px));min-height:76px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0}
.sgportal-checkout .sgcheckout-brand{display:flex;align-items:center;gap:12px;min-width:0}
.sgportal-checkout .sgcheckout-brand img{display:block;flex:0 0 44px;width:44px;height:44px;max-width:44px;object-fit:contain}
.sgportal-checkout .sgcheckout-brand>span{display:grid;min-width:0;gap:4px;line-height:1.15}
.sgportal-checkout .sgcheckout-brand strong{font-size:23px;font-weight:800;letter-spacing:-.025em;overflow-wrap:anywhere}
.sgportal-checkout .sgcheckout-brand small{font-size:10px;letter-spacing:.10em;text-transform:uppercase;color:#d9d7d7;line-height:1.4}
.sgportal-checkout .sgcheckout-header__label{flex:0 0 auto;color:#eeeded;font-size:13px;font-weight:600;line-height:1.4}
.sgportal-checkout .sgportal-main{min-width:0;padding:0 0 20px}
.sgportal-checkout .sgpay{width:min(760px,calc(100% - 40px));margin:38px auto 28px;padding:clamp(24px,4vw,44px);background:var(--sg-portal-surface);border-color:var(--sg-portal-line);color:var(--sg-portal-text);font-family:inherit;box-shadow:0 16px 48px rgba(0,0,0,.07);overflow:visible}
.sgportal-checkout .sgpay h1{color:var(--sg-portal-text);font-size:clamp(29px,4.6vw,42px);line-height:1.12;overflow-wrap:break-word}
.sgportal-checkout .sgpay>p{color:var(--sg-portal-muted);font-size:16px;line-height:1.6}
.sgportal-checkout .sgpay>.sgpay__eyebrow{color:var(--sg-portal-text);font-size:11px;font-weight:850;line-height:1.5;letter-spacing:.14em;margin-bottom:10px}
.sgportal-checkout .sgpay>.sgpay__eyebrow.is-error{color:#b42318}
.sgportal-checkout .sgpay.is-error{border-color:#f3c7c4}
.sgportal-checkout .sgpay__details{border-color:var(--sg-portal-line)}
.sgportal-checkout .sgpay__details div{background:var(--sg-portal-surface)}
.sgportal-checkout .sgpay__details div:nth-child(odd){background:var(--sg-portal-background)}
.sgportal-checkout .sgpay__details dt{color:var(--sg-portal-muted);overflow-wrap:anywhere}
.sgportal-checkout .sgpay__details dd{color:var(--sg-portal-text);min-width:0;overflow-wrap:anywhere}
.sgportal-checkout .sgpay__details dd.sgpay__entitlement{color:#7b5500}
.sgportal-checkout .sgpay__countdown{background:var(--sg-portal-dark);color:#fff;border:1px solid var(--sg-portal-dark);border-left:4px solid var(--sg-portal-primary)}
.sgportal-checkout .sgpay__countdown strong{color:#fff}
/* Only Core-owned actions are branded. Payment-widget buttons are not selected. */
.sgportal-checkout .sgpay__actions .sgpay__action-button{background:var(--sg-portal-primary);color:var(--sg-portal-primary-contrast);box-shadow:none;font-family:inherit;line-height:1.4;padding:13px 20px;text-align:center}
.sgportal-checkout .sgpay__actions .sgpay__action-link{background:var(--sg-portal-surface);color:var(--sg-portal-text);border-color:var(--sg-portal-line);line-height:1.4;padding:13px 20px;text-align:center}
.sgportal-checkout .sgpay__actions .sgpay__action-button:hover,.sgportal-checkout .sgpay__actions .sgpay__action-link:hover{filter:brightness(.96);transform:none}
.sgportal-checkout .sgpay__actions .sgpay__action-button:focus-visible,.sgportal-checkout .sgpay__actions .sgpay__action-link:focus-visible{outline:3px solid var(--sg-portal-dark);outline-offset:3px}
.sgportal-checkout .sgcheckout-footer{position:static;margin-top:auto;background:var(--sg-portal-dark);color:#fff;border-top:3px solid var(--sg-portal-primary)}
.sgportal-checkout .sgcheckout-footer__inner,.sgportal-checkout .sgcheckout-footer__bottom{width:min(1040px,calc(100% - 40px));margin:0 auto}
.sgportal-checkout .sgcheckout-footer__inner{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;padding:28px 0 20px}
.sgportal-checkout .sgcheckout-footer__venue{min-width:0;flex:1 1 45%;overflow-wrap:anywhere}
.sgportal-checkout .sgcheckout-footer__venue>strong{display:block;font-size:18px;line-height:1.35;margin-bottom:8px;color:#fff}
.sgportal-checkout .sgcheckout-footer__venue p{margin:0 0 4px;font-size:13px;color:#dfdddd;line-height:1.6}
.sgportal-checkout .sgcheckout-footer__contact{display:flex;flex-wrap:wrap;gap:0 18px}
.sgportal-checkout .sgcheckout-footer__links{display:flex;flex:0 1 auto;flex-direction:column;align-items:flex-start;min-width:0}
.sgportal-checkout .sgcheckout-footer a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;font-size:13px;line-height:1.5;color:#f6f5f4;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;overflow-wrap:anywhere}
.sgportal-checkout .sgcheckout-footer a:hover{color:#fff;text-decoration-thickness:2px}
.sgportal-checkout .sgcheckout-footer a:focus-visible{outline:2px solid #fff;outline-offset:3px;border-radius:2px}
.sgportal-checkout .sgcheckout-footer__bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;padding:16px 0 max(18px,env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.2);font-size:11px;color:#cfcccc;line-height:1.7}
.sgportal-checkout .sgcheckout-footer__bottom>span{min-width:0;max-width:100%;overflow-wrap:anywhere}
.sgportal-checkout .sgcheckout-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:560px){
 .sgportal-checkout .sgcheckout-header__inner{width:calc(100% - 28px);min-height:68px;gap:14px}
 .sgportal-checkout .sgcheckout-brand{gap:10px}
 .sgportal-checkout .sgcheckout-brand strong{font-size:21px}
 .sgportal-checkout .sgcheckout-header__label{display:none}
 .sgportal-checkout .sgportal-main{padding-bottom:8px}
 .sgportal-checkout .sgpay{width:calc(100% - 24px);padding:24px 18px;margin:22px auto;border-radius:20px}
 .sgportal-checkout .sgpay>p{font-size:15px}
 .sgportal-checkout .sgpay__details div{padding:12px 14px}
 .sgportal-checkout .sgpay__countdown{padding:14px 16px}
 .sgportal-checkout .sgcheckout-footer__inner,.sgportal-checkout .sgcheckout-footer__bottom{width:calc(100% - 40px)}
 .sgportal-checkout .sgcheckout-footer__inner{flex-direction:column;gap:12px;padding-top:24px;padding-bottom:18px}
 .sgportal-checkout .sgcheckout-footer__venue{flex:auto;width:100%}
 .sgportal-checkout .sgcheckout-footer__links{width:100%}
 .sgportal-checkout .sgcheckout-footer__bottom{flex-direction:column;gap:6px}
}
