.payment-methods-section .pm-grid{display:grid;gap:.625rem;grid-template-columns:repeat(var(--pm-columns,5),1fr)}@media(max-width:1023px){.payment-methods-section .pm-grid{grid-template-columns:repeat(min(var(--pm-columns,5),4),1fr)}}@media(max-width:767px){.payment-methods-section .pm-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:479px){.payment-methods-section .pm-grid{grid-template-columns:repeat(2,1fr)}}.payment-methods-section .pm-card{align-items:center;aspect-ratio:3/2;border-radius:.5rem;display:flex;justify-content:center;overflow:hidden;padding:1rem}.payment-methods-section .pm-card img{display:block;height:auto;max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain;width:auto}.wp-block-custom-payment-methods .pm-card-editor{align-items:center;aspect-ratio:3/2;border-radius:.5rem;display:flex;justify-content:center;overflow:hidden;padding:1rem;position:relative}.wp-block-custom-payment-methods .pm-card-editor img{display:block;height:auto;max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain;width:auto}.wp-block-custom-payment-methods .pm-card-editor__remove{align-items:center;background:rgba(0,0,0,.6);border:none;border-radius:50%;color:#b1bad3;cursor:pointer;display:flex;font-size:.6875rem;height:1.25rem;justify-content:center;line-height:1;position:absolute;right:.25rem;top:.25rem;width:1.25rem}.wp-block-custom-payment-methods .pm-card-editor__remove:hover{background:#e81925;color:#fff}.wp-block-custom-payment-methods .pm-add-card{align-items:center;aspect-ratio:3/2;border:.125rem dashed #2c3240;border-radius:.5rem;color:#6b768a;cursor:pointer;display:flex;justify-content:center;transition:border-color .2s,color .2s}.wp-block-custom-payment-methods .pm-add-card .dashicons{font-size:1.5rem;height:1.5rem;width:1.5rem}.wp-block-custom-payment-methods .pm-add-card:hover{border-color:#738198;color:#738198}
