/* Guest shop journey — tokens + plans + cart. Scoped; brand = Netsa green only. */
:root {
  --ng-brand: #0F4D3C;
  --ng-brand-mid: #167a5c;
  --ng-brand-soft: #e7f3ee;
  --ng-bg: #f6f8fa;
  --ng-surface: #ffffff;
  --ng-text: #172b26;
  --ng-muted: #5b6b66;
  --ng-line: #e5e7eb;
  --ng-danger: #b42318;
  --ng-radius: 10px;
  --ng-shadow: 0 8px 24px rgba(15, 77, 60, 0.08);
  --ng-container: 1200px;
  --ng-space: 16px;
}

body {
  background: var(--ng-bg);
  color: var(--ng-text);
}

#content.container,
.ng-container {
  max-width: var(--ng-container);
}

/* ---- Header cart (replace floating red #cartfix) ---- */
#cartfix {
  display: none !important;
}

.ng-nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px 8px 10px 0;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  text-decoration: none !important;
  font-weight: 600;
  line-height: 1.2;
}
.ng-nav-cart:hover,
.ng-nav-cart:focus {
  background: var(--ng-brand-mid) !important;
  color: #fff !important;
}
.ng-nav-cart__badge {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: var(--ng-brand);
  font-size: 12px;
  font-weight: 700;
}

/* ---- Page shell (sticky footer without fixed) ---- */
html {
  height: 100%;
}
body {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
}
.ng-shell {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  min-height: 0;
  width: 100%;
}
.ng-main {
  flex: 1 0 auto;
  padding: 20px 0 40px;
}
#content.container {
  max-width: var(--ng-container);
}

/* Soften heavy nav vertical dividers */
.navbar-default .navbar-nav > li > a {
  border-left-color: rgba(255, 255, 255, 0.12) !important;
  border-right: 0 !important;
}
.navbar-default .navbar-nav > li:first-child > a {
  border-left: 0 !important;
}

/* ---- Simple breadcrumb ---- */
.ng-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  font-size: 14px;
  color: var(--ng-muted);
}
.ng-breadcrumb a {
  color: var(--ng-brand-mid);
  text-decoration: none;
}
.ng-breadcrumb a:hover {
  color: var(--ng-brand);
  text-decoration: underline;
}
.ng-breadcrumb__sep {
  color: #9ca3af;
  user-select: none;
}
.ng-breadcrumb__current {
  color: var(--ng-text);
  font-weight: 600;
}

#breadcrumb {
  background: var(--ng-surface);
  border-bottom: 1px solid var(--ng-line);
  margin-bottom: 0;
  padding: 0;
}
#breadcrumb .btn-breadcrumb {
  display: none; /* hide legacy arrow crumbs when .ng-breadcrumb present */
}
#breadcrumb .container {
  max-width: var(--ng-container);
}

/* ---- Page intro ---- */
.ng-page-head {
  margin: 4px 0 20px;
}
.ng-page-head--compact {
  margin-bottom: 16px;
}
.ng-page-head h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  color: var(--ng-brand);
  line-height: 1.25;
  text-transform: none;
  border: 0;
}
.ng-page-head h1::after {
  display: none !important;
}
.ng-page-head p {
  margin: 0;
  max-width: 42rem;
  font-size: 16px;
  color: var(--ng-muted);
  line-height: 1.5;
}

/* ---- Plan grid ---- */
.ng-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
/* 4 cột chỉ khi mỗi thẻ ~≥250px (4×250 + 3×20 ≈ 1060px content) */
@media (max-width: 1099px) {
  .ng-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ng-plans { grid-template-columns: 1fr; }
}

.ng-plans-shared {
  margin: 0 0 20px;
  padding: 14px 18px;
  background: var(--ng-surface);
  border: 1px solid var(--ng-line);
  border-radius: var(--ng-radius);
}
.ng-plans-shared__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ng-brand);
}
.ng-plans-shared__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.ng-plans-shared__list li {
  display: inline-flex;
  gap: 6px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ng-text);
}
.ng-plans-shared__list .k {
  color: var(--ng-muted);
  font-weight: 500;
}
.ng-plans-shared__list .v {
  font-weight: 600;
}

.ng-plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--ng-surface);
  border: 1px solid var(--ng-line);
  border-radius: var(--ng-radius);
  box-shadow: var(--ng-shadow);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
@media (prefers-reduced-motion: reduce) {
  .ng-plan { transition: none; }
}
.ng-plan:hover {
  border-color: #b7d4c8;
  box-shadow: 0 12px 28px rgba(15, 77, 60, 0.12);
}
.ng-plan__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 16px;
  min-width: 0;
}
.ng-plan__name {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ng-brand);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.ng-plan__price {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 800;
  color: var(--ng-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ng-plan__price small {
  display: inline;
  margin-left: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ng-muted);
}
.ng-plan__specs {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  flex: 1;
}
.ng-plan__specs li {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--ng-line);
  font-size: 14px;
  color: var(--ng-text);
  line-height: 1.4;
}
.ng-plan__specs li:first-child { border-top: 0; }
.ng-plan__specs .k {
  flex: 0 0 7.5rem;
  max-width: 42%;
  color: var(--ng-muted);
  font-weight: 500;
  white-space: nowrap;
}
.ng-plan__specs .v {
  flex: 1;
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ng-plan__cta {
  width: 100%;
  margin-top: auto;
}

.ng-help {
  margin: 8px 0 40px;
  padding: 20px 22px;
  background: var(--ng-brand-soft);
  border: 1px solid #c5e6da;
  border-radius: var(--ng-radius);
}
.ng-help h2 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--ng-brand);
  font-weight: 700;
}
.ng-help p {
  margin: 0;
  font-size: 15px;
  color: var(--ng-muted);
}
.ng-help a { color: var(--ng-brand-mid); font-weight: 600; }

/* ---- Cart layout ---- */
.ng-cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .ng-cart { grid-template-columns: 1fr; }
}

.ng-cart__list-title {
  margin: 0;
  padding: 16px 20px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ng-brand);
  line-height: 1.3;
}
.ng-cart__list-title span {
  font-weight: 500;
  color: var(--ng-muted);
}

.ng-cart__panel {
  background: var(--ng-surface);
  border: 1px solid var(--ng-line);
  border-radius: var(--ng-radius);
  box-shadow: var(--ng-shadow);
  overflow: hidden;
}

/* Shared column track: service | term | subtotal | action */
.ng-cart__cols,
.ng-cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7.25rem 9.25rem 2.5rem;
  gap: 12px 16px;
  align-items: center;
  padding: 0 20px;
}

.ng-cart__cols {
  padding-top: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ng-line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ng-muted);
}
.ng-cart__cols-end {
  text-align: right;
}
.ng-cart__cols-act {
  width: 100%;
}

.ng-cart__items {
  margin: 0;
  padding: 0;
}

.ng-cart-item {
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ng-line);
  align-items: start;
}
.ng-cart-item:last-child {
  border-bottom: 0;
}

.ng-cart-item__svc {
  min-width: 0;
}
.ng-cart-item__name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ng-brand);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.ng-cart-item__meta {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ng-muted);
  font-variant-numeric: tabular-nums;
}

.ng-cart-item__term {
  min-width: 0;
}
.ng-cart-item__label {
  display: block;
  font-size: 12px;
  color: var(--ng-muted);
  margin: 0 0 4px;
  font-weight: 500;
}
/* Desktop: label is for a11y; column header already names the field */
.ng-cart-item__label-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ng-cart-item__label--mobile {
  display: none;
}

.ng-cart-item__qty-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}
.ng-cart-item__qty.form-control,
.ng-cart-item__qty {
  width: 3.5rem;
  max-width: 3.5rem;
  flex: 0 0 3.5rem;
  min-width: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
  padding-left: 6px;
  padding-right: 6px;
  box-sizing: border-box;
}
.ng-cart-item__unit {
  font-size: 13px;
  color: var(--ng-muted);
  white-space: nowrap;
}

.ng-cart-item__sub {
  min-width: 0;
  text-align: right;
  align-self: center;
}
.ng-cart-item__line {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ng-text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-decoration: none;
}

.ng-cart-item__act {
  display: flex;
  justify-content: flex-end;
  align-self: center;
}
.ng-cart-item__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: var(--ng-muted);
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}
.ng-cart-item__remove-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ng-cart-item__remove:hover,
.ng-cart-item__remove:focus {
  color: var(--ng-danger);
  background: #fef2f2;
  outline: none;
}
.ng-cart-item__remove:focus-visible {
  outline: 2px solid var(--ng-brand-mid);
  outline-offset: 2px;
}

.ng-cart__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: 14px;
}
.ng-cart__foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
}
.ng-cart__foot-links a {
  color: var(--ng-brand-mid);
  font-weight: 600;
  text-decoration: none;
}
.ng-cart__foot-links a:hover {
  color: var(--ng-brand);
  text-decoration: underline;
}

.ng-cart__summary {
  position: sticky;
  top: 72px;
  background: var(--ng-surface);
  border: 1px solid var(--ng-line);
  border-radius: var(--ng-radius);
  box-shadow: var(--ng-shadow);
  padding: 20px;
  height: fit-content;
  align-self: start;
}
.ng-cart__summary h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ng-brand);
  line-height: 1.3;
}
.ng-cart__summary-meta {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ng-muted);
}
.ng-cart__total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 14px 0 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ng-line);
}
.ng-cart__total-row span {
  color: var(--ng-muted);
  font-size: 14px;
  font-weight: 500;
}
.ng-cart__total-row strong {
  font-size: 30px;
  color: var(--ng-brand);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.15;
}
.ng-cart__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ng-cart__actions .btn-ng {
  width: 100%;
}
.ng-cart__checkout {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ng-cart__actions .btn-ng.is-disabled,
.ng-cart__actions .btn-ng[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}
.ng-save-btn[hidden] { display: none !important; }

.ng-cart-empty {
  text-align: center;
  padding: 48px 24px;
  background: var(--ng-surface);
  border: 1px dashed var(--ng-line);
  border-radius: var(--ng-radius);
}
.ng-cart-empty h2 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--ng-brand);
}
.ng-cart-empty p { color: var(--ng-muted); margin: 0 0 16px; }
.ng-cart-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.ng-dirty-hint {
  display: none;
  margin: 10px 20px 0;
  font-size: 13px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 8px 10px;
}
.ng-dirty-hint.is-on { display: block; }

@media (max-width: 900px) {
  .ng-cart__cols {
    display: none;
  }
  .ng-cart-item {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "svc act"
      "term sub";
    gap: 10px 12px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .ng-cart-item__svc { grid-area: svc; }
  .ng-cart-item__act {
    grid-area: act;
    align-self: start;
  }
  .ng-cart-item__term {
    grid-area: term;
    justify-self: start;
  }
  .ng-cart-item__sub {
    grid-area: sub;
    text-align: right;
    justify-self: end;
    align-self: end;
  }
  .ng-cart-item__label-text {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }
  .ng-cart-item__label--mobile {
    display: block;
    margin-bottom: 2px;
  }
  .ng-cart-item__line {
    font-size: 18px;
  }
  .ng-cart-item__remove-text {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
    font-size: 13px;
  }
  .ng-cart__summary {
    position: static;
  }
  .ng-cart__total-row strong {
    font-size: 26px;
  }
  .ng-cart__foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .ng-page-head h1 { font-size: 22px; }
  .ng-main { padding: 16px 0 28px; }
}

.btn-ng,
.ng-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-ng-primary,
.ng-btn--primary {
  background: var(--ng-brand);
  border-color: var(--ng-brand);
  color: #fff !important;
}
.btn-ng-primary:hover,
.ng-btn--primary:hover {
  background: var(--ng-brand-mid);
  border-color: var(--ng-brand-mid);
  color: #fff !important;
}
.btn-ng-primary:disabled,
.ng-btn--primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.btn-ng-ghost,
.ng-btn--ghost {
  background: #fff;
  border-color: var(--ng-line);
  color: var(--ng-text) !important;
}
.btn-ng-ghost:hover,
.ng-btn--ghost:hover {
  border-color: var(--ng-brand-mid);
  color: var(--ng-brand) !important;
}

/* Config modal extras */
.ng-config-summary {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: var(--ng-brand-soft);
  border-radius: 8px;
  font-size: 14px;
  color: var(--ng-text);
}
.ng-config-summary strong { color: var(--ng-brand); }
.ng-config-total {
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ng-brand);
}
.ng-config-error {
  display: none;
  margin-top: 8px;
  color: var(--ng-danger);
  font-size: 13px;
}
.ng-config-error.is-on { display: block; }

/* ---- Domain search ---- */
.ng-domain {
  max-width: 920px;
  margin: 0 auto 32px;
}
.ng-domain-form {
  margin: 0 0 16px;
  padding: 20px;
  background: var(--ng-surface);
  border: 1px solid var(--ng-line);
  border-radius: var(--ng-radius);
  box-shadow: var(--ng-shadow);
}
.ng-domain-form__label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ng-text);
}
.ng-domain-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.ng-domain-form__input.form-control,
.ng-domain-form__input {
  flex: 1 1 220px;
  min-width: 0;
  height: 48px !important;
  min-height: 48px;
  font-size: 16px;
  line-height: 1.25;
  padding-top: 12px;
  padding-bottom: 12px;
  box-sizing: border-box;
}
.ng-domain-form__btn {
  flex: 0 1 auto;
  white-space: nowrap;
  height: 48px;
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.ng-domain-form__hint {
  display: none !important;
}
.ng-domain-status {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ng-muted);
  background: #f3f4f6;
  border: 1px solid var(--ng-line);
}
.ng-domain-status.is-busy {
  color: var(--ng-brand);
  background: var(--ng-brand-soft);
  border-color: #c5e6da;
}
.ng-domain-status.is-error {
  color: #92400e;
  background: #fffbeb;
  border-color: #fde68a;
}
.ng-domain-status.is-done {
  color: var(--ng-brand);
  background: #f0fdf6;
  border-color: #bbf7d0;
}
.ng-domain-results {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ng-domain-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(120px, 0.7fr) minmax(140px, auto);
  gap: 12px 16px;
  align-items: center;
  padding: 14px 16px;
  background: var(--ng-surface);
  border: 1px solid var(--ng-line);
  border-radius: var(--ng-radius);
}
.ng-domain-row__main {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.ng-domain-row__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ng-text);
  word-break: break-word;
  line-height: 1.3;
}
.ng-domain-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  background: #f3f4f6;
  color: var(--ng-muted);
}
.ng-domain-badge--ok {
  background: var(--ng-brand-soft);
  color: var(--ng-brand);
}
.ng-domain-badge--muted {
  background: #f3f4f6;
  color: #4b5563;
}
.ng-domain-badge--warn {
  background: #fff7ed;
  color: #9a3412;
}
.ng-domain-row__meta {
  min-width: 0;
}
.ng-domain-row__price {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ng-text);
}
.ng-domain-row__price small {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ng-muted);
}
.ng-domain-row__ren,
.ng-domain-row__note {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--ng-muted);
}
.ng-domain-row__action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.ng-domain-row__action .btn-ng {
  white-space: nowrap;
  max-width: 100%;
}
.ng-domain-row__action .btn-ng.is-added {
  background: var(--ng-brand-mid);
  border-color: var(--ng-brand-mid);
}
.ng-domain-cart-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ng-brand-mid);
  text-decoration: none;
}
.ng-domain-cart-link:hover {
  color: var(--ng-brand);
  text-decoration: underline;
}
@media (max-width: 720px) {
  .ng-domain-row {
    grid-template-columns: 1fr;
  }
  .ng-domain-row__action {
    justify-content: flex-start;
  }
  .ng-domain-form__btn {
    width: 100%;
  }
}

/* ---- Light shared footer (must beat style.css `footer { background:#202020 }`) ---- */
.info-footer,
footer:not(.ng-footer) {
  display: none !important;
}
footer.ng-footer,
.ng-footer {
  flex-shrink: 0;
  margin-top: auto;
  background: #fbfcfd !important;
  border-top: 1px solid var(--ng-line);
  color: var(--ng-text) !important;
  padding: 0 !important;
  font-size: inherit;
}
.ng-footer__inner {
  max-width: var(--ng-container);
  padding-top: 36px;
  padding-bottom: 28px;
}
.ng-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
}
.ng-footer__logo {
  display: inline-block;
  text-decoration: none !important;
  margin: 0 0 8px;
  line-height: 0;
}
.ng-footer__logo img {
  display: block;
  max-height: 48px;
  width: auto;
  max-width: 220px;
  height: auto;
}
.ng-footer__logo-mark,
.ng-footer__logo-text {
  display: none !important;
}
.ng-footer__tagline {
  margin: 0;
  max-width: 28rem;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ng-muted);
}
.ng-footer__heading {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ng-brand);
  text-transform: none;
  letter-spacing: 0;
}
.ng-footer__heading::after {
  display: none !important;
}
.ng-footer__links,
.ng-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ng-footer__links li,
.ng-footer__contact li {
  margin: 0 0 8px;
}
.ng-footer__links a,
.ng-footer__contact a {
  color: var(--ng-text);
  text-decoration: none;
  font-size: 14px;
}
.ng-footer__links a:hover,
.ng-footer__contact a:hover {
  color: var(--ng-brand-mid);
  text-decoration: underline;
}
.ng-footer__contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ng-text);
  line-height: 1.45;
}
.ng-footer__contact .fa {
  width: 16px;
  margin-top: 3px;
  color: var(--ng-brand-mid);
  flex-shrink: 0;
  text-align: center;
}
.ng-footer__pay {
  margin-top: 14px;
  border: 1px solid var(--ng-line);
  border-radius: 8px;
  background: #fff;
}
.ng-footer__pay summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ng-brand);
}
.ng-footer__pay summary::-webkit-details-marker { display: none; }
.ng-footer__pay summary::before {
  content: '+ ';
  font-weight: 700;
}
.ng-footer__pay[open] summary::before { content: '− '; }
.ng-footer__pay summary:focus-visible {
  outline: 2px solid var(--ng-brand-mid);
  outline-offset: 2px;
}
.ng-footer__pay-body {
  padding: 0 12px 12px;
  font-size: 13px;
  color: var(--ng-muted);
  line-height: 1.5;
}
.ng-footer__pay-body p { margin: 0 0 4px; }
.ng-footer__pay-body strong {
  color: var(--ng-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}
.ng-footer__bar {
  border-top: 1px solid var(--ng-line);
  padding: 12px 0;
  background: #fff;
}
.ng-footer__bar .container {
  max-width: var(--ng-container);
}
.ng-footer__bar p {
  margin: 0;
  font-size: 13px;
  color: var(--ng-muted);
}
.ng-footer__bar a {
  color: var(--ng-brand-mid);
  text-decoration: none;
  font-weight: 600;
}
.ng-footer__bar a:hover { text-decoration: underline; }

@media (max-width: 992px) {
  .ng-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ng-footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 575px) {
  .ng-footer__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .ng-footer__inner {
    padding-top: 28px;
    padding-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .ng-page-head h1 { font-size: 22px; }
  .ng-main { padding: 16px 0 28px; }
}

/* ---- Guest auth (login / register) — scoped ---- */
.ng-auth {
  width: 100%;
  max-width: 460px;
  margin: 8px auto 32px;
  padding: 0 4px;
}
.ng-auth--register {
  max-width: 560px;
}
.ng-auth__card {
  background: var(--ng-surface);
  border: 1px solid var(--ng-line);
  border-radius: 14px;
  box-shadow: var(--ng-shadow);
  padding: 28px 32px;
}
.ng-auth__title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  color: var(--ng-brand);
  line-height: 1.25;
  text-transform: none;
  border: 0;
}
.ng-auth__title::after { display: none !important; }
.ng-auth__lead {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ng-muted);
}
.ng-auth__form {
  margin: 0;
}
.ng-auth__field {
  margin: 0 0 16px;
}
.ng-auth__label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ng-text);
}
.ng-auth__input.form-control,
.ng-auth input.ng-auth__input {
  height: 48px;
  font-size: 16px;
  border-radius: 8px;
  border-color: var(--ng-line);
  box-shadow: none;
}
.ng-auth__input.form-control:focus {
  border-color: var(--ng-brand-mid);
  box-shadow: 0 0 0 3px var(--netsa-field-focus-ring, rgba(22, 122, 92, 0.22));
}
.ng-auth__pass-wrap {
  position: relative !important;
}
.ng-auth__pass-wrap .ng-auth__input {
  padding-right: 44px;
}
.ng-auth__pass-toggle {
  position: absolute !important;
  top: 50% !important;
  right: 8px !important;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ng-muted);
  cursor: pointer;
  line-height: 1;
  z-index: 2;
}
.ng-auth__pass-toggle:hover,
.ng-auth__pass-toggle:focus-visible {
  color: var(--ng-brand);
  background: rgba(15, 77, 60, 0.08);
  outline: none;
}
.ng-auth__pass-toggle:focus-visible {
  box-shadow: 0 0 0 2px var(--ng-brand-mid);
}
.ng-auth__pass-toggle.is-on {
  color: var(--ng-brand-mid);
}
.ng-auth__hint {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--ng-muted);
  line-height: 1.4;
}
.ng-auth__error {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--ng-danger);
  line-height: 1.4;
}
.ng-auth__error[hidden] {
  display: none !important;
}
.ng-auth__input[aria-invalid="true"] {
  border-color: #f3a4a0;
}
.ng-auth__row-opts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 4px 0 18px;
}
.ng-auth__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ng-brand-mid);
  text-decoration: none;
}
.ng-auth__link:hover {
  color: var(--ng-brand);
  text-decoration: underline;
}
.ng-auth__submit {
  width: 100%;
  min-height: 48px;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
}
.ng-auth__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}
.ng-auth__switch {
  margin: 18px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--ng-muted);
}
.ng-auth__switch a {
  font-weight: 700;
  color: var(--ng-brand-mid);
  text-decoration: none;
}
.ng-auth__switch a:hover {
  color: var(--ng-brand);
  text-decoration: underline;
}
.ng-auth__grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}
.ng-auth__flash {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
  border: 1px solid var(--ng-line);
  background: #f3f4f6;
  color: var(--ng-text);
}
.ng-auth__flash--success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.ng-auth__flash--danger,
.ng-auth__flash--warning {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}
.ng-auth__actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* Hide empty breadcrumb bar on auth pages */
.ng-shell:has(.ng-auth) #breadcrumb {
  display: none;
}

@media (max-width: 640px) {
  .ng-auth__card {
    padding: 22px 20px;
  }
  .ng-auth__title {
    font-size: 22px;
  }
  .ng-auth__grid-2 {
    grid-template-columns: 1fr;
  }
  .ng-auth__row-opts {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Guest checkout promo */
.guest-promo-box {
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8faf9;
}
.guest-promo-box__label {
  display: block;
  font-weight: 650;
  margin-bottom: 8px;
  color: #0F4D3C;
}
.guest-promo-box__form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.guest-promo-box__form .form-control {
  flex: 1 1 auto;
  min-width: 0;
}
.guest-promo-box__form .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
.guest-promo-box__applied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.guest-promo-discount-row td {
  background: #ecfdf5;
}
@media (max-width: 640px) {
  .guest-promo-box__form {
    flex-direction: column;
  }
}
