.lv-profile-page {
  min-height: 70vh;
  background: var(--cream, #f8f3eb);
}

.lv-profile-hero {
  padding: clamp(70px, 9vw, 120px) 0 clamp(40px, 6vw, 72px);
  text-align: center;
}

.lv-profile-hero .lv-h2 {
  margin: 8px 0 14px;
}

.lv-profile-hero .lv-lead {
  max-width: 650px;
  margin-inline: auto;
}

.lv-profile-content {
  padding: 0 0 clamp(80px, 10vw, 130px);
}

.lv-profile-loading {
  padding: 50px 20px;
  text-align: center;
  color: var(--plum, #58334d);
}

.lv-profile-card,
.lv-profile-message-card {
  width: min(100%, 860px);
  margin-inline: auto;
  background: #fff;
  border: 1px solid rgba(91, 54, 78, 0.12);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(72, 42, 62, 0.08);
}

.lv-profile-card {
  padding: clamp(28px, 5vw, 56px);
}

.lv-profile-message-card {
  padding: clamp(40px, 7vw, 70px);
  text-align: center;
}

.lv-profile-message-card__icon {
  display: block;
  margin-bottom: 16px;
  font-size: 26px;
  color: var(--gold, #b38a4b);
}

.lv-profile-message-card h2 {
  margin: 0 0 12px;
  font-family: "Fraunces", serif;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--plum, #58334d);
}

.lv-profile-message-card p {
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
  color: rgba(61, 44, 55, 0.72);
}

.lv-profile-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(91, 54, 78, 0.1);
}

.lv-profile-card__header h2 {
  margin: 5px 0 0;
  font-family: "Fraunces", serif;
  font-size: clamp(27px, 4vw, 36px);
  color: var(--plum, #58334d);
}

.lv-profile-card__mark {
  font-size: 25px;
  color: var(--gold, #b38a4b);
}

.lv-profile-fields,
.lv-profile-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.lv-profile-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lv-profile-field--full {
  grid-column: 1 / -1;
}

.lv-profile-field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--plum, #58334d);
}

.lv-profile-field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  border: 1px solid rgba(91, 54, 78, 0.18);
  border-radius: 13px;
  background: #fff;
  font: inherit;
  color: #342832;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.lv-profile-field input:focus {
  border-color: rgba(91, 54, 78, 0.55);
  box-shadow: 0 0 0 4px rgba(91, 54, 78, 0.08);
}

.lv-profile-field input[readonly] {
  background: rgba(91, 54, 78, 0.045);
  color: rgba(52, 40, 50, 0.7);
  cursor: default;
}

.lv-profile-field__hint {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(61, 44, 55, 0.58);
}

.lv-profile-section {
  margin-top: 42px;
  padding-top: 36px;
  border-top: 1px solid rgba(91, 54, 78, 0.1);
}

.lv-profile-section__heading {
  margin-bottom: 25px;
}

.lv-profile-section__heading h3 {
  margin: 0 0 6px;
  font-family: "Fraunces", serif;
  font-size: 25px;
  color: var(--plum, #58334d);
}

.lv-profile-section__heading p {
  margin: 0;
  font-size: 14px;
  color: rgba(61, 44, 55, 0.62);
}

.lv-profile-address-grid {
  grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.5fr) 150px;
}

.lv-profile-field--postal {
  grid-column: span 1;
}

.lv-profile-field--city {
  grid-column: span 3;
}

.lv-profile-field--street {
  grid-column: span 3;
}

.lv-profile-field--house {
  grid-column: span 1;
}

.lv-profile-feedback {
  margin-top: 28px;
  padding: 14px 17px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.lv-profile-feedback.is-success {
  background: rgba(61, 125, 89, 0.1);
  color: #315f45;
}

.lv-profile-feedback.is-error {
  background: rgba(164, 67, 67, 0.09);
  color: #8b3636;
}

.lv-profile-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 34px;
}

.lv-profile-actions button:disabled {
  opacity: 0.6;
  cursor: wait;
}

@media (max-width: 720px) {
  .lv-profile-hero {
    text-align: left;
  }

  .lv-profile-fields,
  .lv-profile-address-grid {
    grid-template-columns: 1fr;
  }

  .lv-profile-field,
  .lv-profile-field--postal,
  .lv-profile-field--city,
  .lv-profile-field--street,
  .lv-profile-field--house,
  .lv-profile-field--full {
    grid-column: 1;
  }

  .lv-profile-card {
    border-radius: 22px;
  }

  .lv-profile-actions {
    justify-content: stretch;
  }

  .lv-profile-actions .lv-btn {
    width: 100%;
  }
}

@media (max-width: 639px) {
  .lv-password-card {
    width: 100%;
    min-width: 0;
  }

  .lv-password-card .lv-profile-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .lv-password-card .lv-profile-field {
    min-width: 0;
  }

  .lv-password-card input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px;
  }

  .lv-password-card .lv-profile-actions button {
    width: 100%;
  }
}
