/**
 * 2026 fancy|studio
 *
 * @author    fancy|studio <support@fancystudio.digital>
 * @copyright 2026 fancy|studio
 * @license   Licensed under the license of the plugin that ships this file — see its LICENSE file.
 */
/*! qog-columns core 1.2.1 — canonical source: director hub shared/columns. Do not edit in a plugin. */

/* Two-line header: "Sum" over a smaller "(tax excluded)" (QogColumns.TwoLineHeader) */
.ag-header-cell-text:has(.qog-hdr2),
.ag-header-cell-text .qog-hdr2 {
    white-space: normal;
    overflow: visible;
}
.qog-hdr2 {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    padding: 4px 0;
}
.ag-right-aligned-header .qog-hdr2 {
    align-items: flex-end;
    text-align: right;
}
.qog-hdr2-main,
.qog-hdr2-sub {
    white-space: nowrap;
}
.qog-hdr2-sub {
    font-size: 0.88em;
    font-weight: 400;
    opacity: 0.75;
}

/*
 * Product name link (the "name" column), since 1.2.1. The theme's font stays (family, size,
 * weight — nothing here sets them); only what made the name look like a raw theme link is
 * taken back: the theme's link colour and its underline, also when a theme draws the underline
 * with a border or a box-shadow (a common theme showed every name underlined in its purple link
 * colour). Underline on hover, a visible keyboard focus. Specific enough to beat a theme's
 * content-link rules (".entry-content a:not(.button)") without !important, so a merchant's own
 * stylesheet can still restyle it.
 */
.ag-root-wrapper .ag-row .ag-cell[col-id="name"] a,
.ag-root-wrapper .ag-row .ag-cell[col-id="name"] a:visited {
    color: inherit;
    text-decoration: none;
    border-bottom: 0;
    box-shadow: none;
    background: none;
}
.ag-root-wrapper .ag-row .ag-cell[col-id="name"] a:hover {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ag-root-wrapper .ag-row .ag-cell[col-id="name"] a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    border-radius: 2px;
}
