/* My Account — order view + account nav */

@media (min-width: 850px) {
  .woocommerce-account .my-account .row.vertical-tabs > .large-3.col {
    flex-basis: 20%;
    max-width: 20%;
  }

  .woocommerce-account .my-account .row.vertical-tabs > .large-9.col {
    flex-basis: 80%;
    max-width: 80%;
  }
}

.woocommerce-account .account-user .user-name {
  color: #111827;
  font-weight: 600;
}

.woocommerce-account .account-user .user-id {
  display: none;
}

.woocommerce-account #my-account-nav.account-nav.nav-vertical {
  gap: 0;
}

.woocommerce-account nav.woocommerce-MyAccount-navigation .nav.nav-vertical > li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.woocommerce-account nav.woocommerce-MyAccount-navigation .nav.nav-vertical li a {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  color: #111827;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  padding: 10px 12px;
  margin: 0;
  border-radius: 0;
  line-height: 1.3;
  white-space: nowrap;
}

.woocommerce-account nav.woocommerce-MyAccount-navigation .nav.nav-vertical li a::before,
.woocommerce-account nav.woocommerce-MyAccount-navigation .nav.nav-vertical li a::after {
  content: none !important;
  display: none !important;
}

.woocommerce-account nav.woocommerce-MyAccount-navigation .ng-account-icon {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard a::before,
.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a::before,
.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a::before,
.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a::before,
.woocommerce-account .woocommerce-MyAccount-navigation-link--payment-methods a::before,
.woocommerce-account .woocommerce-MyAccount-navigation-link--quotes a::before,
.woocommerce-account .woocommerce-MyAccount-navigation-link--quote a::before,
.woocommerce-account .woocommerce-MyAccount-navigation-link--wc-quotes a::before,
.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a::before {
  content: none !important;
  display: none !important;
}

.woocommerce-account .nav.nav-vertical li.is-active > a,
.woocommerce-account .nav.nav-vertical li.active > a {
  font-weight: 700;
  background: #eaf1fc;
  color: #08499f;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
  color: #6b7280;
  font-weight: 500;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  color: #111827;
}

/* ---------- Order view ---------- */

.woocommerce-view-order .ng-order {
  --ng-blue: #0b5fd6;
  --ng-blue-dark: #08499f;
  --ng-blue-tint: #eaf1fc;
  --ng-ink: #111827;
  --ng-ink-2: #374151;
  --ng-muted: #6b7280;
  --ng-line: #e5e7eb;
  --ng-line-soft: #f0f1f3;
  --ng-green: #0f7b4f;
  --ng-green-bg: #e6f4ec;
  --ng-radius: 8px;
  color: var(--ng-ink);
  font-size: 15px;
  line-height: 1.5;
  max-width: 1200px;
  text-transform: none;
}

.woocommerce-view-order .ng-order a {
  color: var(--ng-blue);
  text-decoration: none;
}

.woocommerce-view-order .ng-order a:hover {
  text-decoration: underline;
}

.woocommerce-view-order .ng-order-crumbs {
  font-size: 13px;
  color: var(--ng-muted);
  padding: 0 0 0;
}

.woocommerce-view-order .ng-order-crumbs a {
  color: var(--ng-muted);
}

.woocommerce-view-order .ng-order-crumbs span {
  margin: 0 7px;
  opacity: .6;
}

.woocommerce-view-order .ng-order-crumbs__current {
  color: var(--ng-ink-2);
  opacity: 1;
}

.woocommerce-view-order .ng-order-back {
  display: inline-block;
  margin: 14px 0 18px;
  font-size: 14px;
  font-weight: 600;
}

.woocommerce-view-order .ng-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.woocommerce-view-order .ng-order-head h1 {
  font-family: var(--font-family-headings, "Space Grotesk", sans-serif);
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 6px;
  letter-spacing: -.02em;
  color: var(--ng-ink);
  text-transform: none;
}

.woocommerce-view-order .ng-order-sub {
  color: var(--ng-muted);
  font-size: 14px;
  margin: 0;
}

.woocommerce-view-order .ng-order-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--ng-green-bg);
  color: var(--ng-green);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.woocommerce-view-order .ng-order-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.woocommerce-view-order .ng-order-badge--info {
  background: var(--ng-blue-tint);
  color: var(--ng-blue);
}

.woocommerce-view-order .ng-order-badge--muted {
  background: #f3f4f6;
  color: var(--ng-muted);
}

.woocommerce-view-order .ng-order-badge--danger {
  background: #fde8e8;
  color: #b42318;
}

.woocommerce-view-order .ng-order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, .9fr);
  gap: 16px;
  align-items: start;
}

.woocommerce-view-order .ng-order-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.woocommerce-view-order .ng-order-card {
  background: #fff;
  border: 1px solid var(--ng-line);
  border-radius: var(--ng-radius);
}

.woocommerce-view-order .ng-order-card,
.woocommerce-view-order .ng-order-card :where(p, span, dt, dd, address, div, li, a, time) {
  text-transform: none;
  letter-spacing: normal;
}

.woocommerce-view-order .ng-order-card__head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--ng-line);
  font-family: var(--font-family-headings, "Space Grotesk", sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ng-ink);
}

.woocommerce-view-order .ng-order-card__body {
  padding: 24px;
}

.woocommerce-view-order .ng-order-card__body--tight {
  padding: 18px 24px;
}

.woocommerce-view-order .ng-order-steps {
  display: flex;
  padding: 26px 24px 22px;
}

.woocommerce-view-order .ng-order-step {
  flex: 1;
  position: relative;
  text-align: center;
  font-size: 13px;
}

.woocommerce-view-order .ng-order-step__mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ng-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.woocommerce-view-order .ng-order-step.is-todo .ng-order-step__mark {
  background: #fff;
  border: 2px solid var(--ng-line);
  color: var(--ng-muted);
}

.woocommerce-view-order .ng-order-step__name {
  font-weight: 600;
  color: var(--ng-ink);
}

.woocommerce-view-order .ng-order-step.is-todo .ng-order-step__name {
  color: var(--ng-muted);
  font-weight: 500;
}

.woocommerce-view-order .ng-order-step__when {
  color: var(--ng-muted);
  font-size: 12px;
  margin-top: 2px;
}

.woocommerce-view-order .ng-order-step::before,
.woocommerce-view-order .ng-order-step::after {
  content: "";
  position: absolute;
  top: 13px;
  height: 2px;
  background: var(--ng-blue);
}

.woocommerce-view-order .ng-order-step::before {
  left: 0;
  width: 50%;
}

.woocommerce-view-order .ng-order-step::after {
  right: 0;
  width: 50%;
}

.woocommerce-view-order .ng-order-step:first-child::before,
.woocommerce-view-order .ng-order-step:last-child::after {
  display: none;
}

.woocommerce-view-order .ng-order-step.is-todo::before,
.woocommerce-view-order .ng-order-step.is-todo::after {
  background: var(--ng-line);
}

.woocommerce-view-order .ng-order-step.is-current::after {
  background: var(--ng-line);
}

.woocommerce-view-order .ng-order-products {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.woocommerce-view-order .ng-order-products thead th {
  font-size: 12px;
  font-weight: 600;
  color: var(--ng-muted);
  text-align: left;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--ng-line);
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}

.woocommerce-view-order .ng-order-products thead th small {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .2px;
  text-transform: none;
  color: var(--ng-muted);
  line-height: 1.2;
}

.woocommerce-view-order .ng-order-products .ng-order-num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  padding-left: 20px;
  width: 1%;
}

.woocommerce-view-order .ng-order-products thead th.ng-order-num {
  white-space: nowrap;
  min-width: 0;
}

.woocommerce-view-order .ng-order-products tbody td {
  padding: 18px 0;
  border-bottom: 1px solid var(--ng-line-soft);
  vertical-align: top;
  color: var(--ng-ink);
}

.woocommerce-view-order .ng-order-products tbody tr:last-child td {
  border-bottom: 0;
  padding-bottom: 0;
}

.woocommerce-view-order .ng-order-num--total {
  font-weight: 700;
}

.woocommerce-view-order .ng-order-prod {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.woocommerce-view-order .ng-order-thumb {
  width: 80px;
  height: 80px;
  flex: none;
  border: 1px solid var(--ng-line);
  border-radius: 8px;
  background: #fafbfc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c7cbd1;
  font-size: 11px;
  overflow: hidden;
  padding: 6px;
}

.woocommerce-view-order .ng-order-thumb img,
.woocommerce-view-order .ng-order-thumb .ng-order-thumb__img {
  width: 80px;
  height: 80px;
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
  object-position: center;
}

.woocommerce-view-order .ng-order-prod__name {
  font-weight: 600;
  margin: 0 0 3px;
  display: block;
  color: var(--ng-ink);
}

.woocommerce-view-order .ng-order a.ng-order-prod__name:hover {
  color: var(--ng-blue);
}

.woocommerce-view-order .ng-order-prod__variant {
  color: var(--ng-muted);
  font-size: 13px;
  margin: 0 0 6px;
}

.woocommerce-view-order .ng-order-prod__sku {
  font-size: 12px;
  color: var(--ng-muted);
  margin: 0;
}

.woocommerce-view-order .ng-order-prod__sku b {
  color: var(--ng-ink-2);
  font-weight: 600;
}

.woocommerce-view-order .ng-order-mline {
  display: none;
}

.woocommerce-view-order .ng-order-sum {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-view-order .ng-order-sum li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  font-size: 14px;
  line-height: 18px;
  color: var(--ng-ink);
}

.woocommerce-view-order .ng-order-sum li > span:first-child {
  color: var(--ng-muted);
}

.woocommerce-view-order .ng-order-sum li span:last-child {
  font-variant-numeric: tabular-nums;
}

.woocommerce-view-order .ng-order-sum li.grand {
  border-top: 2px solid var(--ng-ink);
  margin-top: 12px;
  padding-top: 16px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.woocommerce-view-order .ng-order-sum li.grand > span:first-child {
  color: var(--ng-ink);
}

.woocommerce-view-order .ng-order-sum__note {
  font-size: 12px;
  color: var(--ng-muted);
  margin: 10px 0 0;
}

.woocommerce-view-order .ng-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none !important;
  box-shadow: none;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
}

.woocommerce-view-order .ng-order-btn--primary {
  background: var(--ng-blue);
  color: #fff !important;
}

.woocommerce-view-order .ng-order-btn--primary:hover {
  background: var(--ng-blue-dark);
  color: #fff !important;
}

.woocommerce-view-order .ng-order-btn--secondary {
  background: #fff;
  color: var(--ng-ink) !important;
  border-color: var(--ng-line);
}

.woocommerce-view-order .ng-order-btn--secondary:hover {
  border-color: #c7cbd1;
  background: #fafbfc;
}

.woocommerce-view-order .ng-order-btn--fortnox-invoice::before,
.woocommerce-view-order .ng-order-btn--track::before,
.woocommerce-view-order .ng-order-btn--order-again::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.woocommerce-view-order .ng-order-btn--fortnox-invoice::before {
  background-image: url(/wp-content/uploads/2024/12/invoice_download.svg);
  filter: invert(1);
}

.woocommerce-view-order .ng-order-btn--track::before {
  background-image: url("data:image/svg+xml,%3Csvg width='21' height='23' viewBox='0 0 21 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 21.499V11.499M9.5 21.229C9.804 21.405 10.149 21.497 10.5 21.497C10.851 21.497 11.196 21.405 11.5 21.229L18.5 17.229C18.804 17.054 19.056 16.802 19.232 16.498C19.407 16.194 19.5 15.85 19.5 15.499V7.499C19.5 7.148 19.407 6.804 19.232 6.5C19.056 6.197 18.804 5.944 18.5 5.769L11.5 1.769C11.196 1.593 10.851 1.501 10.5 1.501C10.149 1.501 9.804 1.593 9.5 1.769L2.5 5.769C2.196 5.944 1.944 6.197 1.768 6.5C1.593 6.804 1.5 7.148 1.5 7.499V15.499C1.5 15.85 1.593 16.194 1.768 16.498C1.944 16.802 2.196 17.054 2.5 17.229L9.5 21.229Z' stroke='%23161616' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M1.8 6.499L9.503 11.233C9.806 11.407 10.15 11.499 10.5 11.499C10.85 11.499 11.194 11.407 11.497 11.233L19.2 6.499M6 3.769L15 8.919' stroke='%23161616' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.woocommerce-view-order .ng-order-btn--order-again::before {
  background-image: url(/wp-content/uploads/2024/12/order_again.svg);
}

.woocommerce-view-order .ng-order-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.woocommerce-view-order .ng-order-actions__link {
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  padding-top: 4px;
}

.woocommerce-view-order .ng-order-track {
  background: var(--ng-blue-tint);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 14px;
  font-size: 13px;
}

.woocommerce-view-order .ng-order-track__lbl {
  color: var(--ng-ink-2);
  margin-bottom: 3px;
}

.woocommerce-view-order .ng-order-track__no {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--ng-ink);
  display: inline-block;
}

.woocommerce-view-order a.ng-order-track__no {
  color: var(--ng-blue);
}

.woocommerce-view-order .ng-order-dl {
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}

.woocommerce-view-order .ng-order-dl div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  font-size: 13px;
  line-height: 1.45;
  border-bottom: 1px solid var(--ng-line-soft);
}

.woocommerce-view-order .ng-order-dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.woocommerce-view-order .ng-order-dl div:first-child {
  padding-top: 0;
}

.woocommerce-view-order .ng-order-dl dt {
  color: var(--ng-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.woocommerce-view-order .ng-order-dl dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
  color: var(--ng-ink);
  text-transform: none;
  letter-spacing: 0;
  word-break: break-word;
}

.woocommerce-view-order .ng-order-dl dd.is-mark {
  background: #fff6db;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.woocommerce-view-order .ng-order-dl--invoice {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--ng-line-soft);
}

.woocommerce-view-order .ng-order address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ng-ink);
}

.woocommerce-view-order .ng-order-addr__who {
  font-weight: 600;
  color: var(--ng-ink);
}

.woocommerce-view-order .ng-order-addr__rest {
  color: var(--ng-ink-2);
}

.woocommerce-view-order .ng-order-addr__contact {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--ng-line-soft);
  font-size: 13px;
}

.woocommerce-view-order .ng-order-addr__contact div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 0;
  color: var(--ng-ink);
}

.woocommerce-view-order .ng-order-addr__contact span:first-child {
  color: var(--ng-muted);
}

.woocommerce-view-order .ng-order-help {
  font-size: 13.5px;
  color: var(--ng-ink-2);
  margin: 0;
}

.woocommerce-view-order .ng-order-help a {
  font-weight: 600;
}

.woocommerce-view-order .ng-order-notes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-view-order .ng-order-notes li + li {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ng-line-soft);
}

.woocommerce-view-order .ng-order-notes time {
  display: block;
  color: var(--ng-muted);
  font-size: 13px;
  margin-bottom: 4px;
}

.woocommerce-view-order .ng-order span.woocommerce-Price-amount.amount,
.woocommerce-view-order .ng-order .woocommerce-Price-amount,
.woocommerce-view-order .ng-order .woocommerce-Price-currencySymbol {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
}

@media (max-width: 1100px) {
  .woocommerce-view-order .ng-order-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .woocommerce-view-order .ng-order-col {
    display: contents;
  }

  .woocommerce-view-order .ng-order-card--actions { order: 1; }
  .woocommerce-view-order .ng-order-card--steps { order: 2; }
  .woocommerce-view-order .ng-order-card--products { order: 3; }
  .woocommerce-view-order .ng-order-card--summary { order: 4; }
  .woocommerce-view-order .ng-order-card--notes { order: 5; }
  .woocommerce-view-order .ng-order-card--meta { order: 6; }
  .woocommerce-view-order .ng-order-card--address-billing { order: 7; }
  .woocommerce-view-order .ng-order-card--address-shipping { order: 8; }
  .woocommerce-view-order .ng-order-card--help { order: 9; }
}

@media (max-width: 700px) {
  .woocommerce-view-order .ng-order-head h1 {
    font-size: 23px;
  }

  .woocommerce-view-order .ng-order-card__body {
    padding: 18px;
  }

  .woocommerce-view-order .ng-order-steps {
    padding: 20px 10px 16px;
  }

  .woocommerce-view-order .ng-order-step__name {
    font-size: 12px;
  }

  .woocommerce-view-order .ng-order-step__when {
    display: none;
  }

  .woocommerce-view-order .ng-order-products thead {
    display: none;
  }

  .woocommerce-view-order .ng-order-products tbody td {
    display: block;
    padding: 0;
    border: 0;
  }

  .woocommerce-view-order .ng-order-products tbody tr {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--ng-line-soft);
  }

  .woocommerce-view-order .ng-order-products tbody tr:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .woocommerce-view-order .ng-order-mhide {
    display: none !important;
  }

  .woocommerce-view-order .ng-order-mline {
    display: block;
    margin-top: 12px;
    padding-left: 96px;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    color: var(--ng-ink);
  }

  .woocommerce-view-order .ng-order-mline b {
    font-weight: 700;
  }

  .woocommerce-view-order .ng-order-sum li.grand {
    font-size: 19px;
  }
}

/* ---------- Orders list ---------- */

.woocommerce-orders .ng-orders {
  --ng-blue: #0b5fd6;
  --ng-blue-dark: #08499f;
  --ng-blue-tint: #eaf1fc;
  --ng-ink: #111827;
  --ng-ink-2: #374151;
  --ng-muted: #6b7280;
  --ng-line: #e5e7eb;
  --ng-line-soft: #f0f1f3;
  --ng-hover: #f6f8fb;
  --ng-green: #0f7b4f;
  --ng-green-bg: #e6f4ec;
  --ng-amber: #92610a;
  --ng-amber-bg: #fcf3df;
  --ng-red: #a81e1e;
  --ng-red-bg: #fbeaea;
  --ng-slate: #4b5563;
  --ng-slate-bg: #eff1f4;
  --ng-radius: 10px;
  color: var(--ng-ink);
  font-size: 15px;
  line-height: 1.5;
  max-width: 1200px;
  text-transform: none;
}

.woocommerce-orders .ng-orders a {
  color: var(--ng-blue);
  text-decoration: none;
}

.woocommerce-orders .ng-orders a:hover {
  text-decoration: underline;
}

.woocommerce-orders .ng-orders-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}

.woocommerce-orders .ng-orders-head h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 4px;
  color: var(--ng-ink);
  text-transform: none;
}

.woocommerce-orders .ng-orders-head__sub {
  margin: 0;
  color: var(--ng-muted);
  font-size: 14px;
}

.woocommerce-orders .ng-orders-notice {
  background: var(--ng-blue-tint);
  border: 1px solid #cbddf7;
  border-radius: var(--ng-radius);
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.woocommerce-orders .ng-orders-notice__ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ng-blue);
  color: #fff;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.woocommerce-orders .ng-orders-notice h2 {
  margin: 0 0 3px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 700;
  color: var(--ng-ink);
  text-transform: none;
  letter-spacing: 0;
}

.woocommerce-orders .ng-orders-notice p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ng-ink-2);
  max-width: 62ch;
}

.woocommerce-orders .ng-orders-notice__acts {
  display: flex;
  gap: 10px;
  margin-left: auto;
  flex: none;
  align-self: center;
}

.woocommerce-orders .ng-orders-card {
  background: #fff;
  border: 1px solid var(--ng-line);
  border-radius: var(--ng-radius);
}

.woocommerce-orders .ng-orders-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ng-line);
  background: #fbfcfd;
  border-radius: var(--ng-radius) var(--ng-radius) 0 0;
}

.woocommerce-orders .ng-orders-stat__k {
  font-size: 12px;
  color: var(--ng-muted);
}

.woocommerce-orders .ng-orders-stat__v {
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ng-ink);
}

.woocommerce-orders .ng-orders-stat__v .amount,
.woocommerce-orders .ng-orders-stat__v .woocommerce-Price-amount {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.woocommerce-orders .ng-orders-toolbar {
  padding: 16px 20px;
  border-bottom: 1px solid var(--ng-line);
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: center;
}

.woocommerce-orders .ng-orders-toolbar input.ng-orders-field,
.woocommerce-orders .ng-orders-toolbar select.ng-orders-field {
  width: auto;
  max-width: none;
  margin: 0;
  margin-bottom: 0;
}

.woocommerce-orders .ng-orders-field {
  border: 1px solid var(--ng-line);
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--ng-ink);
  box-shadow: none;
  margin: 0;
  height: auto;
  min-height: 0;
  line-height: 1.4;
}

.woocommerce-orders .ng-orders-field::placeholder {
  color: #9aa1ac;
}

.woocommerce-orders .ng-orders-toolbar input.ng-orders-search {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

.woocommerce-orders .ng-orders-toolbar select.ng-orders-field {
  flex: 0 0 auto;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%236B7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px 8px;
  padding-right: 32px;
  cursor: pointer;
}

.woocommerce-orders .ng-orders-toolbar .ng-orders-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.woocommerce-orders .ng-orders-custom-dates {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  flex: 0 0 auto;
}

.woocommerce-orders .ng-orders-custom-dates[hidden] {
  display: none !important;
}

.woocommerce-orders .ng-orders-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background: transparent;
}

.woocommerce-orders .ng-orders-table thead th {
  font-size: 12px;
  font-weight: 600;
  color: var(--ng-muted);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ng-line);
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
  background: transparent;
}

.woocommerce-orders .ng-orders-table thead th.ng-orders-num {
  text-align: right;
}

.woocommerce-orders .ng-orders-sortable a {
  color: var(--ng-muted);
  text-decoration: none;
}

.woocommerce-orders .ng-orders-sortable a::after {
  content: " ↕";
  opacity: .45;
}

.woocommerce-orders .ng-orders-sortable.is-sorted a {
  color: var(--ng-ink-2);
}

.woocommerce-orders .ng-orders-sortable.is-sorted a::after {
  content: " ↓";
  opacity: 1;
}

.woocommerce-orders .ng-orders-table tbody tr {
  border-bottom: 1px solid var(--ng-line-soft);
  cursor: pointer;
}

.woocommerce-orders .ng-orders-table tbody tr:last-child {
  border-bottom: 0;
}

.woocommerce-orders .ng-orders-table tbody tr:hover {
  background: var(--ng-hover);
}

.woocommerce-orders .ng-orders-table tbody td {
  padding: 10px 16px;
  vertical-align: middle;
  border: 0;
  background: transparent;
}

.woocommerce-orders .ng-orders-num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.woocommerce-orders .ng-orders-onum {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ng-ink) !important;
}

.woocommerce-orders .ng-orders-suffix {
  color: #9aa1ac;
  font-weight: 500;
}

.woocommerce-orders .ng-orders-oref {
  font-size: 12px;
  color: var(--ng-muted);
  margin-top: 1px;
}

.woocommerce-orders .ng-orders-odate {
  font-size: 14px;
  white-space: nowrap;
  color: var(--ng-ink-2);
}

.woocommerce-orders .ng-orders-amount {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ng-ink);
}

.woocommerce-orders .ng-orders-amount .amount,
.woocommerce-orders .ng-orders-amount .woocommerce-Price-amount {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.woocommerce-orders .ng-orders-amount small {
  display: block;
  font-weight: 400;
  font-size: 11.5px;
  color: var(--ng-muted);
}

.woocommerce-orders .ng-orders-amount small .amount,
.woocommerce-orders .ng-orders-amount small .woocommerce-Price-amount {
  font-weight: 400;
}

.woocommerce-orders .ng-orders-qty {
  font-size: 14px;
  white-space: nowrap;
}

.woocommerce-orders .ng-orders-qty small {
  color: var(--ng-muted);
}

.woocommerce-orders .ng-orders-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.woocommerce-orders .ng-orders-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.woocommerce-orders .ng-orders-pill--done {
  background: var(--ng-green-bg);
  color: var(--ng-green);
}

.woocommerce-orders .ng-orders-pill--ship {
  background: var(--ng-blue-tint);
  color: var(--ng-blue-dark);
}

.woocommerce-orders .ng-orders-pill--work {
  background: var(--ng-amber-bg);
  color: var(--ng-amber);
}

.woocommerce-orders .ng-orders-pill--wait,
.woocommerce-orders .ng-orders-pill--danger {
  background: var(--ng-red-bg);
  color: var(--ng-red);
}

.woocommerce-orders .ng-orders-acts {
  text-align: right;
  white-space: nowrap;
}

.woocommerce-orders .ng-orders-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  margin: 0;
  line-height: 1.2;
  background-image: none;
}

.woocommerce-orders .ng-orders-btn:hover {
  text-decoration: none !important;
}

.woocommerce-orders .ng-orders-btn--primary {
  background: var(--ng-blue);
  color: #fff !important;
}

.woocommerce-orders .ng-orders-btn--primary:hover {
  background: var(--ng-blue-dark);
  color: #fff !important;
}

.woocommerce-orders .ng-orders-btn--secondary {
  background: #fff;
  color: var(--ng-ink) !important;
  border-color: var(--ng-line);
}

.woocommerce-orders .ng-orders-btn--secondary:hover {
  border-color: #c7cbd1;
  background: #fafbfc;
}

.woocommerce-orders .ng-orders-btn--sm {
  padding: 7px 12px;
  font-size: 13px;
}

.woocommerce-orders .ng-orders-menu {
  display: inline-block;
  position: relative;
  margin-left: 6px;
}

.woocommerce-orders .ng-orders-menu > summary {
  list-style: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ng-line);
  border-radius: 7px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ng-ink-2);
  font-size: 17px;
  line-height: 1;
}

.woocommerce-orders .ng-orders-menu > summary::-webkit-details-marker {
  display: none;
}

.woocommerce-orders .ng-orders-menu > summary:hover {
  border-color: #c7cbd1;
}

.woocommerce-orders .ng-orders-menu ul {
  position: absolute;
  right: 0;
  top: 40px;
  z-index: 20;
  background: #fff;
  border: 1px solid var(--ng-line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, .12);
  list-style: none;
  margin: 0;
  padding: 6px;
  min-width: 210px;
  text-align: left;
}

.woocommerce-orders .ng-orders-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--ng-ink-2);
  font-weight: 500;
}

.woocommerce-orders .ng-orders-menu a:hover {
  background: var(--ng-hover);
  text-decoration: none;
}

.woocommerce-orders .ng-orders-menu__div {
  border-top: 1px solid var(--ng-line-soft);
  margin: 6px 0;
  height: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-orders .ng-orders-foot {
  padding: 16px 20px;
  border-top: 1px solid var(--ng-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.woocommerce-orders .ng-orders-meta {
  font-size: 13px;
  color: var(--ng-muted);
}

.woocommerce-orders .ng-orders-empty {
  padding: 36px 20px;
  text-align: center;
}

.woocommerce-orders .ng-orders-empty p {
  margin: 0 0 14px;
  color: var(--ng-muted);
}

.woocommerce-orders .ng-orders-monly {
  display: none;
}

.woocommerce-orders .ng-orders-mrow {
  display: block;
}

.woocommerce-account.woocommerce-orders .woocommerce-info {
  background: var(--ng-blue-tint, #eaf1fc);
  border: 1px solid #cbddf7;
  border-radius: 10px;
  color: #111827;
}

@media (max-width: 820px) {
  .woocommerce-orders .ng-orders-toolbar {
    flex-wrap: wrap;
  }

  .woocommerce-orders .ng-orders-toolbar input.ng-orders-search {
    flex: 1 1 100%;
    width: 100%;
  }

  .woocommerce-orders .ng-orders-notice {
    flex-wrap: wrap;
  }

  .woocommerce-orders .ng-orders-notice__acts {
    margin-left: 0;
    width: 100%;
  }

  .woocommerce-orders .ng-orders-notice__acts .ng-orders-btn {
    flex: 1;
  }

  .woocommerce-orders .ng-orders-table thead {
    display: none;
  }

  .woocommerce-orders .ng-orders-table tbody tr {
    display: block;
    padding: 16px;
    border-bottom: 1px solid var(--ng-line-soft);
  }

  .woocommerce-orders .ng-orders-table tbody td {
    display: block;
    padding: 0;
  }

  .woocommerce-orders .ng-orders-monly {
    display: block;
  }

  .woocommerce-orders .ng-orders-mrow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
  }

  .woocommerce-orders .ng-orders-mmid {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px 0 12px;
  }

  .woocommerce-orders .ng-orders-mhide {
    display: none !important;
  }

  .woocommerce-orders .ng-orders-num {
    text-align: left;
  }

  .woocommerce-orders .ng-orders-acts {
    text-align: left;
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .woocommerce-orders .ng-orders-acts .ng-orders-btn {
    flex: 1;
  }

  .woocommerce-orders .ng-orders-menu ul {
    right: auto;
    left: 0;
  }

  .woocommerce-orders .ng-orders-stats {
    gap: 22px;
  }

  .woocommerce-orders .ng-orders-stat__v {
    font-size: 17px;
  }

  .woocommerce-orders .ng-orders-head h1 {
    font-size: 23px;
  }
}

@media (max-width: 1100px) and (min-width: 821px) {
  .woocommerce-orders .ng-orders-table thead th:nth-child(5),
  .woocommerce-orders .ng-orders-table td.ng-orders-qty {
    display: none;
  }

  .woocommerce-orders .ng-orders-table tbody td {
    padding: 10px 12px;
  }
}
