:root {
  --maaab-customer-ink: #12213a;
  --maaab-customer-muted: #66758c;
  --maaab-customer-line: #dfe6ef;
  --maaab-customer-soft: #f4f7fb;
  --maaab-customer-blue: #075fce;
  --maaab-customer-blue-dark: #064ea8;
  --maaab-customer-orange: #ff6700;
  --maaab-customer-green: #16834f;
  --maaab-customer-red: #c53b32;
}

.maaab-customer-page,
.maaab-customer-page * {
  box-sizing: border-box;
}

.maaab-customer-page {
  min-height: 610px;
  padding: 26px 0 60px;
  background: var(--maaab-customer-soft);
  color: var(--maaab-customer-ink);
}

.maaab-customer-heading {
  margin: 0 0 24px;
}

.maaab-customer-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #52719c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.maaab-customer-heading h1 {
  margin: 0;
  color: var(--maaab-customer-ink);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.maaab-customer-heading p {
  max-width: 680px;
  margin: 9px 0 0;
  color: var(--maaab-customer-muted);
  font-size: 15px;
  line-height: 1.6;
}

.maaab-customer-card {
  border: 1px solid var(--maaab-customer-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 13px 34px rgba(27, 51, 84, .08);
}

/* Login and registration */
.maaab-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
  align-items: start;
  gap: 24px;
}

.maaab-auth-card {
  overflow: hidden;
}

.maaab-auth-tabs.nav-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 8px 8px 0;
  border: 0;
  background: #f8faff;
}

.maaab-auth-tabs::before,
.maaab-auth-tabs::after,
.maaab-checkout-tabs::before,
.maaab-checkout-tabs::after {
  display: none;
  content: none;
}

.maaab-auth-tabs.nav-tabs > li {
  float: none;
  margin: 0;
}

.maaab-auth-tabs.nav-tabs > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  margin: 0;
  border: 0;
  border-radius: 10px 10px 0 0;
  color: #49617f;
  font-size: 14px;
  font-weight: 800;
}

.maaab-auth-tabs.nav-tabs > li.active > a,
.maaab-auth-tabs.nav-tabs > li.active > a:hover,
.maaab-auth-tabs.nav-tabs > li.active > a:focus {
  border: 0;
  background: #fff;
  color: var(--maaab-customer-blue);
}

.maaab-auth-content {
  padding: 30px;
}

.maaab-auth-panel-heading {
  margin-bottom: 22px;
}

.maaab-auth-panel-heading h2,
.maaab-auth-aside h2,
.maaab-account-card-heading h2,
.maaab-account-empty h2 {
  margin: 0;
  color: var(--maaab-customer-ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
}

.maaab-auth-panel-heading p,
.maaab-account-card-heading p,
.maaab-account-empty p {
  margin: 7px 0 0;
  color: var(--maaab-customer-muted);
  font-size: 14px;
  line-height: 1.55;
}

.maaab-auth-page .form-group,
.maaab-checkout-page .form-group {
  margin-bottom: 18px;
}

.maaab-auth-page .form-group > label,
.maaab-checkout-page .form-group > label,
.maaab-checkout-page .form-group > .control-label {
  margin-bottom: 7px;
  color: #263a56;
  font-size: 12px;
  font-weight: 800;
}

.maaab-auth-page .form-control,
.maaab-checkout-page .form-control {
  min-height: 46px;
  border: 1px solid #cfd9e8;
  border-radius: 9px;
  background: #fff;
  color: var(--maaab-customer-ink);
  box-shadow: none;
}

.maaab-auth-page .form-control:focus,
.maaab-checkout-page .form-control:focus {
  border-color: var(--maaab-customer-blue);
  box-shadow: 0 0 0 3px rgba(7, 95, 206, .12);
}

.maaab-auth-page .forgot-password,
.maaab-auth-page .form-group > a {
  font-size: 12px;
  font-weight: 700;
}

.maaab-auth-page .checkbox label {
  color: #52647c;
  font-size: 13px;
}

.maaab-auth-submit,
.maaab-auth-page .btn-success.maaab-auth-submit,
.maaab-auth-page .btn-primary.maaab-auth-submit {
  min-height: 47px;
  padding: 12px 20px;
  border: 1px solid var(--maaab-customer-blue);
  border-radius: 9px;
  background: var(--maaab-customer-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.maaab-auth-submit:hover,
.maaab-auth-submit:focus {
  border-color: var(--maaab-customer-blue-dark) !important;
  background: var(--maaab-customer-blue-dark) !important;
  color: #fff;
}

.maaab-login-form + div .btn-default {
  min-height: 43px;
  border-color: #d4deec;
  border-radius: 9px;
  color: #345275;
  font-weight: 800;
}

.maaab-register-form .help-block {
  margin: 6px 0 0;
  color: #718096;
  font-size: 11px;
  line-height: 1.4;
}

.maaab-field-optional {
  float: right;
  color: #8492a6;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.maaab-auth-aside {
  display: grid;
  gap: 14px;
}

.maaab-auth-benefits {
  padding: 28px;
  border-radius: 16px;
  background: linear-gradient(145deg, #053f8f, #075fce);
  box-shadow: 0 16px 38px rgba(0, 60, 143, .2);
}

.maaab-auth-benefits .maaab-customer-eyebrow {
  color: #bcd8ff;
}

.maaab-auth-benefits h2 {
  color: #fff;
}

.maaab-auth-benefits ul {
  display: grid;
  gap: 15px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.maaab-auth-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #eef6ff;
  font-size: 13px;
  line-height: 1.45;
}

.maaab-auth-benefits li i {
  display: inline-flex;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 10px;
}

.maaab-auth-help {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 19px;
  border: 1px solid var(--maaab-customer-line);
  border-radius: 13px;
  background: #fff;
}

.maaab-auth-help > i {
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff2e8;
  color: var(--maaab-customer-orange);
}

.maaab-auth-help strong {
  color: var(--maaab-customer-ink);
  font-size: 13px;
}

.maaab-auth-help p {
  margin: 3px 0 0;
  color: var(--maaab-customer-muted);
  font-size: 12px;
  line-height: 1.55;
}

.maaab-auth-help a {
  color: var(--maaab-customer-blue);
  font-weight: 700;
}

/* Account navigation and list pages */
.maaab-account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 20px;
  padding: 7px;
  border: 1px solid var(--maaab-customer-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(27, 51, 84, .05);
}

.maaab-account-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 8px;
  color: #526681;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.maaab-account-nav a:hover,
.maaab-account-nav a:focus {
  background: #f0f5fc;
  color: var(--maaab-customer-blue);
}

.maaab-account-nav a.is-active {
  background: var(--maaab-customer-blue);
  color: #fff;
}

.maaab-account-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.maaab-account-heading-action,
.maaab-account-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--maaab-customer-blue);
  border-radius: 9px;
  background: #fff;
  color: var(--maaab-customer-blue) !important;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none !important;
}

.maaab-account-primary-action,
.btn.maaab-account-primary-action {
  background: var(--maaab-customer-blue);
  color: #fff !important;
}

.maaab-account-heading-action:hover,
.maaab-account-primary-action:hover {
  border-color: var(--maaab-customer-blue-dark);
  background: var(--maaab-customer-blue-dark);
  color: #fff !important;
}

.maaab-account-content-card {
  overflow: hidden;
}

.maaab-account-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--maaab-customer-line);
  background: #fff;
}

.maaab-address-grid,
.maaab-record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
}

.maaab-address-card,
.maaab-record-card {
  position: relative;
  display: flex;
  min-width: 0;
  border: 1px solid #dbe4ef;
  border-radius: 13px;
  background: #fff;
  color: var(--maaab-customer-ink);
  text-decoration: none !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.maaab-address-card:hover,
.maaab-address-card:focus,
.maaab-record-card:hover,
.maaab-record-card:focus {
  border-color: #9db9dc;
  color: var(--maaab-customer-ink);
  box-shadow: 0 12px 25px rgba(27, 51, 84, .1);
  transform: translateY(-2px);
}

.maaab-address-card {
  align-items: flex-start;
  gap: 13px;
  min-height: 178px;
  padding: 20px 82px 20px 20px;
}

.maaab-address-icon {
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #edf5ff;
  color: var(--maaab-customer-blue);
}

.maaab-address-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
  color: #5f7086;
  font-size: 13px;
  line-height: 1.45;
}

.maaab-address-copy strong {
  margin-bottom: 5px;
  color: var(--maaab-customer-ink);
  font-size: 14px;
}

.maaab-address-edit {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--maaab-customer-blue);
  font-size: 11px;
  font-weight: 800;
}

.maaab-record-card {
  flex-direction: column;
  padding: 19px;
}

.maaab-record-card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf1f6;
}

.maaab-record-card-topline > span:first-child,
.maaab-record-card-details > span {
  display: grid;
  gap: 3px;
}

.maaab-record-card small {
  color: #78869a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.maaab-record-card strong {
  overflow-wrap: anywhere;
  color: var(--maaab-customer-ink);
  font-size: 13px;
}

.maaab-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 145px;
  min-height: 27px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf4fc;
  color: #3f5e84;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: capitalize;
}

.maaab-status-pill.status-completed,
.maaab-status-pill.status-paid,
.maaab-status-pill.status-approved,
.status-text-paid {
  background: #e6f8ee;
  color: var(--maaab-customer-green) !important;
}

.maaab-status-pill.status-pending,
.maaab-status-pill.status-due,
.maaab-status-pill.status-sent,
.status-text-pending,
.status-text-due {
  background: #fff3e7;
  color: #b75a18 !important;
}

.maaab-status-pill.status-cancelled,
.maaab-status-pill.status-rejected,
.status-text-overdue {
  background: #fdeceb;
  color: var(--maaab-customer-red) !important;
}

.maaab-record-card-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  padding: 16px 0;
}

.maaab-quote-card-details {
  padding-bottom: 10px;
}

.maaab-record-note {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 15px;
  color: #64748a;
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.maaab-record-card-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin-top: auto;
  color: var(--maaab-customer-blue);
  font-size: 12px;
  font-weight: 900;
}

.maaab-account-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 22px;
  border-top: 1px solid var(--maaab-customer-line);
  color: var(--maaab-customer-muted);
  font-size: 12px;
}

.maaab-account-pagination .pagination {
  margin: 0;
}

.maaab-account-empty {
  padding: 52px 24px;
  text-align: center;
}

.maaab-account-empty > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: #edf5ff;
  color: var(--maaab-customer-blue);
  font-size: 23px;
}

.maaab-account-empty .maaab-account-primary-action {
  margin-top: 18px;
}

/* Profile */
.maaab-profile-card {
  overflow: hidden;
}

.maaab-profile-tabs.nav-tabs {
  grid-template-columns: repeat(2, minmax(0, 230px));
  justify-content: start;
  border-bottom: 1px solid var(--maaab-customer-line);
}

.maaab-profile-content {
  padding: 28px;
}

.maaab-profile-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.maaab-profile-panel-heading h2 {
  margin: 0;
  color: var(--maaab-customer-ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.maaab-profile-panel-heading p {
  margin: 7px 0 0;
  color: var(--maaab-customer-muted);
  font-size: 13px;
  line-height: 1.55;
}

.maaab-profile-form {
  max-width: 980px;
}

.maaab-profile-fieldset {
  min-width: 0;
  margin: 0 0 26px;
  padding: 21px 21px 4px;
  border: 1px solid #dfe6ef;
  border-radius: 13px;
  background: #fbfcfe;
}

.maaab-profile-fieldset legend {
  width: auto;
  margin: 0;
  padding: 0 7px;
  border: 0;
  color: #243a58;
  font-size: 14px;
  font-weight: 900;
}

.maaab-profile-fieldset-help {
  margin: -4px 0 16px;
  color: #75849a;
  font-size: 11px;
}

.maaab-profile-page .form-group {
  margin-bottom: 18px;
}

.maaab-profile-page .form-group > label,
.maaab-profile-page .form-group > .control-label,
.maaab-profile-fieldset .form-group {
  color: #263a56;
  font-size: 12px;
  font-weight: 800;
}

.maaab-profile-page .form-control {
  min-height: 46px;
  border: 1px solid #cfd9e8;
  border-radius: 9px;
  background: #fff;
  color: var(--maaab-customer-ink);
  font-size: 14px;
  font-weight: 400;
  box-shadow: none;
}

.maaab-profile-page .form-control:focus {
  border-color: var(--maaab-customer-blue);
  box-shadow: 0 0 0 3px rgba(7, 95, 206, .12);
}

.maaab-profile-page .bootstrap-select.form-control {
  padding: 0;
}

.maaab-profile-page .bootstrap-select > .btn {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #fff;
}

.maaab-profile-form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.maaab-profile-form-actions .maaab-account-primary-action {
  min-width: 145px;
  margin: 0;
}

.maaab-profile-form-actions > span {
  color: #78869a;
  font-size: 11px;
  line-height: 1.45;
}

.maaab-password-form {
  max-width: 820px;
}

.maaab-password-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr);
  align-items: start;
  gap: 28px;
}

.maaab-password-form .help-block {
  margin: 6px 0 0;
  color: #75849a;
  font-size: 11px;
  line-height: 1.45;
}

.maaab-password-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px;
  border: 1px solid #cfe0f3;
  border-radius: 12px;
  background: #f2f7fd;
}

.maaab-password-note > i {
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  color: var(--maaab-customer-blue);
  font-size: 16px;
}

.maaab-password-note strong {
  color: #243a58;
  font-size: 12px;
}

.maaab-password-note p {
  margin: 4px 0 0;
  color: #64758c;
  font-size: 12px;
  line-height: 1.5;
}

/* Checkout */
.maaab-checkout-page .margin-top-lg {
  margin-top: 0 !important;
}

.maaab-checkout-card {
  overflow: hidden;
  border: 1px solid var(--maaab-customer-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 13px 34px rgba(27, 51, 84, .08);
}

.maaab-checkout-card > .panel-heading,
.maaab-checkout-card-heading {
  min-height: 62px;
  padding: 19px 21px;
  border: 0;
  border-bottom: 1px solid var(--maaab-customer-line);
  background: #fff;
  color: var(--maaab-customer-ink);
  font-size: 15px;
  font-weight: 900;
}

.maaab-checkout-card-heading > i {
  color: var(--maaab-customer-blue);
}

.maaab-checkout-card-heading > a {
  color: var(--maaab-customer-blue);
  font-size: 12px;
  font-weight: 800;
}

.maaab-checkout-card-body {
  padding: 0;
}

.maaab-checkout-tabs.nav-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 8px 8px 0;
  border: 0;
  background: #f7f9fc;
}

.maaab-checkout-tabs.nav-tabs > li {
  float: none;
  margin: 0;
}

.maaab-checkout-tabs.nav-tabs > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  margin: 0;
  border: 0;
  border-radius: 9px 9px 0 0;
  color: #58708f;
  font-size: 12px;
  font-weight: 900;
}

.maaab-checkout-tabs.nav-tabs > li.active > a,
.maaab-checkout-tabs.nav-tabs > li.active > a:hover,
.maaab-checkout-tabs.nav-tabs > li.active > a:focus {
  border: 0;
  background: #fff;
  color: var(--maaab-customer-blue);
}

.maaab-checkout-page .tab-content.padding-lg {
  padding: 23px;
}

.maaab-checkout-page .well {
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid #dfe6ef;
  border-radius: 12px;
  background: #f8fafd;
  box-shadow: none;
}

.maaab-checkout-page h4.title,
.maaab-checkout-page h5 {
  margin: 5px 0 13px;
  color: var(--maaab-customer-ink);
  font-size: 16px;
  font-weight: 900;
}

.maaab-checkout-page h4.title::after,
.maaab-checkout-page h4.title span::after {
  display: none;
}

.maaab-checkout-page hr {
  margin: 20px 0;
  border-color: #e6ebf2;
}

.maaab-checkout-page .checkbox.bg {
  margin: 10px 0;
  padding: 0;
  background: transparent;
}

.maaab-checkout-page .checkbox.bg > label {
  position: relative;
  display: block !important;
  width: 100% !important;
  min-height: 48px;
  margin: 0 0 8px;
  padding: 13px 14px;
  border: 1px solid #d9e2ee;
  border-radius: 10px;
  background: #fff;
  color: #344a67;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
}

.maaab-checkout-page .checkbox.bg > label:hover {
  border-color: #9eb8d8;
  background: #f9fbff;
}

.maaab-checkout-page .checkbox.bg > label:has(input:checked) {
  border-color: var(--maaab-customer-blue);
  background: #f1f7ff;
  box-shadow: 0 0 0 2px rgba(7, 95, 206, .08);
}

.maaab-checkout-page .checkbox.bg > label:has(input:checked)::after {
  position: absolute;
  top: 50%;
  right: 14px;
  display: flex;
  width: 21px;
  height: 21px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--maaab-customer-blue);
  color: #fff;
  content: "\f00c";
  font-family: FontAwesome;
  font-size: 10px;
  transform: translateY(-50%);
}

.maaab-checkout-page .checkbox.bg > label > input {
  margin: 2px 9px 0 0;
}

.maaab-checkout-page .checkbox.bg > label > span {
  display: inline;
  padding: 0;
}

.maaab-checkout-page .checkbox.bg > label > input:checked + span {
  background: transparent !important;
  color: inherit !important;
}

.maaab-checkout-page .maaab-checkout-section-label {
  margin-bottom: 4px;
  color: var(--maaab-customer-ink);
  font-size: 13px;
  font-weight: 900;
}

.maaab-checkout-page .maaab-address-choice > label {
  min-height: 112px;
  padding: 16px 46px 16px 16px;
}

.maaab-checkout-page .maaab-address-choice > label > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.maaab-checkout-page .maaab-checkout-address-copy {
  display: block !important;
  color: #354b68;
  font-weight: 700;
  line-height: 1.55;
}

.maaab-checkout-page .maaab-checkout-add-address-row {
  margin-top: 2px;
}

.maaab-checkout-page .maaab-pallet-choice > label {
  min-height: 46px;
  padding: 12px 46px 12px 14px;
}

.maaab-checkout-page .maaab-payment-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.maaab-checkout-page .maaab-payment-choices > label {
  min-height: 52px;
  margin: 0;
  padding-right: 46px;
}

.maaab-checkout-page textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.maaab-checkout-page input[type="submit"],
.maaab-checkout-page .btn-theme,
.maaab-checkout-page .btn-primary {
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--maaab-customer-blue);
  border-radius: 9px;
  background: var(--maaab-customer-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.maaab-checkout-page .btn-default {
  min-height: 43px;
  padding: 10px 15px;
  border-color: #ccd8e7;
  border-radius: 9px;
  color: #3d5878;
  font-size: 12px;
  font-weight: 800;
}

.maaab-checkout-summary-card {
  position: sticky;
  top: 18px;
}

.maaab-checkout-summary-heading {
  min-height: 78px;
  padding: 18px 20px;
}

.maaab-checkout-summary-heading > div > span {
  display: block;
  margin-bottom: 6px;
  color: #557097;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.maaab-checkout-summary-heading h2 {
  margin: 0;
  color: var(--maaab-customer-ink);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.2;
}

.maaab-checkout-summary-card .maaab-checkout-summary-body {
  padding: 13px 20px 0;
}

.maaab-checkout-totals {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
}

.maaab-checkout-summary-card .maaab-checkout-totals > tbody > tr > th,
.maaab-checkout-summary-card .maaab-checkout-totals > tbody > tr > td {
  padding: 9px 0;
  border: 0;
  background: transparent;
  color: #506079;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}

.maaab-checkout-summary-card .maaab-checkout-totals > tbody > tr > td {
  color: #263854;
  font-weight: 800;
  text-align: right;
}

.maaab-checkout-summary-card .maaab-checkout-totals > tbody > .maaab-checkout-shipping-row > th,
.maaab-checkout-summary-card .maaab-checkout-totals > tbody > .maaab-checkout-shipping-row > td {
  padding-top: 12px;
  border-top: 1px solid #e7edf4;
}

.maaab-checkout-summary-card #checkout-shipping-detail-row td {
  padding: 0 0 10px;
  text-align: right;
}

.maaab-checkout-summary-card #checkout-shipping-detail {
  display: block;
  color: #6e7d93;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.maaab-checkout-summary-card .maaab-checkout-totals > tbody > .maaab-checkout-grand-total > th,
.maaab-checkout-summary-card .maaab-checkout-totals > tbody > .maaab-checkout-grand-total > td {
  padding: 15px 0 10px;
  border-top: 1px solid #d9e2ed;
  color: var(--maaab-customer-ink);
  font-size: 16px;
  font-weight: 900;
}

.maaab-checkout-summary-card .maaab-checkout-totals > tbody > .maaab-checkout-grand-total > td {
  font-size: 19px;
}

.maaab-checkout-tax-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0 -20px;
  padding: 9px 20px 18px;
  color: #758299;
  font-size: 10px;
  line-height: 1.4;
}

.maaab-checkout-tax-note i {
  margin-top: 2px;
  color: #52719c;
}

.maaab-checkout-shipping-note {
  margin: 14px 0 0;
  padding: 0 5px;
  color: #77869a;
  font-size: 11px;
  line-height: 1.5;
}

/* Order and quote detail documents */
.maaab-record-detail .maaab-account-nav {
  margin-top: 0;
}

.maaab-document-card {
  overflow: hidden;
  border: 1px solid var(--maaab-customer-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 13px 34px rgba(27, 51, 84, .08);
}

.maaab-document-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 64px;
  padding: 18px 22px;
  border: 0;
  border-bottom: 1px solid var(--maaab-customer-line);
  background: #fff;
  color: var(--maaab-customer-ink);
  font-size: 15px;
  font-weight: 900;
}

.maaab-document-title {
  margin: 0 auto 0 0;
  color: var(--maaab-customer-ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.maaab-document-title > i {
  color: var(--maaab-customer-blue);
}

.maaab-document-heading a {
  margin-left: 10px;
  color: var(--maaab-customer-blue);
  font-size: 12px;
  font-weight: 800;
}

.maaab-document-body {
  padding: 24px;
}

.maaab-document-body > .well,
.maaab-document-body .row > [class*="col-"] > .well {
  padding: 17px;
  border: 1px solid #dfe6ef;
  border-radius: 11px;
  background: #f7f9fc;
  box-shadow: none;
}

.maaab-document-body h2 {
  color: var(--maaab-customer-ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.maaab-document-body .table-responsive {
  margin: 22px 0;
  border: 1px solid #dfe6ef;
  border-radius: 11px;
}

.maaab-document-body .order-table {
  min-width: 760px;
  margin: 0;
}

.maaab-document-body .order-table > thead > tr > th {
  padding: 12px 10px;
  border-color: #dfe6ef;
  background: #edf3fb;
  color: #344c6b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.maaab-document-body .order-table > tbody > tr > td,
.maaab-document-body .order-table > tfoot > tr > td {
  padding: 11px 10px;
  border-color: #e4e9f0;
  color: #455a75;
  font-size: 12px;
}

.maaab-document-body .payment_buttons .btn,
.maaab-document-body #submit-container .btn,
.maaab-document-body .no-print .btn {
  min-height: 41px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.maaab-document-body .alert {
  border-radius: 10px;
}

@media (max-width: 991px) {
  .maaab-auth-layout {
    grid-template-columns: 1fr;
  }

  .maaab-auth-aside {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  }

  .maaab-checkout-summary-card {
    position: static;
    margin-top: 18px;
  }
}

@media (max-width: 767px) {
  .maaab-customer-page {
    padding: 18px 0 40px;
  }

  .maaab-checkout-page .maaab-payment-choices {
    grid-template-columns: 1fr;
  }

  .maaab-checkout-page .maaab-address-choice > label {
    min-height: 0;
  }

  .maaab-customer-heading {
    margin-bottom: 18px;
  }

  .maaab-customer-heading h1 {
    font-size: 30px;
  }

  .maaab-customer-heading p {
    font-size: 13px;
  }

  .maaab-auth-layout,
  .maaab-auth-aside {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .maaab-auth-content {
    padding: 22px 17px;
  }

  .maaab-auth-panel-heading h2,
  .maaab-auth-aside h2,
  .maaab-account-card-heading h2,
  .maaab-account-empty h2 {
    font-size: 19px;
  }

  .maaab-auth-benefits {
    padding: 23px 20px;
  }

  .maaab-account-heading-row,
  .maaab-account-card-heading,
  .maaab-account-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .maaab-account-heading-action {
    width: 100%;
  }

  .maaab-account-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-bottom: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .maaab-account-nav a {
    flex: 0 0 auto;
  }

  .maaab-account-card-heading {
    padding: 18px;
  }

  .maaab-address-grid,
  .maaab-record-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px;
  }

  .maaab-address-card {
    min-height: 0;
    padding: 17px 70px 17px 16px;
  }

  .maaab-record-card-details {
    gap: 12px;
  }

  .maaab-account-pagination .page-info {
    text-align: center;
  }

  .maaab-account-pagination #pagination {
    align-self: center;
  }

  .maaab-profile-tabs.nav-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .maaab-profile-content {
    padding: 21px 16px;
  }

  .maaab-profile-panel-heading h2 {
    font-size: 21px;
  }

  .maaab-profile-fieldset {
    margin-bottom: 20px;
    padding: 18px 14px 2px;
  }

  .maaab-profile-form-actions,
  .maaab-password-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .maaab-profile-form-actions .maaab-account-primary-action,
  .maaab-password-form .maaab-account-primary-action {
    width: 100%;
  }

  .maaab-profile-form-actions > span {
    text-align: center;
  }

  .maaab-checkout-page .tab-content.padding-lg {
    padding: 17px;
  }

  .maaab-checkout-page > .container > .row {
    margin-right: 0;
    margin-left: 0;
  }

  .maaab-checkout-page > .container > .row > .col-md-12 {
    padding-right: 0;
    padding-left: 0;
  }

  .maaab-checkout-page > .container > .row > .col-md-12 > .row {
    margin-right: 0;
    margin-left: 0;
  }

  .maaab-checkout-card > .panel-heading,
  .maaab-checkout-card-heading {
    min-height: 58px;
    padding: 17px;
  }

  .maaab-checkout-card-heading > a {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
  }

  .maaab-checkout-page .checkbox.bg > label {
    padding: 12px;
  }

  .maaab-checkout-page input[type="submit"],
  .maaab-checkout-page .btn-theme,
  .maaab-checkout-page .btn-primary {
    width: 100%;
  }

  .maaab-document-heading {
    align-items: flex-start;
    padding: 16px;
  }

  .maaab-document-heading a {
    margin-top: 8px;
  }

  .maaab-document-body {
    padding: 15px;
  }

  .maaab-document-body > .row > .col-xs-6 {
    width: 100%;
    margin-bottom: 15px;
  }

  .maaab-document-body .order_barcodes {
    display: none;
  }

  .maaab-document-body > .well .col-xs-5 {
    width: 100%;
  }
}

@media print {
  .maaab-customer-page {
    padding: 0;
    background: #fff;
  }

  .maaab-account-nav,
  .maaab-customer-heading,
  .maaab-document-heading,
  .maaab-shop-support,
  footer {
    display: none !important;
  }

  .maaab-document-card {
    border: 0;
    box-shadow: none;
  }
}
