feat(checkout): update styles for payment card and text elements for improved readability

This commit is contained in:
2026-07-03 11:44:29 -03:00
parent 97a359d65c
commit 361596bbbc

View File

@@ -110,9 +110,11 @@
min-width: 0; min-width: 0;
&__card { &__card {
min-height: 260px; width: fit-content;
max-width: 100%;
min-height: 269px;
padding: 1.5rem 1.75rem; padding: 1.5rem 1.75rem;
border-radius: 0.5rem; border-radius: 5px;
background: #ffffff; background: #ffffff;
box-shadow: 0 0 0 1px #f1f1f1; box-shadow: 0 0 0 1px #f1f1f1;
display: flex; display: flex;
@@ -124,8 +126,8 @@
&__title { &__title {
max-width: 18rem; max-width: 18rem;
margin: 0; margin: 0;
color: #8b8b8b; color: #8a8a8a;
font-size: 1rem; font-size: 13px;
font-weight: 700; font-weight: 700;
line-height: 1.35; line-height: 1.35;
} }
@@ -135,7 +137,7 @@
max-width: 220px; max-width: 220px;
height: 1px; height: 1px;
margin: 1.2rem 0 1.45rem; margin: 1.2rem 0 1.45rem;
background: #e7e7e7; background: #dddddd;
} }
&__account { &__account {
@@ -143,12 +145,14 @@
display: grid; display: grid;
gap: 0.75rem; gap: 0.75rem;
color: #7a7a7a; color: #7a7a7a;
font-size: 12px;
} }
&__eyebrow { &__eyebrow {
margin: 0; margin: 0;
color: #838383; color: #838383;
font-size: 0.95rem; font-size: 12px;
font-weight: 325;
letter-spacing: 0.06em; letter-spacing: 0.06em;
} }
} }
@@ -159,7 +163,7 @@
justify-content: center; justify-content: center;
gap: 0.35rem; gap: 0.35rem;
align-items: center; align-items: center;
font-size: 0.98rem; font-size: 12px;
&--copy { &--copy {
grid-template-columns: auto auto auto; grid-template-columns: auto auto auto;
@@ -167,6 +171,7 @@
&__label { &__label {
color: #8a8a8a; color: #8a8a8a;
font-weight: 325;
} }
&__value { &__value {