/* 90-ds-revolut.css — slave restyle, 2026-11-10 (Giacomo via master): blocco Revolut (carta) del passo pagamento come gli altri
   blocchi di 90-ds-pagamenti.css: icona carta a sinistra, titolo + riga grigia, freccia, stato scelto blu.
   Solo la cornice: il bottone #revolutPaymentButton resta quello del modulo (stesso id, il JS del modulo apre il popup al clic).
   Il titolo del BO (REVOLUT_P_TITLE, es. «Paga con Carta (Secured)») resta nel bottone per i lettori di schermo, a video va --tit.
   Markup = payment_page_button.tpl (uguale in revolutpayment 2.3.0 / 2.8.9 / 2.9.0). Ritorno: cancellare questo file. */
#HOOK_PAYMENT .revolut-payment{border:0!important;border-radius:0;background:none!important}
#HOOK_PAYMENT .revolut-payment-form{padding:0!important;border:0!important}
#HOOK_PAYMENT .revolut-payment-form .revForm{width:100%!important}
#HOOK_PAYMENT .revolut-payment-form .action{margin:0 0 12px!important;padding:0;position:relative}
#HOOK_PAYMENT .revolut-payment-form .action > img{display:none} /* VISA/MC: detti nella riga grigia */
#HOOK_PAYMENT #revolutPaymentButton{
  position:relative;display:flex!important;flex-direction:column;justify-content:center;align-items:flex-start;
  width:100%!important;min-height:84px;padding:14px 52px 14px 112px!important;margin:0!important;
  border:1px solid var(--grigio-linea)!important;border-radius:8px!important;box-shadow:none!important;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='34' viewBox='0 0 48 34'%3E%3Crect x='1.5' y='1.5' width='45' height='31' rx='4' fill='none' stroke='%23333' stroke-width='3'/%3E%3Crect x='1.5' y='8' width='45' height='6' fill='%23333'/%3E%3Crect x='7' y='22' width='14' height='4' rx='1' fill='%23333'/%3E%3C/svg%3E") no-repeat 34px center/42px auto!important;
  font-family:var(--font-testo);font-size:17px;font-weight:600;line-height:1.25;letter-spacing:0;text-align:left;text-transform:none;
  color:#000!important;white-space:normal;transition:border-color .2s,box-shadow .2s,background-color .2s}
#HOOK_PAYMENT #revolutPaymentButton > span{display:block;padding:0!important;border:0!important;background:none!important;font-size:0!important;line-height:0}
#HOOK_PAYMENT #revolutPaymentButton > span:before{content:var(--tit);font-size:17px;line-height:1.25;color:#000}
#HOOK_PAYMENT #revolutPaymentButton:before{content:var(--desc);order:2;display:block;margin-top:4px;font-size:14px;font-weight:400;line-height:1.35;color:var(--grigio-testo)}
#HOOK_PAYMENT #revolutPaymentButton:after{
  content:"\f054";position:absolute;right:20px;top:50%;transform:translateY(-50%);
  font-family:"FontAwesome";font-size:16px;font-weight:normal;line-height:1;color:#999;transition:color .2s,transform .2s}
#HOOK_PAYMENT #revolutPaymentButton:hover{border-color:var(--blu)!important;box-shadow:0 4px 14px rgba(0,0,0,.05)!important}
#HOOK_PAYMENT #revolutPaymentButton:hover:after{color:var(--blu);transform:translate(3px,-50%)}
#HOOK_PAYMENT #revolutPaymentButton:focus-visible{outline:2px solid var(--blu);outline-offset:2px}
/* scelto: dopo il clic il bottone resta col focus mentre il popup Revolut e' aperto */
#HOOK_PAYMENT #revolutPaymentButton:focus{border:2px solid var(--blu)!important;background-color:#f2f9ff!important;padding:13px 51px 13px 111px!important;background-position:33px center!important}
#HOOK_PAYMENT #revolutPaymentButton:focus:after{content:"\f00c";color:var(--blu)}

#HOOK_PAYMENT #revolutPaymentButton{--tit:"Pay by card";--desc:"Visa, Mastercard — secure payment"}
:lang(it) #HOOK_PAYMENT #revolutPaymentButton{--tit:"Paga con carta";--desc:"Visa, Mastercard — pagamento sicuro"}
:lang(de) #HOOK_PAYMENT #revolutPaymentButton{--tit:"Mit Karte bezahlen";--desc:"Visa, Mastercard – sichere Zahlung"}
:lang(fr) #HOOK_PAYMENT #revolutPaymentButton{--tit:"Payer par carte";--desc:"Visa, Mastercard — paiement sécurisé"}

@media (max-width:767px){
  #HOOK_PAYMENT #revolutPaymentButton{min-height:76px;padding:12px 40px 12px 88px!important;background-position:20px center!important;background-size:36px auto!important}
  #HOOK_PAYMENT #revolutPaymentButton > span:before{font-size:16px}
  #HOOK_PAYMENT #revolutPaymentButton:before{font-size:13px}
  #HOOK_PAYMENT #revolutPaymentButton:after{right:14px}
  #HOOK_PAYMENT #revolutPaymentButton:focus{padding:11px 39px 11px 87px!important;background-position:19px center!important}
}
