.mps-account-page,
.mps-account-auth {
  background: #f8f4ef;
  color: #171513;
}
.mps-account-hero {
  padding: clamp(74px, 8vw, 132px) 0;
  border-bottom: 1px solid rgba(132, 105, 85, .16);
  background: linear-gradient(135deg, #fbf8f4, #f3ece5);
}
.mps-account-hero__inner {
  display: flex;
  min-height: 250px;
  align-items: center;
}
.mps-account-hero__inner > div { max-width: 780px; }
.mps-account-hero h1 {
  margin: 16px 0 24px;
  font-family: "Playfair Display", serif;
  font-size: clamp(58px, 7vw, 106px);
  font-weight: 400;
  line-height: .95;
}
.mps-account-hero p:last-child {
  max-width: 620px;
  color: #6f6862;
  font-size: 18px;
  line-height: 1.7;
}
.mps-account-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 30px;
  padding-top: 56px;
  padding-bottom: 100px;
}
.mps-account-sidebar,
.mps-account-content,
.mps-account-auth__card {
  border: 1px solid rgba(90, 72, 60, .12);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(52, 40, 31, .07);
}
.mps-account-sidebar {
  position: sticky;
  top: 112px;
  align-self: start;
  overflow: hidden;
}
.mps-account-sidebar__heading {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px;
  border-bottom: 1px solid #eee7e1;
}
.mps-account-sidebar__heading > span {
  display: grid;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: #171513;
  color: #fff;
  font-weight: 700;
}
.mps-account-sidebar__heading small,
.mps-account-sidebar__heading strong { display: block; }
.mps-account-sidebar__heading small { margin-bottom: 3px; color: #90867f; }
.mps-account-nav,
.woocommerce-MyAccount-navigation.mps-account-nav {
  float: none;
  width: 100%;
  max-width: none;
  min-width: 0;
}
.mps-account-nav ul { margin: 0; padding: 12px; list-style: none; }
.mps-account-nav li { width: 100%; margin: 0; }
.mps-account-sidebar .mps-account-nav a {
  display: flex;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  color: #2a2724;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.mps-account-sidebar .mps-account-nav a span {
  display: block;
  min-width: 0;
  overflow: visible;
  color: inherit;
  line-height: 1.35;
  text-overflow: clip;
  white-space: nowrap;
}
.mps-account-sidebar .mps-account-nav a i {
  flex: 0 0 auto;
  font-style: normal;
  line-height: 1;
  transition: transform .2s ease;
}
.mps-account-sidebar .mps-account-nav a:hover i { transform: translateX(3px); }
.mps-account-sidebar .mps-account-nav a:hover,
.mps-account-sidebar .mps-account-nav .is-active a { background: #f3ede7; }
.mps-account-sidebar .mps-account-nav .woocommerce-MyAccount-navigation-link--customer-logout a {
  margin-top: 8px;
  color: #8b2f2f;
  white-space: nowrap;
}
.mps-account-sidebar .mps-account-nav .woocommerce-MyAccount-navigation-link--customer-logout a span {
  white-space: nowrap;
}
.mps-account-content {
  min-width: 0;
  overflow: hidden;
  padding: clamp(28px, 4vw, 58px);
}
.mps-account-content__heading h2,
.mps-account-content h2,
.mps-account-content h3 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
}
.mps-account-content__heading h2 {
  margin: 10px 0 18px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
}
.mps-account-content__heading > p:last-child {
  color: #756d66;
  font-size: 17px;
  line-height: 1.65;
}
.mps-account-quicklinks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.mps-account-quicklinks a {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #e8dfd8;
  border-radius: 22px;
  color: #211e1b;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}
.mps-account-quicklinks a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(35, 27, 21, .08);
}
.mps-account-quicklinks span { color: #9b8e84; font-size: 12px; }
.mps-account-quicklinks strong {
  margin: auto 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 25px;
  font-weight: 400;
}
.mps-account-quicklinks small { color: #766e67; line-height: 1.45; }
.mps-account-content table { width: 100%; margin-top: 24px; border-collapse: collapse; }
.mps-account-content th,
.mps-account-content td { padding: 16px 12px; border-bottom: 1px solid #ece5df; text-align: left; }
.mps-account-content .button,
.mps-account-content button,
.mps-account-submit {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 15px 24px;
  background: #171513;
  color: #fff;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.mps-account-content input,
.mps-account-content select,
.mps-account-content textarea,
.mps-account-auth input {
  width: 100%;
  min-height: 56px;
  box-sizing: border-box;
  border: 1px solid #d9cec5;
  border-radius: 16px;
  padding: 12px 16px;
  background: #fff;
  font: inherit;
}
.mps-account-content fieldset {
  margin: 28px 0;
  border: 1px solid #e7ddd5;
  border-radius: 20px;
  padding: 22px;
}
.mps-account-content fieldset legend { padding: 0 10px; font-weight: 700; }
.mps-account-content .form-row { box-sizing: border-box; }
.mps-account-content .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: none;
  margin-top: 26px;
}
.mps-account-content .woocommerce-Addresses::before,
.mps-account-content .woocommerce-Addresses::after {
  display: none;
  content: none;
}
.mps-account-content .woocommerce-Addresses > .woocommerce-Address,
.mps-account-content .woocommerce-Addresses > .u-column1,
.mps-account-content .woocommerce-Addresses > .u-column2,
.mps-account-content .woocommerce-Addresses > .col-1,
.mps-account-content .woocommerce-Addresses > .col-2 {
  float: none;
  width: 100%;
  max-width: none;
  min-width: 0;
  flex: 0 0 auto;
  flex-basis: auto;
  box-sizing: border-box;
  margin: 0;
}
.mps-account-content .woocommerce-Address {
  padding: 26px;
  border: 1px solid #ebe3dc;
  border-radius: 22px;
  background: #fff;
}
.mps-account-content .woocommerce-Address-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
}
.mps-account-content .woocommerce-Address-title h2 {
  min-width: 0;
  margin: 0;
  font-size: clamp(34px, 3.2vw, 54px);
  line-height: 1.02;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.mps-account-content .woocommerce-Address-title a {
  flex: 0 0 auto;
  align-self: start;
  color: #2a2724;
  white-space: nowrap;
}
.mps-account-content .woocommerce-Address address {
  margin-top: 18px;
  color: #6f6862;
  font-style: normal;
  line-height: 1.65;
}
.mps-account-content .woocommerce-message,
.mps-account-content .woocommerce-info,
.mps-account-content .woocommerce-error {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 24px;
  border: 1px solid #e3d8cf;
  border-top: 1px solid #e3d8cf;
  border-radius: 18px;
  padding: 16px 18px 16px 54px;
  background: #faf7f4;
  color: #322e2a;
  box-shadow: 0 12px 30px rgba(50, 39, 31, .05);
}
.mps-account-content .woocommerce-message::before,
.mps-account-content .woocommerce-info::before,
.mps-account-content .woocommerce-error::before {
  position: absolute;
  top: 50%;
  left: 18px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #d8c9be;
  border-radius: 50%;
  color: #171513;
  content: "i";
  font-size: 12px;
  font-weight: 700;
  transform: translateY(-50%);
}
.mps-account-content .woocommerce-message::before { content: "✓"; }
.mps-account-content .woocommerce-error { display: grid; list-style: none; }
.mps-account-content .woocommerce-info .button,
.mps-account-content .woocommerce-message .button {
  order: 2;
  flex: 0 0 auto;
  margin-left: auto;
}
.mps-account-auth__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding-top: 64px;
  padding-bottom: 110px;
}
.mps-account-auth__grid.is-single { grid-template-columns: minmax(0, 720px); justify-content: center; }
.mps-account-auth__card { padding: clamp(28px, 4vw, 54px); }
.mps-account-auth__card h2 {
  margin: 10px 0 34px;
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
}
.mps-account-auth__card .form-row { margin: 0 0 20px; }
.mps-account-auth__card label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.mps-account-auth__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 8px 0 24px;
}
.mps-account-auth__actions label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.mps-account-auth__actions input { width: 18px; height: 18px; min-height: 0; }
.mps-account-auth__actions a { color: #2c2825; }
.mps-account-submit { width: 100%; min-height: 58px; }
.woocommerce-orders-table__cell-order-actions .button { display: inline-flex; margin: 3px; }

@media (max-width: 1180px) {
  .mps-account-layout { grid-template-columns: 300px minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .mps-account-layout { grid-template-columns: 1fr; padding-top: 36px; }
  .mps-account-sidebar { position: static; }
  .mps-account-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mps-account-quicklinks { grid-template-columns: 1fr; }
  .mps-account-auth__grid { grid-template-columns: 1fr; }
  .mps-account-hero__inner { min-height: 190px; }
}
@media (max-width: 720px) {
  .mps-account-content .woocommerce-Addresses { grid-template-columns: 1fr; }
  .mps-account-content .woocommerce-Address-title { display: block; }
  .mps-account-content .woocommerce-Address-title a { display: inline-block; margin-top: 14px; }
}
@media (max-width: 640px) {
  .mps-account-hero { padding: 58px 0; }
  .mps-account-hero h1 { font-size: 54px; }
  .mps-account-layout { gap: 20px; padding-bottom: 72px; }
  .mps-account-sidebar,
  .mps-account-content,
  .mps-account-auth__card { border-radius: 20px; }
  .mps-account-nav ul { grid-template-columns: 1fr; }
  .mps-account-content { padding: 24px 18px; }
  .mps-account-auth__grid { padding-top: 28px; }
  .mps-account-auth__actions { align-items: flex-start; flex-direction: column; }
  .mps-account-content table,
  .mps-account-content thead,
  .mps-account-content tbody,
  .mps-account-content tr,
  .mps-account-content th,
  .mps-account-content td { display: block; }
  .mps-account-content thead { display: none; }
  .mps-account-content tr { padding: 14px 0; border-bottom: 1px solid #ece5df; }
  .mps-account-content td { border: 0; padding: 6px 0; }
  .mps-account-content .woocommerce-message,
  .mps-account-content .woocommerce-info,
  .mps-account-content .woocommerce-error { align-items: flex-start; flex-direction: column; padding-right: 18px; }
  .mps-account-content .woocommerce-info .button,
  .mps-account-content .woocommerce-message .button { margin: 4px 0 0; }
}
