.breville-account-page {
  min-height: 70vh;
  padding: 64px 0 96px;
  background: #f4f1ef;
  color: #313638;
  font-family: "Helvetica-Neue", Arial, sans-serif;
}

.breville-account-container {
  max-width: 1280px;
}

.breville-account-hero {
  max-width: 760px;
  margin-bottom: 36px;
}

.breville-account-eyebrow,
.breville-account-kicker {
  margin: 0 0 10px;
  color: #421540;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.breville-account-hero h1 {
  margin: 0 0 12px;
  font-family: "Archer SSm", Georgia, serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.08;
}

.breville-account-intro {
  margin: 0;
  color: #616568;
  font-size: 16px;
  line-height: 1.55;
}

.breville-account-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.breville-account-sidebar {
  position: sticky;
  top: 112px;
  padding: 24px;
  border: 1px solid #ddd7d3;
  border-radius: 8px;
  background: #fff;
}

.breville-account-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e5e0dc;
}

.breville-account-avatar {
  display: inline-flex;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #421540;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
}

.breville-account-name {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 700;
}

.breville-account-email {
  margin: 0;
  overflow: hidden;
  color: #717578;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breville-account-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
}

.breville-account-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 4px;
  color: #313638;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.breville-account-nav a:hover,
.breville-account-nav a:focus-visible,
.breville-account-nav a.is-active {
  background: #f3eaf1;
  color: #421540;
}

.breville-account-nav a:focus-visible {
  outline: 2px solid #421540;
  outline-offset: 2px;
}

.breville-account-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: #421540;
  color: #fff;
  font-size: 11px;
}

.breville-account-nav .breville-account-logout {
  margin-top: 14px;
  border-top: 1px solid #e5e0dc;
  border-radius: 0;
  padding-top: 14px;
  color: #717578;
}

.breville-account-main {
  min-width: 0;
  padding: 32px;
  border: 1px solid #ddd7d3;
  border-radius: 8px;
  background: #fff;
}

.breville-account-welcome {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e5e0dc;
}

.breville-account-welcome > div {
  min-width: 0;
}

.breville-account-welcome h2,
.breville-account-section-heading h2,
.breville-account-tracking h2,
.breville-account-benefits h2 {
  margin: 0;
  font-family: "Archer SSm", Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}

.breville-account-welcome h2,
.breville-account-name,
.breville-account-email {
  overflow-wrap: anywhere;
}

.breville-account-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid #421540;
  border-radius: 3px;
  background: #421540;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.breville-account-primary-link:hover,
.breville-account-primary-link:focus-visible {
  background: #fff;
  color: #421540;
}

.breville-account-primary-link:focus-visible {
  outline: 2px solid #421540;
  outline-offset: 2px;
}

.breville-account-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 38px;
}

.breville-account-stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 112px;
  padding: 20px;
  border: 1px solid #e2ddd9;
  border-radius: 6px;
  background: #faf9f8;
}

.breville-account-stat span {
  color: #717578;
  font-size: 12px;
}

.breville-account-stat strong {
  color: #313638;
  font-size: 24px;
  line-height: 1.2;
}

.breville-account-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.breville-account-section-heading a {
  color: #421540;
  font-size: 13px;
  font-weight: 700;
}

.breville-account-order-list {
  border-top: 1px solid #e5e0dc;
}

.breville-account-order {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto auto;
  gap: 20px;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid #e5e0dc;
  color: #313638;
  text-decoration: none;
}

.breville-account-order:hover,
.breville-account-order:focus-visible {
  color: #421540;
}

.breville-account-order:focus-visible {
  outline: 2px solid #421540;
  outline-offset: 2px;
}

.breville-account-order > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.breville-account-order small,
.breville-account-order-status {
  color: #717578;
  font-size: 12px;
}

.breville-account-order-total {
  font-weight: 700;
}

.breville-account-empty {
  padding: 44px 24px;
  border: 1px dashed #d8d1cc;
  border-radius: 6px;
  text-align: center;
}

.breville-account-empty h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.breville-account-empty p {
  margin: 0 0 20px;
  color: #717578;
}

.breville-account-guest-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: stretch;
}

.breville-account-auth {
  min-width: 0;
  padding: 34px;
  border: 1px solid #ddd7d3;
  border-radius: 8px;
  background: #fff;
}

.breville-account-benefits {
  padding: 34px;
  border-radius: 8px;
  background: #421540;
  color: #fff;
}

.breville-account-benefits .breville-account-kicker {
  color: #e9dbe6;
}

.breville-account-benefits h2 {
  margin-bottom: 26px;
}

.breville-account-benefits ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breville-account-benefits li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.45;
}

.breville-account-benefits li::before {
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.breville-account-benefit-note {
  margin: 30px 0 0;
  color: #e9dbe6;
  font-size: 13px;
  line-height: 1.5;
}

.breville-account-tracking {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 32px;
  padding: 30px 34px;
  border: 1px solid #ddd7d3;
  border-radius: 8px;
  background: #fff;
}

.breville-account-auth .woocommerce,
.breville-account-endpoint .woocommerce {
  margin: 0;
}

.breville-account-auth .woocommerce-MyAccount-navigation,
.breville-account-endpoint .woocommerce-MyAccount-navigation {
  display: none;
}

.breville-account-auth .u-columns.col2-set {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.breville-account-auth .u-columns.breville-auth-panels {
  display: block;
}

.breville-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  max-width: 540px;
  margin: 0 auto 30px;
  padding: 4px;
  border: 1px solid #e2ddd9;
  border-radius: 5px;
  background: #f6f3f1;
}

.breville-account-page button.breville-auth-tab {
  min-height: 44px;
  padding: 9px 16px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #616568;
  font-size: 14px;
  font-weight: 700;
}

.breville-account-page button.breville-auth-tab:hover {
  background: #fff;
  color: #421540;
}

.breville-account-page button.breville-auth-tab.is-active {
  background: #fff;
  color: #421540;
  box-shadow: 0 1px 5px rgba(49, 54, 56, 0.12);
}

.breville-account-auth .u-columns.breville-auth-panels .breville-auth-panel {
  float: none;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 0;
  flex: none;
}

.breville-account-auth .breville-auth-panel[hidden] {
  display: none;
}

.breville-account-auth .u-column1,
.breville-account-auth .u-column2 {
  float: none;
  width: auto;
}

.breville-account-auth .u-column1 > h2,
.breville-account-auth .u-column2 > h2 {
  display: none;
}

.breville-account-auth h2,
.breville-account-endpoint h2 {
  margin: 0 0 20px;
  font-family: "Archer SSm", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}

.breville-account-page .woocommerce form {
  margin: 0;
}

.breville-account-page .form-row {
  margin-bottom: 16px;
  padding: 0;
}

.breville-account-page label {
  display: block;
  margin-bottom: 7px;
  color: #313638;
  font-size: 13px;
  font-weight: 700;
}

.breville-account-page .required {
  color: #a62a3d;
}

.breville-account-page .woocommerce-Input,
.breville-account-page input.input-text,
.breville-account-page input[type="email"],
.breville-account-page input[type="password"],
.breville-account-page input[type="text"],
.breville-account-page select {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #cfc8c3;
  border-radius: 3px;
  background: #fff;
  color: #313638;
  font-family: inherit;
  font-size: 15px;
}

.breville-account-page .woocommerce-Input:focus,
.breville-account-page input.input-text:focus,
.breville-account-page select:focus {
  border-color: #421540;
  box-shadow: 0 0 0 1px #421540;
  outline: none;
}

.breville-account-page button,
.breville-account-page .button,
.breville-account-page input[type="submit"] {
  min-height: 46px;
  padding: 10px 24px;
  border: 1px solid #421540;
  border-radius: 3px;
  background: #421540;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.breville-account-page button:hover,
.breville-account-page .button:hover,
.breville-account-page input[type="submit"]:hover {
  background: #fff;
  color: #421540;
}

.breville-account-page button:focus-visible,
.breville-account-page .button:focus-visible,
.breville-account-page input[type="submit"]:focus-visible {
  outline: 2px solid #421540;
  outline-offset: 2px;
}

.breville-account-page .woocommerce-LostPassword {
  margin: 14px 0 0;
}

.breville-account-page .woocommerce-LostPassword a,
.breville-account-page .woocommerce-form-login-toggle a {
  color: #421540;
  font-size: 13px;
}

.breville-account-page .woocommerce-form__label-for-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 400;
}

.breville-account-page .woocommerce-form__input-checkbox {
  width: 16px;
  min-height: 16px;
  margin: 0;
}

.breville-account-page .woocommerce-notices-wrapper {
  margin-bottom: 18px;
}

.breville-account-page .woocommerce-message,
.breville-account-page .woocommerce-info,
.breville-account-page .woocommerce-error {
  max-width: none;
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 4px;
}

.breville-account-page .track_order {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  margin: 0;
}

.breville-account-page .track_order p {
  margin: 0;
}

.breville-account-page .track_order button {
  margin-bottom: 0;
}

.breville-account-page .woocommerce-orders-table,
.breville-account-page .woocommerce-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.breville-account-page .woocommerce-orders-table th,
.breville-account-page .woocommerce-orders-table td,
.breville-account-page .woocommerce-table th,
.breville-account-page .woocommerce-table td {
  padding: 13px 12px;
  border-bottom: 1px solid #e5e0dc;
  text-align: left;
}

.breville-account-page .woocommerce-orders-table th,
.breville-account-page .woocommerce-table th {
  color: #717578;
  font-size: 12px;
  font-weight: 700;
}

.breville-account-page .woocommerce-orders-table td {
  font-size: 14px;
}

.breville-account-page .woocommerce-orders-table a.button {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 12px;
}

.breville-account-page .woocommerce-Addresses,
.breville-account-page .woocommerce-address-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.breville-account-page .woocommerce-Address {
  padding: 20px;
  border: 1px solid #e2ddd9;
  border-radius: 6px;
}

.breville-account-page .woocommerce-Address-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 991px) {
  .breville-account-layout,
  .breville-account-guest-layout,
  .breville-account-tracking {
    grid-template-columns: 1fr;
  }

  .breville-account-sidebar {
    position: static;
  }

  .breville-account-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .breville-account-nav .breville-account-logout {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
  }

  .breville-account-tracking {
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .breville-account-page {
    padding: 34px 0 64px;
  }

  .breville-account-hero {
    margin-bottom: 24px;
  }

  .breville-account-hero h1 {
    font-size: 38px;
  }

  .breville-account-layout {
    gap: 20px;
  }

  .breville-account-sidebar,
  .breville-account-main,
  .breville-account-auth,
  .breville-account-benefits,
  .breville-account-tracking {
    padding: 22px;
  }

  .breville-account-welcome,
  .breville-account-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .breville-account-stats {
    grid-template-columns: 1fr;
  }

  .breville-account-stat {
    min-height: 88px;
  }

  .breville-account-order {
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding: 14px 0;
  }

  .breville-account-order-status {
    display: none;
  }

  .breville-account-auth .u-columns.col2-set,
  .breville-account-page .woocommerce-Addresses,
  .breville-account-page .woocommerce-address-fields,
  .breville-account-page .track_order {
    grid-template-columns: 1fr;
  }

  .breville-account-nav {
    grid-template-columns: 1fr;
  }

  .breville-account-page .woocommerce-order,
  .breville-account-page .woocommerce-orders-table {
    display: block;
    overflow-x: auto;
  }

  .breville-account-page .track_order button,
  .breville-account-page .woocommerce-form-register button,
  .breville-account-page .woocommerce-form-login button {
    width: 100%;
  }
}
