/*
 * Public site: the link «All products →» under the cards of the home page — a larger text link and the character
 * that points at it (owner, 13.10.2026: form «В», D-025). It is a link, not a button (rules.md §3.3). Also here: the mark of a
 * link that leaves the site, and the row of the large actions at the foot of a product page.
 */

/* A link or a button that leads away from the site carries this mark after its label. */
.app-btn__ext {
    flex: none;
    width: var(--glyph-inline);
    height: var(--glyph-inline);
    margin-left: var(--space-0);
    fill: none;
    stroke: currentColor;
    stroke-width: var(--stroke);
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.1em;
}

/* The foot of a product page: the button of the product and the button of its prices, one height (rules.md §3.10). */
.app-prodactions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin: var(--space-5) 0;
}

.app-allrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    margin-top: var(--space-5);
}

/* On a text page the row stands at the edge of the text column, not in the middle of it (KDR-225). */
.app-allrow--start {
    justify-content: flex-start;
}

.app-allrow__hero {
    display: block;
    flex: none;
    width: auto;
    height: 88px;
}

.app-allrow__link {
    font-size: var(--fs-card);
    font-weight: var(--fw-medium);
}

@container (max-width: 719px) {
    /* On a text page the row stands at the edge of the text column, not in the middle of it (KDR-225). */
.app-allrow--start {
    justify-content: flex-start;
}

.app-allrow__hero {
        height: 72px;
    }
}

/* Touch target: a standalone link (not inside running text) is at least --field tall; one rule for the class: the large link, .app-solo (a link or a block whose links stand alone), the topic links, the links of the facts table (core.md §19.1). */
@container (max-width: 719px) {
    .app-allrow__link,
    .app-solo,
    .app-solo a,
    .app-topics__link,
    .app-facts a {
        display: inline-flex;
        align-items: center;
        min-height: var(--field);
    }
}
