/**
 * KitUP font weights — account sidebar tabs (300) + actions site-wide (100).
 * "10" in Figma maps to CSS font-weight 100 (thin); 10 is not a valid CSS value.
 * Loads via kitup-late-styles.phtml and kitup-account-sidebar-styles.phtml.
 */
:root {
    --kitup-weight-account-nav: 300;
    /* Primary buttons: 400 so label is readable on mint (100 was invisible) */
    --kitup-weight-action: 400;
}

/* ─── Account sidebar — all tabs (active + inactive) ─── */
html body.account .kitup-account-nav .kitup-nav-link,
html body.account .kitup-account-nav .kitup-nav-label,
html body[class*="customer-account"] .kitup-account-nav .kitup-nav-link,
html body[class*="customer-account"] .kitup-account-nav .kitup-nav-label,
html body[class*="customer-account"] .kitup-account-nav .nav.item > a.kitup-nav-link,
html body[class*="customer-account"] .kitup-account-nav .nav.item > strong.kitup-nav-link,
html body[class*="customer-account"] .kitup-account-nav .nav.item.current > a.kitup-nav-link,
html body[class*="customer-account"] .kitup-account-nav .nav.item.current > strong.kitup-nav-link,
html body[class*="customer-account"] .kitup-account-nav .nav.item.current .kitup-nav-link .kitup-nav-label,
html body.customer-account-edit .kitup-account-nav .kitup-nav-link,
html body.customer-account-edit .kitup-account-nav .kitup-nav-label,
html body.customer-account-edit .kitup-account-nav .nav.item > a.kitup-nav-link,
html body.customer-account-edit .kitup-account-nav .nav.item > strong.kitup-nav-link,
html body.customer-account-edit .kitup-account-nav .nav.item.current > a.kitup-nav-link,
html body.customer-account-edit .kitup-account-nav .nav.item.current > strong.kitup-nav-link,
html body.customer-account-edit .kitup-account-nav .nav.item.current .kitup-nav-link .kitup-nav-label,
html body[class*="customer-account"] .sidebar.sidebar-main .nav.items > .item > a,
html body[class*="customer-account"] .sidebar.sidebar-main .nav.items > .item > strong,
html body[class*="customer-account"] .sidebar.sidebar-main .nav.item > a,
html body[class*="customer-account"] .sidebar.sidebar-main .nav.item > strong,
html body[class*="customer-account"] .sidebar.sidebar-main .nav.items > .item > a.kitup-nav-link,
html body[class*="customer-account"] .sidebar.sidebar-main .nav.items > .item > strong.kitup-nav-link,
html body[class*="customer-account"] .sidebar.sidebar-main .nav.item > a.kitup-nav-link,
html body[class*="customer-account"] .sidebar.sidebar-main .nav.item > strong.kitup-nav-link,
html body[class*="customer-account"] .columns .sidebar .block:first-child .nav.items > .item > a,
html body[class*="customer-account"] .columns .sidebar .block:first-child .nav.items > .item > strong,
html body[class*="customer-account"] .columns .sidebar .block:first-child .nav.items > .item > a.kitup-nav-link,
html body[class*="customer-account"] .columns .sidebar .block:first-child .nav.items > .nav.item > a.kitup-nav-link {
    font-weight: var(--kitup-weight-account-nav, 300) !important;
}

/* ─── Actions — site-wide (primary, secondary, toolbar) ─── */
html body a.action,
html body button.action,
html body .action,
html body a.action.primary,
html body button.action.primary,
html body .action.primary,
html body .actions-toolbar .action,
html body .actions-toolbar .primary .action,
html body .actions-toolbar button.action,
html body .primary .action,
html body input.action.primary,
html body .action-secondary,
html body button.action-secondary,
html body a.action-secondary {
    font-weight: var(--kitup-weight-action, 100) !important;
}

html body a.action span,
html body button.action span,
html body .action span,
html body a.action.primary span,
html body button.action.primary span,
html body .action.primary span,
html body .actions-toolbar .action span,
html body .actions-toolbar .primary .action span {
    font-weight: var(--kitup-weight-action, 100) !important;
}

/* Newsletter Subscription — beat kitup-account-newsletter.css legacy 700 */
html body.newsletter-manage-index .kitup-newsletter-actions button.action.primary.kitup-newsletter-save,
html body.newsletter-manage-index .kitup-newsletter-actions .action.save.primary,
html body.newsletter-manage-index .column.main .kitup-newsletter-actions button.action.primary,
html body.newsletter-manage-index .column.main .actions-toolbar .action.primary {
    font-weight: var(--kitup-weight-action, 100) !important;
}

html body.newsletter-manage-index .kitup-newsletter-actions button.action.primary.kitup-newsletter-save span,
html body.newsletter-manage-index .kitup-newsletter-actions .action.save.primary span,
html body.newsletter-manage-index .column.main .kitup-newsletter-actions button.action.primary span {
    font-weight: var(--kitup-weight-action, 100) !important;
}
