.elc-iam-in-store .elc-iam-inStoreSignUp-content .elc-iam-section-basicSection-wrapper {
  display: grid;
  column-gap: var(--iam-column-gap);
  grid-template-areas:
    'storeLocation storeLocation'
    'salutation salutation'
    'firstName lastName'
    'countryCode countryCode'
    'mobileNumber mobileNumber'
    'pcEmailAddress pcEmailAddress'
    'location location'
    'birthdayOptional birthdayOptional'
    'birthMonth birthDay'
    'ageGroup ageGroup'
    'contactPreferenceTitle contactPreferenceTitle'
    'preferredLanguage preferredLanguage';
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.elc-iam-in-store .elc-iam-inStoreSocialConsent-content .elc-iam-section-basicSection-wrapper {
  display: grid;
  column-gap: var(--iam-column-gap);
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  grid-template-areas:
    'verifySocialEmail verifySocialEmail'
    'firstName lastName'
    'countryCode countryCode'
    'mobileNumber mobileNumber'
    'pcEmailAddress pcEmailAddress'
    'location location'
    'birthMonth birthMonth';
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.elc-iam-in-store
  .elc-iam-inStoreSignUp-content
  .elc-iam-section-communicationMethodOptInSection-wrapper,
.elc-iam-in-store
  .elc-iam-inStoreSocialConsent-content
  .elc-iam-section-communicationMethodOptInSection-wrapper {
  display: grid;
  column-gap: var(--iam-column-gap);
  grid-template-areas:
    'communicationMethodSummary communicationMethodSummary'
    'emailPromotions smsPromotions'
    'phonePromotions postalPromotions';
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.elc-iam-communicationMethodSummary-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-block-start: 24px;
}

.elc-iam-in-store .elc-iam-section-communicationMethodOptInSection-wrapper .elc-checkbox-field {
  padding-inline-start: 30px;
}

.elc-iam-in-store .elc-iam-location-wrapper .elc-dropdown-wrapper,
.elc-iam-in-store .elc-iam-countryCode-wrapper .elc-dropdown-wrapper {
  text-transform: none;
}

.iam-loyalty .elc-iam-loyaltyCallout-wrapper::before {
  background: none;
  content: unset;
  min-width: none;
}

body .elc-iam-in-store .elc-iam-text-contactPreferenceTitle {
  margin-block-end: 24px;
  font-size: var(--text-base);
  font-family: var(--font-body);
}

.elc-iam-in-store .elc-checkbox-label {
  font-size: var(--text-base);
}

body .elc-iam .elc-dropdown {
  margin-inline-end: 0px;
}

body .elc-iam-in-store .elc-iam-text-continueWithFaceBook {
  margin-block: 20px;
}

body .elc-iam-in-store .elc-iam-checkboxGroup-rows-wrapper .elc-iam-checkbox-group-items {
  display: grid;
  column-gap: var(--iam-column-gap);
  grid-template-areas:
    'allContactPrefsChecked allContactPrefsChecked'
    'emailPromotions phonePromotions'
    'smsPromotions postalPromotions';
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body .elc-iam.elc-iam-in-store .elc-iam-language-switcher {
  display: flex;
  gap: 10px;
  justify-content: end;
  margin-block-end: 35px;
}

body .elc-iam.elc-iam-in-store .elc-iam-language-switcher a {
  text-decoration: none;
  cursor: pointer;
}

body .elc-iam.elc-iam-in-store .elc-iam-language-switcher a p {
  font-family: var(--font-body);
}

body .elc-iam.elc-iam-in-store .elc-iam-language-switcher .is_language_selected {
  color: var(--color-black);
  font-weight: 700;
}

body .elc-iam-in-store .elc-iam-birthdayOptional-wrapper p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  margin-block-end: 14px;
}

body .elc-iam-in-store .elc-iam-contactPreferenceTitle-wrapper p {
  font-weight: 700;
}

.elc-iam-alert-title {
  font-size: var(--text-base);
}

.elc-iam .elc-heading--3,
.elc-iam .elc-subtitle--1 {
  font-family: var(--font-body);
}

.elc-iam input.elc-input-field.elc-input-field-highlighted {
  color: var(--text-input-color-highlighted);
  border-color: var(--border-color-warning);
}

body .elc-iam-in-store .elc-iam-forgot-password-button {
  letter-spacing: normal;
}

.elc-iam .elc-iam-text.elc-iam-text-verifySocialEmail,
.elc-iam .elc-iam-text.elc-iam-text-continueWithFaceBook {
  text-transform: none;
}

@media (min-width: 1024px) {
  .main-content {
    margin-block-start: 0;
  }
}

.elc-iam .iam-message p,
.elc-iam-triage-overlay .iam-message p {
  font-size: var(--text-base);
  font-family: var(--font-body);
}
