/* gh-social-v2: native SignIn containers only, never Amazon payment buttons. */
:is(body#authentication,body#registration,body#checkout) :is(.wssl,.amzbuttoncontainer,.amazon-signin-registration){
 width:100%!important;max-width:450px!important;min-width:0;box-sizing:border-box;
 margin:12px 0!important;padding:0!important;text-align:left;
}
:is(body#authentication,body#registration,body#checkout) .amzbuttoncontainer{
 display:flex;flex-direction:column;gap:8px;border:0;background:transparent;box-shadow:none;
}
/* The heading repeats the native button label; keep it available to screen readers. */
:is(body#authentication,body#registration,body#checkout) .amzbuttoncontainer>h3{
 position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
 clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0;
}
:is(body#authentication,body#registration,body#checkout) .amzbuttoncontainer>p{
 order:2;margin:0!important;font-size:12px;line-height:1.45;text-align:left;
}
:is(body#authentication,body#registration,body#checkout) .amazonPayButton.amazonLogin,
body#checkout .gh-amazon-checkout > .amazonPayButton {
 order:1;display:block!important;width:100%!important;max-width:450px!important;
 min-width:0!important;height:48px!important;min-height:48px!important;max-height:48px!important;
 padding:0!important;margin:0!important;box-sizing:border-box;
}
:is(body#authentication,body#registration,body#checkout) .wssl__list{width:100%;margin:0;padding:0;}
:is(body#authentication,body#registration,body#checkout) a.wssl-btn--google{
 position:relative;display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;max-width:450px!important;min-width:0!important;
 height:48px!important;min-height:48px!important;max-height:48px!important;box-sizing:border-box!important;
 padding:0 42px!important;margin:0!important;gap:10px;
 border:1px solid #747775!important;border-radius:4px!important;
 background:#fff!important;color:#1f1f1f!important;box-shadow:none!important;transform:none!important;
 font-family:inherit;font-size:14px!important;font-weight:500;line-height:20px!important;text-decoration:none;
}
:is(body#authentication,body#registration,body#checkout) .wssl-btn--google .wssl-btn__logo{
 position:absolute;left:14px;top:50%;transform:translateY(-50%);display:flex;align-items:center;
 width:20px;height:20px;margin:0;
}
:is(body#authentication,body#registration,body#checkout) .wssl-btn--google .wssl-btn__label{
 min-width:0;white-space:normal;text-align:center;overflow:visible;text-overflow:clip;
}
:is(body#authentication,body#registration,body#checkout) .wssl__legal{
 margin:8px 0 0;font-size:12px;line-height:1.45;text-align:left;
}
:is(body#authentication,body#registration,body#checkout) .wssl-btn--google:hover{background:#f8f9fa!important;}

/* Italian login disclosures sit next to the existing provider widgets. */
:is(body#authentication,body#registration,body#checkout) .gh-signin-note,
:is(body#authentication,body#registration,body#checkout) .amzbuttoncontainer > .gh-signin-note,
:is(body#authentication,body#registration,body#checkout) .wssl__legal.gh-signin-note {
 margin:0;
 color:#444444;
 font-size:13px;
 line-height:1.5;
}
:is(body#authentication,body#registration,body#checkout) .wssl__legal.gh-signin-note { margin-top:8px; }
:is(body#authentication,body#registration,body#checkout) .gh-signin-links {
 display:flex;
 flex-wrap:wrap;
 column-gap:.85rem;
 row-gap:.125rem;
 margin-top:.2rem;
}
:is(body#authentication,body#registration,body#checkout) .gh-signin-note a {
 color:#436579;
 text-decoration:underline;
 text-underline-offset:2px;
}
:is(body#authentication,body#registration,body#checkout) :is(.wssl--place-login,.wssl--place-register,.wssl--place-checkout) .wssl__sep { margin:0 0 8px; }

:is(body#authentication #main,body#registration #main,body#checkout #checkout-personal-information-step) :is(.amzbuttoncontainer,.wssl--place-login,.wssl--place-register,.wssl--place-checkout) {
 margin-inline:auto!important;
}
:is(body#authentication,body#registration,body#checkout) .wssl__legal.gh-signin-note { opacity:1; }
:is(body#authentication,body#registration,body#checkout) :is(.wssl--place-login,.wssl--place-register,.wssl--place-checkout) .wssl__sep span {
 font-size:11px;
 letter-spacing:.08em;
}
