/* Logged-in My Account redesign */
.haveitall-account-shell {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 1.4rem;
  margin: 1.4rem auto 2rem;
  width: 100%;
  max-width: var(--haveitall-layout-content-max);
  box-sizing: border-box;
  align-items: stretch;
}

.haveitall-account-sidebar {
  background: linear-gradient(140deg, var(--haveitall-primary) 0%, var(--haveitall-dark-2) 100%);
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: var(--card-shadow, 0 10px 24px rgba(22, 58, 82, 0.08));
  align-self: start;
  position: sticky;
  top: clamp(12px, 2vh, 22px);
  height: fit-content;
  min-height: auto;
  box-sizing: border-box;
}

.haveitall-account-profile {
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--haveitall-text-inverse) 24%, transparent);
  margin-bottom: 0.9rem;
}

.haveitall-account-avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.55rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-secondary, var(--color-secondary)) 100%);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.haveitall-account-profile h2 {
  margin: 0;
  color: var(--haveitall-text-inverse);
  font-size: 1.1rem;
}

.haveitall-account-profile p {
  margin: 0.35rem 0 0;
  color: color-mix(in srgb, var(--haveitall-text-inverse) 78%, transparent);
  font-size: 0.78rem;
  word-break: break-word;
}

.haveitall-account-nav {
  display: grid;
  gap: 0.35rem;
}

/* Stray <br> from wpautop / page builder — layout uses grid/flex, not line breaks. */
.haveitall-account-nav > br,
.haveitall-account-nav a br,
.haveitall-account-empty-state > br,
.haveitall-account-empty-state p br,
.haveitall-account-empty-state .haveitall-account-action-secondary br,
.haveitall-account-order-actions > br,
.haveitall-account-order-actions a br {
  display: none !important;
}

.haveitall-account-nav-link {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  min-height: 46px;
  border-radius: 10px;
  padding: 0.62rem 0.8rem;
  color: color-mix(in srgb, var(--haveitall-text-inverse) 92%, transparent);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.haveitall-account-nav-link.is-active {
  background: var(--color-accent-soft);
  color: var(--color-accent-hover);
  font-weight: 700;
}

.haveitall-account-nav-link:hover,
.haveitall-account-nav-link:focus-visible {
  background: color-mix(in srgb, var(--haveitall-text-inverse) 16%, transparent);
  color: var(--haveitall-text-inverse);
}

.haveitall-account-nav-link.haveitall-account-nav-link--logout {
  color: #fff;
  background: #b91c1c;
}

.haveitall-account-nav-icon {
  width: 1.2rem;
  height: 1.2rem;
  display: inline-flex;
}

.haveitall-account-nav-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.haveitall-account-content {
  background: transparent;
  min-width: 0;
  width: 100% !important;
  float: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.haveitall-account-content > :not(.woocommerce-notices-wrapper) {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: 100%;
  box-sizing: border-box;
  flex: 1 1 auto;
}

.haveitall-account-content > .woocommerce-notices-wrapper {
  width: 100%;
  height: auto !important;
  flex: 0 0 auto;
}

.haveitall-account-content > .woocommerce-notices-wrapper:empty {
  display: none;
}

.haveitall-account-page .entry-title,
.haveitall-account-page .page-title,
.haveitall-account-page .woocommerce-products-header__title {
  display: none !important;
}

.haveitall-account-dashboard,
.haveitall-account-orders,
.haveitall-account-view-order,
.haveitall-account-downloads,
.haveitall-account-addresses,
.haveitall-account-edit-address,
.haveitall-account-edit-account {
  background: var(--color-surface, #ffffff);
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: var(--card-shadow, 0 10px 24px rgba(22, 58, 82, 0.08));
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.haveitall-account-dashboard-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.haveitall-account-dashboard-header h1 {
  margin: 0;
  color: var(--color-primary);
  font-size: 1.35rem;
}

.haveitall-account-dashboard-header p {
  margin: 0.25rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.haveitall-account-chips {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.haveitall-account-chips > br,
.haveitall-account-chips > p:empty {
  display: none !important;
}

.haveitall-account-chip {
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: var(--input-bg);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border: 0;
}

.haveitall-account-chip.is-active {
  background: var(--color-accent-soft);
  color: var(--color-accent-hover);
  font-weight: 700;
}

.haveitall-account-order-grid {
  display: grid;
  gap: 0.9rem;
  flex: 1;
  align-content: start;
}

.haveitall-account-order-card {
  border-radius: 12px;
  border-right: 4px solid var(--color-border);
  background: var(--color-surface);
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.haveitall-account-order-card.is-processing,
.haveitall-account-order-card.is-on-hold {
  border-right-color: var(--haveitall-primary);
}

.haveitall-account-order-card.is-completed {
  border-right-color: #2f9e64;
}

.haveitall-account-order-card.is-cancelled,
.haveitall-account-order-card.is-failed,
.haveitall-account-order-card.is-refunded {
  border-right-color: #b91c1c;
}

.haveitall-account-order-main {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

.haveitall-account-order-kicker {
  color: var(--color-text-muted);
  font-size: 0.72rem;
}

.haveitall-account-order-main h3 {
  margin: 0.16rem 0;
  font-size: 1rem;
  color: var(--haveitall-primary);
}

.haveitall-account-order-main p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.84rem;
}

.haveitall-account-order-meta {
  text-align: left;
}

.haveitall-account-order-meta strong {
  display: block;
  margin-top: 0.42rem;
  color: var(--color-text);
}

.haveitall-account-status-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.24rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--input-bg);
  color: var(--color-text-muted);
}

.haveitall-account-status-pill.is-processing,
.haveitall-account-status-pill.is-on-hold {
  background: var(--haveitall-tint-blue-bg);
  color: var(--color-secondary);
}

.haveitall-account-status-pill.is-completed {
  background: color-mix(in srgb, #2f9e64 20%, #ffffff);
  color: #2f9e64;
}

.haveitall-account-status-pill.is-cancelled,
.haveitall-account-status-pill.is-failed,
.haveitall-account-status-pill.is-refunded {
  background: color-mix(in srgb, #b91c1c 16%, #ffffff);
  color: #b91c1c;
}

.haveitall-account-order-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.haveitall-account-order-actions .haveitall-account-action-primary {
  width: auto;
  min-height: 38px;
  padding: 0.36rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 8px !important;
}

.haveitall-account-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--color-text-muted);
  padding: 0.36rem 0.75rem;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.haveitall-account-action-secondary:hover,
.haveitall-account-action-secondary:focus-visible {
  background: var(--color-border);
  color: var(--haveitall-primary);
}

.haveitall-account-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border-radius: 12px;
  padding: 1.1rem;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  text-align: center;
}

.haveitall-account-empty-state h3 {
  margin: 0;
  color: var(--haveitall-primary);
}

.haveitall-account-empty-state p {
  margin: 0;
  color: var(--color-text-muted);
}

.haveitall-account-empty-state .button {
  width: auto;
  min-height: 36px;
  padding: 0.32rem 0.75rem;
  font-size: 0.86rem;
  line-height: 1.25;
}

.haveitall-account-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 15px;
}

.haveitall-account-promo {
  border-radius: 12px;
  padding: 1rem;
  background: var(--color-bg);
}

.haveitall-account-promo h4 {
  margin: 0 0 0.4rem;
  color: var(--haveitall-primary);
  font-weight: 500;
}

.haveitall-account-promo p {
  margin: 0 0 0.8rem;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 400;
}

.haveitall-account-promo a {
  color: var(--haveitall-primary);
  font-weight: 500;
  text-decoration: none;
  background: color-mix(in srgb, var(--haveitall-tint-blue-bg) 30%, transparent);
  padding: 5px 20px;
  border-radius: 7px;
  font-size: 0.9rem;
}

.haveitall-account-promo--primary {
  background: linear-gradient(125deg, var(--haveitall-primary) 0%, var(--haveitall-dark-2) 100%);
}

.haveitall-account-promo--primary h4,
.haveitall-account-promo--primary p,
.haveitall-account-promo--primary a {
  color: #fff;
}

.haveitall-account-orders-header {
  margin-bottom: 0.9rem;
}

.haveitall-account-orders-header h2 {
  margin: 0;
  color: var(--haveitall-primary);
  font-size: 1.35rem;
}

.haveitall-account-orders-header p {
  margin: 0.2rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.haveitall-account-orders-list {
  display: grid;
  gap: 0.75rem;
}

.haveitall-account-orders-table-wrap {
  border: 1px solid rgba(193, 199, 206, 0.6);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface);
  flex: 1;
}

.haveitall-account-orders-table {
  width: 100%;
  border-collapse: collapse;
}

.haveitall-account-orders-table th,
.haveitall-account-orders-table td {
  text-align: right;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid rgba(193, 199, 206, 0.45);
  vertical-align: middle;
  font-size: 0.88rem;
}

.haveitall-account-orders-table thead th {
  background: var(--color-bg);
  color: var(--haveitall-primary);
  font-weight: 700;
}

.haveitall-account-orders-table tbody tr:last-child td {
  border-bottom: 0;
}

.haveitall-account-orders-col--number a {
  color: var(--haveitall-primary);
  text-decoration: none;
  font-weight: 700;
}

.haveitall-account-orders-row.is-processing td:first-child,
.haveitall-account-orders-row.is-on-hold td:first-child {
  border-right: 3px solid var(--haveitall-primary);
}

.haveitall-account-orders-row.is-completed td:first-child {
  border-right: 3px solid #2f9e64;
}

.haveitall-account-orders-row.is-cancelled td:first-child,
.haveitall-account-orders-row.is-failed td:first-child,
.haveitall-account-orders-row.is-refunded td:first-child {
  border-right: 3px solid #b91c1c;
}

.haveitall-account-orders-table .haveitall-account-order-actions {
  justify-content: flex-start;
}

.haveitall-account-orders-pagination {
  margin-top: auto;
  padding-top: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.haveitall-account-orders-pagination .button {
  border-radius: 8px !important;
  padding: 0 0.6rem !important;
  min-height: 30px !important;
  height: 30px !important;
  font-size: 0.84rem !important;
  line-height: 1 !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.haveitall-account-orders-pagination .woocommerce-button,
.haveitall-account-orders-pagination .woocommerce-Button,
.haveitall-account-orders-pagination .button {
  background: var(--haveitall-primary) !important;
  color: #ffffff !important;
  border-color: var(--haveitall-primary) !important;
  box-shadow: none !important;
}

.haveitall-account-orders-pagination .woocommerce-button:hover,
.haveitall-account-orders-pagination .woocommerce-Button:hover,
.haveitall-account-orders-pagination .button:hover,
.haveitall-account-orders-pagination .woocommerce-button:focus-visible,
.haveitall-account-orders-pagination .woocommerce-Button:focus-visible,
.haveitall-account-orders-pagination .button:focus-visible {
  background: var(--haveitall-primary-hover) !important;
  color: #ffffff !important;
  border-color: var(--haveitall-primary-hover) !important;
}

.haveitall-account-orders-pagination-numbers {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.haveitall-account-page-number {
  min-width: 30px;
  height: 30px;
  padding: 0 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--haveitall-primary);
  text-decoration: none;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.haveitall-account-page-number.current {
  background: var(--haveitall-primary);
  color: #ffffff;
  border-color: var(--haveitall-primary);
}

@media (max-width: 700px) {
  .haveitall-account-orders-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

.haveitall-account-content .woocommerce,
.haveitall-account-content .woocommerce-MyAccount-content {
  background: #ffffff;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(22, 58, 82, 0.08);
}

.haveitall-account-content .woocommerce form .button,
.haveitall-account-content .woocommerce button.button {
  font-family: var(--haveitall-font-primary) !important;
  color: #ffffff !important;
  border-radius: 10px;
}

.haveitall-account-content .haveitall-auth-submit.button,
.haveitall-account-content .haveitall-auth-submit.woocommerce-button {
  min-height: 36px !important;
  height: auto !important;
  padding: 0.32rem 0.75rem;
  font-size: 0.86rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.haveitall-account-content .woocommerce input[type="text"],
.haveitall-account-content .woocommerce input[type="email"],
.haveitall-account-content .woocommerce input[type="password"],
.haveitall-account-content .woocommerce input[type="tel"],
.haveitall-account-content .woocommerce textarea {
  font-family: var(--haveitall-font-primary) !important;
  border: 0 !important;
  background: var(--input-bg) !important;
  border-radius: 10px;
  color: var(--color-text);
  min-height: 48px;
  box-sizing: border-box;
}

.haveitall-account-content .woocommerce select {
  font-family: var(--haveitall-font-primary) !important;
  width: 100%;
  box-sizing: border-box;
}

/* View-order endpoint in account area */
.haveitall-account-content .woocommerce-MyAccount-content > p:first-of-type {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
}

.haveitall-account-content .woocommerce-MyAccount-content > p:first-of-type mark {
  background: transparent;
  color: var(--haveitall-primary);
  font-weight: 700;
}

.haveitall-account-content .woocommerce-order-details {
  margin: 0 0 0.9rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  width: 100% !important;
  float: none !important;
  clear: both;
  box-sizing: border-box;
}

.haveitall-account-content .woocommerce-order-details__title {
  margin: 0 0 0.85rem;
  color: var(--haveitall-primary);
  font-size: 1.15rem;
}

/* View-order: keep "Order again" aligned with global primary button design. */
.woocommerce-account.woocommerce-view-order .haveitall-account-content .order-again .button,
.woocommerce-account.woocommerce-view-order .haveitall-account-content .woocommerce-order-details__actions .button {
  background: var(--haveitall-primary) !important;
  color: var(--haveitall-text-inverse) !important;
  border: 1px solid var(--haveitall-primary) !important;
  border-radius: var(--haveitall-control-radius);
  min-height: 2.25rem;
  padding: 0.4rem 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: none;
}

.woocommerce-account.woocommerce-view-order .haveitall-account-content .order-again .button:hover,
.woocommerce-account.woocommerce-view-order .haveitall-account-content .woocommerce-order-details__actions .button:hover,
.woocommerce-account.woocommerce-view-order .haveitall-account-content .order-again .button:focus-visible,
.woocommerce-account.woocommerce-view-order .haveitall-account-content .woocommerce-order-details__actions .button:focus-visible {
  background: var(--haveitall-primary-hover) !important;
  border-color: var(--haveitall-primary-hover) !important;
  color: var(--haveitall-text-inverse) !important;
}

.haveitall-account-content .woocommerce-table.order_details {
  margin: 0;
  border: 1px solid rgba(193, 199, 206, 0.55);
  border-radius: 10px;
  overflow: hidden;
}

.haveitall-account-content .woocommerce-table.order_details th,
.haveitall-account-content .woocommerce-table.order_details td {
  padding: 0.6rem 0.7rem;
  border-color: rgba(193, 199, 206, 0.45);
  font-size: 0.9rem;
}

.haveitall-account-content .woocommerce-table.order_details thead th {
  background: var(--color-bg);
  color: var(--haveitall-primary);
  font-weight: 700;
}

.haveitall-account-content .woocommerce-table.order_details tfoot th {
  color: var(--haveitall-primary);
}

.haveitall-account-content .woocommerce-table.order_details tfoot tr:last-child th,
.haveitall-account-content .woocommerce-table.order_details tfoot tr:last-child td {
  font-weight: 700;
}

.haveitall-account-content .woocommerce-customer-details {
  margin-top: 0;
  width: 100% !important;
  float: none !important;
  clear: both;
  box-sizing: border-box;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(193, 199, 206, 0.45);
}

.haveitall-account-content .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
}

.haveitall-account-content .woocommerce-column--billing-address,
.haveitall-account-content .woocommerce-column--shipping-address,
.haveitall-account-content .woocommerce-customer-details > .woocommerce-column--billing-address {
  float: none;
  width: 100%;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-sizing: border-box;
}

.haveitall-account-content .woocommerce-customer-details > h2,
.haveitall-account-content .woocommerce-customer-details > address {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
}

.haveitall-account-content .woocommerce-customer-details > h2 {
  margin: 0 0 0.55rem;
  padding: 0;
}

.haveitall-account-content .woocommerce-customer-details > address {
  margin: 0;
  padding: 0;
}

.haveitall-account-content .woocommerce-column__title {
  margin: 0 0 0.6rem;
  color: var(--haveitall-primary);
  font-size: 1rem;
}

.haveitall-account-content .woocommerce-customer-details address {
  margin: 0;
  line-height: 1.75;
  color: var(--color-text-muted);
  font-style: normal;
}

.haveitall-account-content .woocommerce-customer-details .woocommerce-columns,
.haveitall-account-content .woocommerce-customer-details .woocommerce-columns--2,
.haveitall-account-content .woocommerce-customer-details .col2-set {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.9rem;
  width: 100%;
}

.haveitall-account-content .woocommerce-customer-details .col-1,
.haveitall-account-content .woocommerce-customer-details .col-2,
.haveitall-account-content .woocommerce-customer-details .u-column1,
.haveitall-account-content .woocommerce-customer-details .u-column2,
.haveitall-account-content .woocommerce-customer-details .woocommerce-column {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: both !important;
  margin: 0 !important;
}

.haveitall-account-content .woocommerce-customer-details--phone,
.haveitall-account-content .woocommerce-customer-details--email {
  margin: 0.45rem 0 0;
  color: var(--haveitall-primary);
}

.haveitall-account-content .woocommerce-customer-details--email::before,
.haveitall-account-content .woocommerce-customer-details--phone::before {
  margin-inline-start: 0.35rem;
  color: var(--color-text-muted);
}

/* Force view-order sections to stack vertically in one card */
.haveitall-account-content .woocommerce-MyAccount-content > p,
.haveitall-account-content .woocommerce-order-details,
.haveitall-account-content .woocommerce-customer-details {
  width: 100% !important;
  float: none !important;
  display: block !important;
  clear: both !important;
}

.haveitall-account-content .woocommerce-MyAccount-content > p {
  margin-bottom: 0.9rem;
}

.haveitall-account-content .woocommerce-order-details {
  margin-bottom: 0.9rem;
}

.haveitall-account-content .woocommerce-customer-details {
  margin-top: 0 !important;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(193, 199, 206, 0.45);
}

.woocommerce-account.woocommerce-view-order .haveitall-account-content {
  display: flex !important;
  flex-direction: column !important;
}

.woocommerce-account.woocommerce-view-order .haveitall-account-content > * {
  height: auto !important;
}

.woocommerce-account.woocommerce-view-order .haveitall-account-content a {
  color: var(--haveitall-primary);
  text-decoration: none;
}

.woocommerce-account.woocommerce-view-order .haveitall-account-content a:visited {
  color: var(--haveitall-primary);
}

.haveitall-account-view-order > p {
  margin-bottom: 0.9rem;
}

.haveitall-account-downloads-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.haveitall-account-downloads-empty p {
  margin: 0;
}

.haveitall-account-form .form-row {
  margin-bottom: 0.9rem;
}

.haveitall-account-form input[type="text"],
.haveitall-account-form input[type="email"],
.haveitall-account-form input[type="password"],
.haveitall-account-form input[type="tel"],
.haveitall-account-form textarea {
  background: var(--haveitall-surface) !important;
  border: 1px solid var(--haveitall-border-shell) !important;
  border-radius: var(--haveitall-control-radius);
  min-height: 52px;
  box-shadow: none !important;
}

.haveitall-account-form select {
  width: 100%;
  box-sizing: border-box;
  box-shadow: none !important;
}

.haveitall-account-form .select2-container {
  width: 100% !important;
}

.haveitall-account-form .select2-container .select2-selection {
  overflow: hidden;
}

/* Native select + Select2: global.css (body.woocommerce-page) */

.haveitall-account-form .form-row:last-child {
  margin-bottom: 0;
}

.haveitall-account-edit-address h2,
.haveitall-account-edit-account h2 {
  margin: 0 0 0.85rem;
  color: var(--haveitall-primary);
  font-size: 1.35rem;
}

.haveitall-account-edit-account fieldset {
  margin: 0.75rem 0 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.haveitall-account-edit-account legend {
  margin-bottom: 0.65rem;
  color: var(--haveitall-primary);
}

.haveitall-account-edit-account .haveitall-input-wrap .haveitall-password-visibility {
  color: var(--color-text-muted);
  background: rgba(29, 85, 115, 0.08);
}

.haveitall-account-edit-account .haveitall-input-wrap .haveitall-password-visibility:hover,
.haveitall-account-edit-account .haveitall-input-wrap .haveitall-password-visibility:focus-visible,
.haveitall-account-edit-account .haveitall-input-wrap .haveitall-password-visibility.is-visible {
  color: var(--haveitall-primary);
}

.haveitall-account-edit-account .show-password-input,
.haveitall-account-edit-account .show-password-input::after {
  display: none !important;
}

.haveitall-account-form-actions {
  margin: 0.5rem 0 0;
}

.haveitall-account-addresses > p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.haveitall-account-addresses .woocommerce-Addresses {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  width: 100%;
}

.haveitall-account-addresses .woocommerce-Addresses .u-column1,
.haveitall-account-addresses .woocommerce-Addresses .u-column2,
.haveitall-account-addresses .woocommerce-Addresses .col-1,
.haveitall-account-addresses .woocommerce-Addresses .col-2,
.haveitall-account-addresses .woocommerce-Addresses .woocommerce-Address {
  width: 100% !important;
  float: none !important;
  clear: both !important;
  margin: 0 !important;
  max-width: none !important;
}

.haveitall-account-addresses .woocommerce-Address {
  background: var(--color-surface);
  border: 1px solid rgba(193, 199, 206, 0.45);
  border-radius: 12px;
  padding: 0.95rem;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

.haveitall-account-addresses .woocommerce-Address-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.haveitall-account-addresses .woocommerce-Address-title h2 {
  margin: 0;
  margin-inline-end: 0 !important;
  padding-inline-end: 0 !important;
  color: var(--haveitall-primary);
  font-size: 1.05rem;
}

.haveitall-account-addresses .woocommerce-Address-title a {
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  min-height: 30px;
  padding: 0.28rem 0.72rem;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  width: auto !important;
  max-width: 100%;
  align-self: center;
}

.haveitall-account-addresses .woocommerce-Address-title a.button,
.haveitall-account-addresses .woocommerce-Address-title a.haveitall-auth-submit {
  text-decoration: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: max-content;
  margin: 0 auto;
}

.haveitall-account-addresses .woocommerce-Address address {
  margin: 0;
  line-height: 1.8;
  color: var(--color-text-muted);
  font-style: normal;
}

.woocommerce-account.woocommerce-edit-address .haveitall-account-content a {
  color: -webkit-link;
  text-decoration: underline;
}

.woocommerce-account.woocommerce-edit-address .haveitall-account-content a:visited {
  color: -webkit-visited-link;
}

@media (max-width: 980px) {
  .haveitall-account-shell {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .haveitall-account-sidebar {
    position: static;
    align-self: start;
    height: auto;
  }

  .haveitall-account-content {
    display: block;
  }

  .haveitall-account-content > * {
    height: auto;
  }
}

@media (max-width: 1024px) {
  .haveitall-account-shell {
    max-width: var(--haveitall-layout-tablet-inner-max);
  }
}

@media (max-width: 700px) {
  .haveitall-account-content .woocommerce-columns--addresses {
    grid-template-columns: 1fr;
  }

  .haveitall-account-content .woocommerce-table.order_details {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .haveitall-account-dashboard-header {
    flex-direction: column;
    align-items: stretch;
  }

  .haveitall-account-order-main {
    flex-direction: column;
  }

  .haveitall-account-order-meta {
    text-align: right;
  }

  .haveitall-account-promo-grid {
    grid-template-columns: 1fr;
    margin-top: 1rem;
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .haveitall-account-shell {
    max-width: 100%;
  }

  .haveitall-account-profile h2 {
    font-size: 1rem;
  }

  .haveitall-account-profile p {
    font-size: 0.72rem;
  }

  .haveitall-account-nav-link {
    font-size: 0.9rem;
    min-height: 42px;
    padding: 0.52rem 0.7rem;
  }

  .haveitall-account-edit-account .form-row-first,
  .haveitall-account-edit-account .form-row-last {
    width: 100%;
    float: none;
    clear: both;
  }

  .haveitall-account-edit-account .woocommerce-form-row,
  .haveitall-account-edit-account p.form-row {
    width: 100% !important;
    float: none !important;
    margin-inline: 0 !important;
  }

  .haveitall-account-edit-account .woocommerce-EditAccountForm .form-row input.input-text,
  .haveitall-account-edit-account .woocommerce-EditAccountForm .form-row span.woocommerce-input-wrapper {
    width: 100% !important;
    display: block;
  }
}
