/*
 * Golala Global Typography
 * Shared by public, customer and administrator areas.
 */

:root {
    --font-family-base: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-label: 13px;
    --line-height-base: 1.65;
}

html {
    font-size: var(--font-size-base);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body,
button,
input,
select,
textarea {
    font-family: var(--font-family-base);
}

body {
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

p,
li,
dd,
td,
th,
label,
input,
select,
textarea,
button {
    font-size: 1rem;
}

small,
.helper-text,
.description,
.vat-label,
.licence-note,
.form-help,
.field-help {
    font-size: var(--font-size-small);
    line-height: 1.55;
}

.section-label,
.kicker,
.gateway-kicker,
.admin-nav-label,
.product-type {
    font-size: var(--font-size-label);
    line-height: 1.4;
}

.main-nav,
.announcement,
.announcement-links,
.admin-sidebar-new nav,
.admin-top-actions,
.customer-sidebar nav {
    font-size: var(--font-size-small);
}

.catalog-card p,
.product-summary,
.rich-copy,
.licence-option p,
.cart-row p,
.order-summary p,
.integration-card p,
.administrator-details,
.source-inspection-list p,
.integration-test-checks p {
    font-size: 1rem;
}

.catalog-card-foot,
.product-meta,
.product-links,
.cart-modal-product,
.notice-new,
.panel,
table {
    font-size: 1rem;
}

.admin-sidebar-new nav a,
.customer-sidebar nav a {
    min-height: 44px;
    line-height: 1.35;
}

input,
select,
textarea,
button,
.button,
.btn {
    min-height: 44px;
}

code,
pre {
    font-size: 0.9375rem;
}

/* Keep decorative dashboard mock-ups compact without affecting real content. */
.dashboard-window,
.dashboard-window *,
.showcase-board,
.showcase-board * {
    font-size: revert;
}

/* Mobile accessibility */
@media (max-width: 700px) {
    :root {
        --font-size-base: 16px;
        --font-size-small: 14px;
        --font-size-label: 12px;
    }

    body {
        line-height: 1.6;
    }

    input,
    select,
    textarea {
        font-size: 16px;
    }
}
