/* Account / reorder / cart / checkout — match NBS design */

.nbs-account {
  padding: 40px 40px 56px;
}

.nbs-account .nbs-kicker { margin-bottom: 12px; }

.nbs-account-title {
  font: 800 32px/1.1 'Archivo', sans-serif;
  color: var(--nbs-navy);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.nbs-account-lead {
  font: 400 16px/1.6 'Archivo', sans-serif;
  color: var(--nbs-body);
  margin: 0 0 28px;
  max-width: 640px;
}

.nbs-account-note {
  margin: 0 0 28px;
  border: 1px solid #c5d8ea;
  background: #f2f7fc;
  color: var(--nbs-navy);
  border-radius: 10px;
  padding: 14px 16px;
  line-height: 1.55;
  font: 400 14px 'Archivo', sans-serif;
}

.nbs-account-note strong { font-weight: 700; }

.nbs-reorder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.nbs-reorder-card {
  border: 1px solid var(--nbs-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.nbs-reorder-card .thumb {
  aspect-ratio: 1;
  background: var(--nbs-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.nbs-reorder-card .thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.nbs-reorder-card .body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.nbs-reorder-card .name {
  font: 700 15px 'Archivo', sans-serif;
  color: var(--nbs-navy);
}

.nbs-reorder-card .nbs-btn {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
}

/* Legacy class bridges — restyle existing order markup */
body.nbs-body .cp-page,
body.nbs-body .myproduct-list,
body.nbs-body .namebadgesmask {
  padding: 36px 40px 20px;
}

body.nbs-body .cp-page > h2,
body.nbs-body .cp-page > h3.title,
body.nbs-body h3.title,
body.nbs-body .form-login h2.title,
body.nbs-body .shipping-address-title h3,
body.nbs-body .billing-address-title h3 {
  font: 800 28px/1.15 'Archivo', sans-serif !important;
  color: var(--nbs-navy) !important;
  letter-spacing: -0.02em;
  margin: 0 0 18px !important;
}

body.nbs-body .custom-products-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

body.nbs-body .custom-product-col,
body.nbs-body .myproduct-list-item {
  width: 25%;
  padding: 10px;
  float: none !important;
}

body.nbs-body .custom-product-card {
  border: 1px solid var(--nbs-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: none;
}

body.nbs-body .custom-product-image {
  aspect-ratio: 1;
  background: var(--nbs-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin: 0;
}

body.nbs-body .custom-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

body.nbs-body .custom-product-name {
  font: 700 15px 'Archivo', sans-serif;
  color: var(--nbs-navy);
  padding: 12px 14px 0;
  text-align: center;
}

body.nbs-body .custom-product-action {
  padding: 12px 14px 16px;
  margin-top: auto;
  text-align: center;
}

body.nbs-body .custom-product-btn,
body.nbs-body .btn.btn-default,
body.nbs-body input[type="submit"].btn,
body.nbs-body .btn-primary {
  display: inline-block;
  background: var(--nbs-blue) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 7px !important;
  font: 600 14px 'Archivo', sans-serif !important;
  padding: 11px 18px !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

body.nbs-body .custom-product-btn:hover,
body.nbs-body .btn.btn-default:hover,
body.nbs-body .btn-primary:hover {
  background: var(--nbs-navy) !important;
  color: #fff !important;
}

body.nbs-body .alert-info {
  border: 1px solid #c5d8ea !important;
  background: #f2f7fc !important;
  color: var(--nbs-navy) !important;
  border-radius: 10px !important;
  font-family: 'Archivo', sans-serif;
}

body.nbs-body .cart-page-modern,
body.nbs-body .shopping-table-cover,
body.nbs-body .shipping-address-cover,
body.nbs-body .order-summary-cover,
body.nbs-body .payment-cover {
  font-family: 'Archivo', sans-serif;
}

body.nbs-body .table > thead > tr > th {
  background: var(--nbs-navy) !important;
  color: var(--nbs-announce) !important;
  border: none !important;
  font: 600 13px 'Archivo', sans-serif !important;
  padding: 12px 10px !important;
}

body.nbs-body .table > tbody > tr > td {
  border-color: var(--nbs-border) !important;
  vertical-align: middle !important;
  font: 400 14px 'Archivo', sans-serif;
  color: var(--nbs-body);
}

body.nbs-body .table {
  border: 1px solid var(--nbs-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

body.nbs-body .form-control,
body.nbs-body .custom-address-select,
body.nbs-body select.form-control,
body.nbs-body input.form-control {
  border: 1px solid var(--nbs-input-border) !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  font-family: 'Archivo', sans-serif !important;
  height: auto !important;
  padding: 10px 12px !important;
}

body.nbs-body .form-control:focus,
body.nbs-body .custom-address-select:focus {
  border-color: var(--nbs-blue) !important;
  box-shadow: 0 0 0 3px rgba(47, 111, 176, 0.2) !important;
}

body.nbs-body .form-login,
body.nbs-body .login-wrap {
  max-width: 480px;
  margin: 40px auto 20px;
  background: var(--nbs-cream);
  border: 1px solid var(--nbs-border);
  border-radius: 14px;
  padding: 32px;
}

body.nbs-body .black-text { color: var(--nbs-navy) !important; font-weight: 700; }
body.nbs-body .grey-text { color: var(--nbs-muted) !important; }
body.nbs-body .links,
body.nbs-body .add-link,
body.nbs-body .edit-link { color: var(--nbs-blue) !important; }

body.nbs-body .info-block,
body.nbs-body .info-block-product { display: none !important; }

@media (max-width: 960px) {
  body.nbs-body .custom-product-col,
  body.nbs-body .myproduct-list-item { width: 50%; }
  .nbs-reorder-grid { grid-template-columns: repeat(2, 1fr); }
  .nbs-account,
  body.nbs-body .cp-page,
  body.nbs-body .myproduct-list { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 520px) {
  body.nbs-body .custom-product-col,
  body.nbs-body .myproduct-list-item { width: 100%; }
  .nbs-reorder-grid { grid-template-columns: 1fr; }
}

/* Order / customize (reorder builder) */
body.nbs-body .order-custom-wrap,
body.nbs-body #order-custom-product,
body.nbs-body .custom-left-panel,
body.nbs-body .namebadge-order-page {
  font-family: 'Archivo', sans-serif;
  color: var(--nbs-body);
}

body.nbs-body .panel,
body.nbs-body .panel-default {
  border: 1px solid var(--nbs-border) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

body.nbs-body .panel-heading {
  background: var(--nbs-cream) !important;
  border-bottom: 1px solid var(--nbs-border) !important;
  font: 700 15px 'Archivo', sans-serif !important;
  color: var(--nbs-navy) !important;
}

body.nbs-body .best-name-text,
body.nbs-body .best-link {
  font: 800 18px 'Archivo', sans-serif !important;
  color: var(--nbs-navy) !important;
}

body.nbs-body .receipt-main,
body.nbs-body #invoice-page {
  font-family: 'Archivo', sans-serif;
}

body.nbs-body .order-page-header,
body.nbs-body .order-box-cover,
body.nbs-body .order-layout-card {
  font-family: 'Archivo', sans-serif;
}

body.nbs-body .order-page-title {
  font: 800 28px/1.15 'Archivo', sans-serif !important;
  color: var(--nbs-navy) !important;
  letter-spacing: -0.02em;
}

body.nbs-body .order-title-box {
  font: 700 14px 'IBM Plex Mono', monospace !important;
  letter-spacing: 0.08em;
  color: var(--nbs-blue) !important;
  margin-bottom: 12px;
}

body.nbs-body .order-layout-card,
body.nbs-body .boxSub2 {
  background: #fff;
  border: 1px solid var(--nbs-border);
  border-radius: 12px;
  padding: 20px;
}

body.nbs-body #badge_pricing tr.info > td,
body.nbs-body #badge_pricing tr.info > th {
  background: var(--nbs-navy) !important;
  color: var(--nbs-announce) !important;
}

body.nbs-body .cart-page-modern .shopping-left-panel,
body.nbs-body .cart-page-modern .shopping-right-panel {
  font-family: 'Archivo', sans-serif;
}
