/* Typography system: tuned for Vietnamese readability without another font download. */
:root {
  --font-sans: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-sans);
  font-kerning: normal;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-weight: 400;
  line-height: 1.55;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

strong,
b {
  font-weight: 700;
}

.sku,
.product-code,
.account-icon,
.nav-mark,
.buyer-sheet-product span {
  font-family: var(--font-mono);
}

/* Prices remain prominent but use the real bundled 700 face instead of faux 800. */
.buyer-product-price,
.buyer-sheet-total-price,
.buyer-sheet-summary-total strong,
.buyer-quote-total strong,
.seller-product-price-v382 > strong,
.seller-variant-price-input-v35 input,
.dropshipfb-price-input input,
.product-price > span:nth-child(2),
.quick-price-rate,
.good-price-total strong {
  font-weight: 700;
  letter-spacing: -0.012em;
  font-variant-numeric: tabular-nums;
}

/* Public catalog: clearer product hierarchy and secondary information. */
.buyer-search-copy h1 {
  font-size: 25px;
}

.buyer-section-head h2 {
  font-size: 22px;
}

.buyer-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.075em;
}

.buyer-product-name {
  min-height: 40px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -0.01em;
}

.buyer-product-price {
  font-size: 20px;
}

.buyer-product-price small,
.buyer-product-meta,
.buyer-sheet-product small,
.buyer-search-error,
.buyer-search-hit {
  font-size: 11px;
  line-height: 1.45;
}

.buyer-sheet-label {
  font-size: 12px;
  font-weight: 700;
}

.buyer-variant-chip {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.buyer-variant-chip small {
  font-size: 9px;
}

.buyer-quote-metric,
.buyer-quote-lines > div,
.buyer-cost-details summary {
  font-size: 11px;
  line-height: 1.5;
}

.dropshipfb-reference-link,
.dropshipfb-detail-reference {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.dropshipfb-detail-description {
  font-size: 13px;
  line-height: 1.65;
}

/* Admin: remove overly tiny labels while preserving the compact layout. */
.seller-center-heading-v382 > p:last-child,
.seller-product-main-v382 > span,
.product-sort-status {
  font-size: 11px;
  line-height: 1.45;
}

.seller-product-main-v382 > strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.008em;
}

.seller-product-price-v382 > span,
.seller-editor-v38 .seller-product-fields-v38 .seller-field > span,
.seller-editor-v38 .seller-variation-table-v38 th,
.dropshipfb-variant-row > label > span:first-child {
  font-size: 10px;
  line-height: 1.4;
}

.seller-row-warnings-v382 .seller-warning-pill {
  font-size: 9px;
  font-weight: 600;
}

.seller-editor-v38 .seller-section-heading p,
.seller-editor-v38 .seller-codes-manager > summary small,
.seller-editor-v38 .seller-codes-card-v38 .seller-advanced-quiet summary,
.dropshipfb-product-copy .seller-field small {
  font-size: 10px;
  line-height: 1.5;
}

.seller-editor-v38 .seller-inline-variant-name {
  font-weight: 600;
}

.button,
.buyer-search-submit,
.seller-editor-v38 .seller-add-variant-inline {
  font-weight: 600;
}

@media (max-width: 700px) {
  .buyer-search-copy h1 {
    font-size: 21px;
  }

  .buyer-section-head h2 {
    font-size: 20px;
  }

  .buyer-product-name {
    min-height: 38px;
    font-size: 13px;
  }

  .buyer-product-price {
    font-size: 17px;
  }

  .buyer-product-meta {
    font-size: 10px;
  }

  .seller-product-main-v382 > strong {
    font-size: 13px;
  }

  /* Prevent automatic form zoom in mobile Safari. */
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px;
  }
}
