/* PAGE SE CONNECTER / S'INSCRIRE */
.btn-primary {
    color: #fff;
    background-color: #2e2d2e;
    border-color: #2d2e2d;
    text-transform: uppercase;
    font-size: 16px;
    font-family: 'Roboto Mono';
}

.btn-large {
    padding: 14px 22px;
    font-size: .875rem;
}

#authentication .page_heading,
#registration .page_heading,
#password .page_heading {
  margin: 0 !important;
}

#authentication #columns.container,
#registration #columns.container ,
#password #columns.container {
  max-width: 100%;
}

#authentication section#login_form_block,
#registration section#register_form_block,
#password section#forgotten_password_block {
    margin-left: 150px;
    margin-right: 100px;
}

@media screen and (min-width: 992px) and (max-width: 1250px) {
  #authentication section#login_form_block,
  #registration section#register_form_block,
  #password section#forgotten_password_block {
    margin-left: 100px;
    margin-right: 50px;
  }
}

@media screen and (min-width: 480px) and (max-width: 991px) {
  #authentication section#login_form_block,
  #registration section#register_form_block,
  #password section#forgotten_password_block {
    margin-left: 50px;
    margin-right: 50px;
  }
}

@media screen and (max-width: 479px) {
  #authentication section#login_form_block,
  #registration section#register_form_block,
  #password section#forgotten_password_block {
    margin-left: 10px;
    margin-right: 10px;
  }
}

#authentication .from_blcok,
#registration .from_blcok,
#password .from_blcok {
    border: none;
}

#authentication h1,
#registration h1,
#password h1 {
  font-size: 36px;
  text-transform: none;
  line-height: 1.2;
}

#authentication .form_content_inner p,
#registration .form_content_inner p,
#password .form_content_inner p {
  font-size: 15px;
}

#authentication .form_content_inner p a, 
#authentication .form_content_inner a.forgot-password,
#registration .form_content_inner p a, 
#registration .form_content_inner a.forgot-password,
#password .form_content_inner p a, 
#password .form_content_inner a.forgot-password {
  font-weight: 500;
  text-decoration: underline;
}

#authentication .form-group-small .form-control, 
#authentication .form-group-small .input-group,
#registration .form-group-small .form-control, 
#registration .form-group-small .input-group
#password .form-group-small .form-control, 
#password .form-group-small .input-group {
    max-width: 100%;
}

#authentication input.form-control,
#registration input.form-control,
#identity input.form-control,
#checkout input.form-control,
#password input.form-control {
    height: 44px;
}

.shoppingcart-list input.form-control {
    height: auto !important; 
}

.shoppingcart-list .form-control {
  padding: 0 2px !important;
}

.breadcrumb_wrapper {
    display: none;
}

#authentication .breadcrumb_spacing,
#registration .breadcrumb_spacing,
#password .breadcrumb_spacing {
    height: 0;
}

#authentication .form-control,
#registration .form-control,
#identity .form-control,
#checkout .form-control {
    padding: 14px;
    font-size: 15px;
}

#authentication input::placeholder,
#registration input::placeholder,
#registration input[name="birthday"][value=""]::-webkit-datetime-edit {
  color: #929d9dc4;
}

#registration label.radio-inline,
#identity label.radio-inline,
#checkout label.radio-inline {
    border: 1px solid rgba(0,0,0,.15);
    padding: 8px;
}

#registration .st_form_item_gender .gender_cell, 
#identity .st_form_item__id_gender .gender_cell,
#checkout .st_form_item__id_gender .gender_cell {
  width: 100%;
}

#registration .st_form_item_gender .radio-inline,
#identity .st_form_item_id_gender .radio-inline,
#checkout .st_form_item_id_gender .radio-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  line-height: 1;
  margin: 0;
}

#identity .st_form_item_id_gender .js-input-column,
#checkout .st_form_item_id_gender .js-input-column {
  display: flex;
  gap: 30px;
  width: 60%
}

#identity .form-group-small .form-control, .form-group-small .input-group {
  max-width: 100%;
}

#registration .st_form_item_gender .custom-radio {
  margin-right: 8px;
}

/* Civilité alignée sans toucher le label */
#registration .st_form_item_gender .row {
  margin-left: -15px;
  margin-right: -15px;
}

/* Colonnes radios */
#registration .st_form_item_gender .row > .col-6,
#registration .st_form_item_gender .row > .col-lg-6 {
  padding-left: 15px;
  padding-right: 15px;
}

#registration em,
#identity em,
#checkout em {
    font-style: normal;
    font-size: 14px;
    color: #929d9d;
    font-weight: 400;
}

#registration span.flex_child,
#identity span.flex_child,
#checkout span.flex_child {
    font-weight: 500;
    color: #2e2d2e;
    font-size: 16px;
    margin-top: -2px;
}

/* Le conteneur des champs est un flex-wrap */
#registration .form_content_inner > .row.com_grid_view {
  display: flex;
  flex-wrap: wrap;
}

/* Ordre des 4 cases à cocher (on cible le .col-lg-12 qui contient chaque case) */
#registration .form_content_inner > .row.com_grid_view > .col-lg-12:has(.st_form_item_optin)            { order: 1; } /* 1) Offres partenaires */
#registration .form_content_inner > .row.com_grid_view > .col-lg-12:has(.st_form_item_customer_privacy) { order: 2; } /* 2) Message confidentialité */
#registration .form_content_inner > .row.com_grid_view > .col-lg-12:has(.st_form_item_newsletter)       { order: 3; } /* 3) Newsletter */
#registration .form_content_inner > .row.com_grid_view > .col-lg-12:has(.st_form_item_psgdpr),
#registration .form_content_inner > .row.com_grid_view > .col-lg-12:has(.st_form_item_conditions_to_approve) { order: 4; } /* 4) CGV / Politique */

#registration .custom-input-box,
#identity .custom-input-box,
#checkout .custom-input-box {
    margin-right: 10px;
}

#registration .custom-input-item.custom-input-checkbox,
#identity .custom-input-item.custom-input-checkbox,
#checkout .custom-input-item.custom-input-checkbox {
  border-radius: 4px;
}

#registration .custom-input:checked + .custom-input-item.custom-input-checkbox,
#identity .custom-input:checked + .custom-input-item.custom-input-checkbox,
#checkout .custom-input:checked + .custom-input-item.custom-input-checkbox {
  background-color: #2e2d2e;
  border-radius: 4px;
}

#registration .custom-input:checked + .custom-input-item.custom-input-checkbox i,
#identity .custom-input:checked + .custom-input-item.custom-input-checkbox i,
#checkout .custom-input:checked + .custom-input-item.custom-input-checkbox i {
  color: #fff;
  font-size: 12px;
}

#registration span.custom-input-item.custom-input-checkbox,
#identity span.custom-input-item.custom-input-checkbox,
#checkout span.custom-input-item.custom-input-checkbox {
  width: 1.3rem;
  height: 1.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

#registration .st_form_item_birthday {
    margin-bottom: 30px;
}

#identity h2.page_heading {
    font-size: 20px;
    color: #2e2d2e;
    margin-bottom: 2rem;
    margin-top: 1rem;
    text-transform: none;
    font-weight: 500;
}

#registration h2.page_heading {
    display: none !important;
}

#identity form#customer-form {
    border: 1px solid lightgrey;
    padding: 10px 20px;
}

h2.account-title {
    font-weight: 400;
    font-family: 'Lunchtype';
    color: #2e2d2e;
    margin-bottom: 2rem;
}

#identity h3.page_heading,
#addresses h3.page_heading,
#history h3.page_heading,
#order-slip h3.page_heading,
#discount h3.page_heading,
#module-psgdpr-gdpr h3.page_heading,
#module-ps_emailalerts-account h3.page_heading, 
#module-stlovedproduct-myloved h3.page_heading,
#module-stlovedproduct-myloved h3.page_heading {
  text-transform: none;
  font-weight: 400;
  font-size: 14px;
}

#password .form-footer {
    flex-direction: column;
}





/* MES ADRESSES */
#addresses .com_grid_view {
  border: 1px solid lightgrey;
  padding: 20px;
}

#addresses .col-md-12 {
  padding: 0;
}

#addresses article.card_trans {
    display: flex;
    flex-direction: row;
}

#addresses .addresses-footer {
    display: flex;
    justify-content: center;
    border: 1px dashed #2d2e2d;
    padding: 10px;
}

#addresses .addresses-footer a {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
}

#addresses .card-footer {
    border: none;
}

#addresses .address-footer.card-footer {
    display: flex;
    flex-direction: column;
}

#addresses .card.card_trans.mb-3 {
    border: 1px solid lightgrey;
}
