/* Espace client : mêmes matières et couleurs que la boutique. */
.zone-compte {
  top: 79%;
  left: 50%;
}

.mini-compte {
  top: 50%;
  left: 50%;
}

.customer-container {
  max-width: 620px;
}

.customer-page {
  padding-top: 210px;
}

.customer-container--wide {
  max-width: 860px;
}

.customer-eyebrow {
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 650;
  color: var(--texte-doux);
}

.customer-container h2 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.04;
  margin-bottom: 22px;
}

.customer-container h2:focus {
  outline: none;
}

.customer-intro {
  max-width: 480px;
  margin: 0 auto 34px;
  text-align: center;
  line-height: 1.65;
  color: var(--texte-doux);
  font-size: 17px;
  hyphens: none;
}

.customer-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(94, 115, 95, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(63, 58, 54, 0.06);
  line-height: 1.6;
}

.customer-card h3 {
  font-size: 23px;
  line-height: 1.25;
  margin-bottom: 22px;
  color: var(--vert-profond);
}

.customer-form {
  display: grid;
  gap: 12px;
  text-align: left;
}

.customer-card > p + .customer-form {
  margin-top: 24px;
}

.customer-form label {
  font-size: 14px;
  font-weight: 650;
  margin-top: 6px;
  text-align: left;
}

.customer-form .customer-help,
.customer-notice {
  text-align: left;
  text-align-last: left;
}

.customer-form input:not([type="hidden"]) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid rgba(94, 115, 95, 0.32);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--texte-chaud);
  font-size: 16px;
}

.customer-submit,
.customer-secondary {
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid var(--vert-profond);
  border-radius: 999px;
  background: var(--vert-profond);
  color: white;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  transition: background 180ms ease;
}

.customer-submit {
  margin-top: 12px;
}

.customer-submit:hover {
  background: #465a47;
}

.customer-secondary {
  background: transparent;
  color: #465a47;
}

.customer-secondary:hover {
  background: rgba(143, 166, 142, 0.14);
}

.customer-help {
  font-size: 13px;
  line-height: 1.55;
  color: var(--texte-doux);
}

.customer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.customer-links button,
.customer-back,
.customer-account-bar button {
  border: 0;
  background: transparent;
  color: #465a47;
  min-height: 44px;
  padding: 10px 6px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.customer-back {
  display: block;
  margin: 20px auto 0;
}

.customer-card-footer {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(94, 115, 95, 0.16);
  text-align: center;
}

.customer-notice {
  padding: 16px 18px;
  margin-bottom: 24px;
  border: 1px solid #7f967d;
  border-radius: 14px;
  background: #edf2e9;
  color: #354a36;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.customer-notice--error {
  border-color: #bd8875;
  color: #7a3623;
  background: #fff3ed;
}

.customer-account-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 24px;
  padding: 14px 22px;
  border-radius: 18px;
  border: 1px solid rgba(94, 115, 95, 0.16);
  background: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.customer-account-bar > span {
  flex: 1;
  overflow-wrap: anywhere;
  min-width: 0;
}

.customer-empty {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding-block: 42px;
  text-align: center;
}

.customer-empty img {
  object-fit: contain;
}

.customer-empty h3 {
  margin-bottom: 0;
}

.customer-empty p {
  color: var(--texte-doux);
}

.customer-details {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(94, 115, 95, 0.16);
  overflow-wrap: anywhere;
}

.customer-details dt {
  color: var(--texte-doux);
  font-size: 13px;
}

.customer-details dd {
  margin-top: 6px;
  font-weight: 650;
}

.customer-orders {
  display: grid;
  gap: 18px;
}

.customer-order {
  overflow: hidden;
  border: 1px solid rgba(94, 115, 95, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(63, 58, 54, 0.06);
}

.customer-order header,
.customer-order footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
}

.customer-order header {
  border-bottom: 1px solid rgba(94, 115, 95, 0.14);
  background: rgba(143, 166, 142, 0.1);
}

.customer-order header p {
  margin: 0 0 3px;
  color: var(--vert-profond);
  font-weight: 750;
}

.customer-order time,
.customer-order header > span,
.customer-order footer > span {
  color: var(--texte-doux);
  font-size: 13px;
}

.customer-order header > span {
  flex: none;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(94, 115, 95, 0.12);
  color: var(--vert-profond);
  font-weight: 750;
}

.customer-order ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 20px 22px;
  list-style: none;
}

.customer-order li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.45;
}

.customer-order li small {
  color: var(--texte-doux);
}

.customer-order-delivery {
  margin: 0;
  padding: 0 22px 18px;
  color: var(--vert-profond);
  font-size: 14px;
  line-height: 1.5;
}

.customer-order-tracking {
  margin: 0;
  padding: 0 22px 18px;
  color: var(--vert-profond);
  font-size: 14px;
  line-height: 1.5;
}

.customer-order footer {
  border-top: 1px solid rgba(94, 115, 95, 0.14);
}

.customer-order footer strong {
  color: var(--vert-profond);
  font-size: 18px;
}

@media (max-width: 768px) {
  .mobile-menu-account {
    margin-top: 8px;
    border-color: rgba(94, 115, 95, 0.2);
    background: rgba(143, 166, 142, 0.12);
  }

  .customer-page {
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .customer-account-bar {
    gap: 4px 14px;
    padding: 14px 18px;
  }

  .customer-account-bar > span {
    flex-basis: 100%;
  }

  .customer-card {
    border-radius: 22px;
  }

  .customer-order header,
  .customer-order footer,
  .customer-order li {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
