How can I code my page to match the left photo's dimensions?

.header__icon--cart {
    filter: invert(1);
    margin-right: -4rem;
}
form.search.search-modal__form {
    border-radius: 0px!important;
}

Hope this code will work.

If this is useful, please like my answer and mark as accepted solution.

Best Regards

Trishnapare | Team_OSC