.meta-menu-account {
  position: fixed;
  top: 10px;
  right: 22px;
  z-index: 1000;
}

.meta-menu-account a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(159,122,55,0.82);
  border-radius: 16px;
  color: #b68a3a;
  background: rgba(33,37,41,0.90);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.24);
}

.meta-menu-account a:hover,
.meta-menu-account a:focus {
  color: #f1d28a;
  background: rgba(33,37,41,0.96);
  border-color: #c9a96e;
  text-decoration: none;
}

.meta-menu-account-logged a {
  justify-content: center;
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border-radius: 50%;
}

body.pc-loyalty-login-page .entete .meta-menu-near-left,
body.pc-loyalty-login-page .entete .meta-menu-logo + .meta-menu-near-left {
  top: 8px;
  left: auto;
  right: 118px;
  z-index: 1000;
}

body.mobile-loyalty-login-page .entete .meta-menu-near-left,
body.mobile-loyalty-login-page .entete .meta-menu-logo + .meta-menu-near-left {
  top: 7px;
  left: auto;
  right: 96px;
  z-index: 1000;
}

body.loyalty-login-page .entete .meta-menu-near-left .lang-switcher-menu {
  left: auto;
  right: 0;
}

body.pc-loyalty-account-page .entete .meta-menu-near-left,
body.pc-loyalty-account-page .entete .meta-menu-logo + .meta-menu-near-left {
  top: 8px;
  left: auto;
  right: 66px;
  z-index: 1000;
}

body.mobile-loyalty-account-page .entete .meta-menu-near-left,
body.mobile-loyalty-account-page .entete .meta-menu-logo + .meta-menu-near-left {
  top: 7px;
  left: auto;
  right: 52px;
  z-index: 1000;
}

body.loyalty-account-page .entete .meta-menu-near-left .lang-switcher-menu {
  left: auto;
  right: 0;
}

.loyalty-principal {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 42px 14px 30px;
}

.loyalty-panel {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(201,169,110,0.26);
  border-radius: 8px;
  background: rgba(33,37,41,0.90);
  color: #fff;
  box-shadow: 0 18px 42px rgba(0,0,0,0.32);
}

.loyalty-auth-panel {
  background: rgba(33,37,41,0.90);
  color: #fff;
  box-shadow: 0 18px 42px rgba(0,0,0,0.32);
}

.loyalty-panel h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  text-align: center;
}

.loyalty-auth-panel h1 {
  color: #fff;
}

.loyalty-panel h2 {
  margin: 0 0 22px;
  color: #c9a96e;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.loyalty-auth-panel h2 {
  color: #c9a96e;
}

.loyalty-form {
  display: grid;
  gap: 12px;
}

.loyalty-email-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 154px;
  gap: 10px;
}

.loyalty-form .form-control {
  height: 44px;
  border-radius: 4px;
  font-size: 15px;
}

.loyalty-auth-panel .form-control {
  border-color: rgba(201,169,110,0.44);
  background: rgba(255,255,255,0.95);
  color: #222;
}

.loyalty-auth-panel .form-control:focus {
  border-color: #c9a96e;
  box-shadow: 0 0 0 0.2rem rgba(201,169,110,0.22);
}

.loyalty-consent-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: flex-start;
  margin: 2px 0 0;
  color: rgba(255,255,255,0.86);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
}

.loyalty-consent-row input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: #9f7a37;
}

.loyalty-consent-note {
  display: block;
  margin-top: -6px;
  color: rgba(255,255,255,0.58);
  font-size: 12px;
  line-height: 1.35;
}

.loyalty-help {
  min-height: 20px;
  color: #cd1c24;
  font-size: 13px;
  text-align: center;
}

.loyalty-auth-panel .loyalty-help {
  color: #f1d28a;
}

.loyalty-help.is-ok {
  color: #16803a;
}

.loyalty-auth-panel .loyalty-help.is-ok {
  color: #8fd19e;
}

.loyalty-button.btn {
  width: auto;
  min-width: 170px;
  margin: 8px auto 0;
  padding: 9px 22px;
}

.loyalty-code-button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid #9f7a37;
  border-radius: 4px;
  background: rgba(159,122,55,0.16);
  color: #f1d28a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}

.loyalty-code-button.btn:hover,
.loyalty-code-button.btn:focus {
  border-color: #c9a96e;
  background: rgba(182,138,58,0.34);
  color: #fff;
}

.loyalty-code-button.btn:disabled {
  opacity: 0.62;
}

.loyalty-auth-panel .loyalty-button.btn {
  border-color: #9f7a37;
  background: #9f7a37;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.loyalty-auth-panel .loyalty-button.btn:hover,
.loyalty-auth-panel .loyalty-button.btn:focus {
  border-color: #c9a96e;
  background: #b68a3a;
  color: #fff;
}

.loyalty-link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
}

.loyalty-auth-panel .loyalty-link-row {
  color: rgba(255,255,255,0.78);
}

.loyalty-link-row a,
.loyalty-home,
.loyalty-logout {
  color: #c9a96e;
  font-weight: 700;
  text-decoration: none;
}

.loyalty-account-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 6px;
}

.loyalty-auth-submit-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.loyalty-auth-submit-row .loyalty-button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  max-width: 170px;
  min-width: 0;
  min-height: 39px;
  margin: 0;
}

.loyalty-auth-panel .loyalty-return-button.btn {
  border-color: rgba(201,169,110,0.64);
  background: rgba(159,122,55,0.14);
  color: #c9a96e;
  text-decoration: none;
}

.loyalty-auth-panel .loyalty-return-button.btn:hover,
.loyalty-auth-panel .loyalty-return-button.btn:focus {
  border-color: #c9a96e;
  background: rgba(182,138,58,0.28);
  color: #f1d28a;
  text-decoration: none;
}

.loyalty-home,
.loyalty-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(201,169,110,0.64);
  border-radius: 4px;
  background: rgba(159,122,55,0.14);
  line-height: 1;
  white-space: nowrap;
}

.loyalty-auth-panel .loyalty-link-row a {
  color: #c9a96e;
}

.loyalty-link-row a:hover,
.loyalty-link-row a:focus {
  color: #f1d28a;
  text-decoration: none;
}

.loyalty-home:hover,
.loyalty-home:focus,
.loyalty-logout:hover,
.loyalty-logout:focus {
  color: #f1d28a;
  border-color: #c9a96e;
  background: rgba(182,138,58,0.28);
  text-decoration: none;
}

.loyalty-account-edit-button.is-active {
  color: #fff;
  border-color: #c9a96e;
  background: #9f7a37;
}

.loyalty-account-panel {
  width: min(760px, 100%);
}

.loyalty-account-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.loyalty-account-header h1,
.loyalty-account-header h2 {
  text-align: left;
}

.loyalty-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.loyalty-card {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(201,169,110,0.24);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}

.loyalty-card span {
  display: block;
  color: rgba(255,255,255,0.68);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.loyalty-card strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.loyalty-account-panel .loyalty-edit-field,
.loyalty-account-panel .loyalty-profile-save.btn,
.loyalty-account-panel.is-editing .loyalty-read-field,
.loyalty-account-panel.is-editing .loyalty-profile-edit.btn,
.loyalty-account-panel:not(.is-editing) .loyalty-profile-empty-value {
  display: none;
}

.loyalty-account-panel.is-editing .loyalty-edit-field,
.loyalty-account-panel.is-editing .loyalty-profile-save.btn {
  display: block;
}

.loyalty-profile-item .loyalty-read-field {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.loyalty-account-input.form-control,
.loyalty-profile-input.form-control,
.loyalty-profile-textarea.form-control {
  width: 100%;
  margin: 4px 0 0;
  border: 1px solid rgba(201,169,110,0.38);
  border-radius: 4px;
  background: rgba(255,255,255,0.95);
  color: #222;
  font-size: 14px;
  font-weight: 700;
}

.loyalty-account-input.form-control,
.loyalty-profile-input.form-control {
  height: 30px;
}

.loyalty-profile-textarea.form-control {
  min-height: 42px;
  resize: vertical;
}

.loyalty-account-input.form-control:focus,
.loyalty-profile-input.form-control:focus,
.loyalty-profile-textarea.form-control:focus {
  border-color: #c9a96e;
  box-shadow: 0 0 0 0.2rem rgba(201,169,110,0.22);
}

.loyalty-points-card strong {
  color: #f1d28a;
  font-size: 25px;
}

.loyalty-points-card em {
  font-style: normal;
  font-size: 14px;
}

.loyalty-address-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
  margin-top: 12px;
}

.loyalty-profile-panel {
  box-sizing: border-box;
  width: 100%;
  margin-top: 0;
  padding: 10px 12px;
  border: 1px solid rgba(201,169,110,0.24);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}

.loyalty-account-panel:not(.is-editing) .loyalty-address-detail-collapsed,
.loyalty-account-panel.is-editing .loyalty-address-summary-more {
  display: none;
}

.loyalty-address-summary-more,
.loyalty-address-placeholder {
  margin-top: 4px;
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.loyalty-profile-panel h3 {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0 0 7px;
  color: #f1d28a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.loyalty-profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.loyalty-account-panel.is-editing .loyalty-profile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 8px;
}

.loyalty-profile-item {
  display: block;
  min-width: 0;
  margin: 0;
}

.loyalty-profile-item-wide {
  grid-column: auto;
}

.loyalty-account-panel.is-editing .loyalty-profile-item-wide {
  grid-column: 1 / -1;
}

.loyalty-profile-item span {
  display: block;
  color: rgba(255,255,255,0.62);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.loyalty-profile-empty {
  color: rgba(255,255,255,0.62);
  font-size: 13px;
}

.loyalty-google-address-menu {
  position: absolute;
  z-index: 3000;
  display: none;
  overflow: hidden;
  border: 1px solid rgba(201,169,110,0.46);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28);
}

.loyalty-google-address-option {
  display: block;
  width: 100%;
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  color: #222;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  white-space: normal;
}

.loyalty-google-address-option:hover,
.loyalty-google-address-option:focus,
.loyalty-google-address-option.is-active {
  background: #f4ead6;
  color: #111;
  outline: 0;
}

.loyalty-google-address-powered {
  padding: 5px 10px;
  background: #f7f7f7;
  color: #777;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
}

.loyalty-profile-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.loyalty-profile-edit.btn,
.loyalty-profile-save.btn {
  min-width: 150px;
  margin: 0;
  border: 1px solid #9f7a37;
  border-radius: 4px;
  background: #9f7a37;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.loyalty-profile-edit.btn:hover,
.loyalty-profile-edit.btn:focus,
.loyalty-profile-save.btn:hover,
.loyalty-profile-save.btn:focus {
  border-color: #c9a96e;
  background: #b68a3a;
  color: #fff;
}

.loyalty-profile-edit.btn:disabled,
.loyalty-profile-save.btn:disabled {
  opacity: 0.68;
}

.loyalty-marketing-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(201,169,110,0.24);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}

.loyalty-marketing-panel span {
  display: block;
  color: rgba(255,255,255,0.68);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.loyalty-marketing-panel strong {
  display: block;
  margin-top: 8px;
  color: #f1d28a;
  font-size: 17px;
  line-height: 1.25;
}

.loyalty-marketing-panel small {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,0.62);
  font-size: 12px;
  line-height: 1.35;
}

.loyalty-marketing-button.btn {
  min-width: 118px;
  border: 1px solid rgba(255,138,143,0.72);
  border-radius: 4px;
  background: rgba(255,138,143,0.12);
  color: #ffb3b6;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.loyalty-marketing-button.btn:hover,
.loyalty-marketing-button.btn:focus {
  border-color: #ffb3b6;
  background: rgba(255,138,143,0.22);
  color: #fff;
}

.loyalty-marketing-button.is-subscribe.btn {
  border-color: rgba(144,214,160,0.72);
  background: rgba(144,214,160,0.12);
  color: #a8efb8;
}

.loyalty-marketing-button.is-subscribe.btn:hover,
.loyalty-marketing-button.is-subscribe.btn:focus {
  border-color: #a8efb8;
  background: rgba(144,214,160,0.22);
  color: #fff;
}

.loyalty-rewards-account{
  margin-top: 20px;
}

.loyalty-rewards-account h3{
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.loyalty-rewards-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.loyalty-reward-card{
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(201,169,110,0.24);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
}

.loyalty-reward-card span{
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.loyalty-reward-card strong{
  color: #f1d28a;
  font-size: 22px;
  line-height: 1;
}

.loyalty-reward-card strong em{
  font-size: 12px;
  font-style: normal;
  text-transform: uppercase;
}

.loyalty-reward-card small{
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  font-weight: 700;
}

.loyalty-reward-card.is-available{
  border-color: rgba(144,214,160,0.42);
  background: rgba(144,214,160,0.10);
}

.loyalty-reward-card.is-locked{
  opacity: 0.68;
}

.loyalty-account-help {
  display: block;
  margin-top: 8px;
}

.loyalty-history {
  margin-top: 24px;
}

.loyalty-history h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.loyalty-history-table {
  overflow-x: auto;
  border: 1px solid rgba(201,169,110,0.24);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
}

.loyalty-history-row {
  display: grid;
  grid-template-columns: 145px minmax(150px, 1fr) 90px 120px 80px;
  gap: 10px;
  align-items: center;
  padding: 11px 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.84);
  font-size: 13px;
}

.loyalty-history-row:first-child {
  border-top: 0;
}

.loyalty-history-head {
  color: #f1d28a;
  background: rgba(201,169,110,0.14);
  font-weight: 700;
}

.loyalty-positive {
  color: #8fd19e;
  font-weight: 700;
}

.loyalty-negative {
  color: #ff8a8f;
  font-weight: 700;
}

.loyalty-cancelled {
  color: rgba(255,255,255,0.48);
  font-weight: 700;
  text-decoration: line-through;
}

.loyalty-history-status {
  display: grid;
  gap: 2px;
}

.loyalty-history-status strong {
  color: #f1d28a;
  font-size: 12px;
}

.loyalty-history-status small {
  color: rgba(255,255,255,0.55);
  font-size: 11px;
}

.loyalty-history-status-active strong {
  color: #8fd19e;
}

.loyalty-history-status-cancelled strong {
  color: #ff8a8f;
}

.loyalty-empty,
.loyalty-warning {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(201,169,110,0.24);
  background: rgba(201,169,110,0.14);
  color: #f1d28a;
  text-align: center;
}

.loyalty-unsubscribe-message {
  padding: 16px;
  border: 1px solid rgba(201,169,110,0.24);
  border-radius: 8px;
  background: rgba(201,169,110,0.14);
  color: #f1d28a;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

.loyalty-unsubscribe-invalid {
  border-color: rgba(255,138,143,0.36);
  background: rgba(255,138,143,0.12);
  color: #ffb3b6;
}

@media screen and (max-width: 700px) {
  .meta-menu-account {
    top: 12px;
    right: 12px;
  }

  .meta-menu-account a {
    min-height: 27px;
    padding: 0 9px;
    font-size: 11px;
  }

  .meta-menu-account-logged a {
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 0;
    font-size: 0;
  }

  .loyalty-principal {
    padding: 22px 10px;
  }

  .loyalty-panel {
    padding: 22px 16px;
  }

  .loyalty-email-row {
    grid-template-columns: 1fr;
  }

  .loyalty-code-button.btn {
    justify-self: center;
    width: min(180px, 100%);
  }

  .loyalty-panel h1 {
    font-size: 20px;
  }

  .loyalty-account-header,
  .loyalty-card-grid {
    display: block;
  }

  .loyalty-card {
    margin-bottom: 10px;
  }

  .loyalty-address-row {
    display: block;
  }

  .loyalty-address-panel {
    margin-top: 10px;
  }

  .loyalty-address-panel:first-child {
    margin-top: 0;
  }

  .loyalty-profile-grid {
    display: block;
  }

  .loyalty-profile-item {
    margin-top: 10px;
  }

  .loyalty-profile-item:first-child {
    margin-top: 0;
  }

  .loyalty-account-panel.is-editing .loyalty-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }

  .loyalty-account-panel.is-editing .loyalty-profile-item {
    margin-top: 0;
  }

  .loyalty-account-panel.is-editing .loyalty-profile-item-wide {
    grid-column: 1 / -1;
  }

  .loyalty-marketing-panel {
    display: block;
  }

  .loyalty-marketing-button.btn {
    width: 100%;
    margin-top: 12px;
  }

  .loyalty-rewards-grid{
    grid-template-columns: 1fr;
  }

  .loyalty-account-actions {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    margin-top: 8px;
  }

  .loyalty-home,
  .loyalty-logout {
    display: inline-flex;
    flex: 1 1 0;
    min-width: 0;
    padding: 0 6px;
    font-size: 12px;
  }

  .loyalty-history-row {
    min-width: 690px;
  }
}
