/* Product facts on cards stay visually quieter than action buttons. */
.mdstore-page .mdstore-audience {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .3em;
    max-width: 100%;
    margin: .25rem 0 .5rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--store-muted, #666);
    font-size: 12px;
    font-style: normal;
    line-height: 1.5;
    text-transform: none;
}
.mdstore-page .mdstore-audience strong { color: var(--store-ink, #1a1a1a); font-weight: 600; }

/* Current and alternative versions form one compact selector. */
.mdstore-page main#main .mdstore-model-versions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 16px 0 22px;
    font-size: 13px;
    font-style: normal;
    line-height: 1.4;
}
.mdstore-page main#main .mdstore-version-label { color: var(--store-muted, #666); font-size: 12px; }
.mdstore-page main#main .mdstore-model-versions ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.mdstore-page main#main .mdstore-model-versions li { margin: 0; padding: 0; }
.mdstore-page main#main .mdstore-version {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 9px 13px;
    border: 1px solid var(--store-line, #e5e5e5);
    border-radius: 10px;
    background: #fff;
    color: var(--store-ink, #1a1a1a);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    box-shadow: none;
    transition: background-color .15s, border-color .15s, color .15s;
}
/* Match the existing MetkaDruk CTA typography, including nested link labels. */
.mdstore-page main#main .mdstore-version,
.mdstore-page main#main .mdstore-version > span {
    font-family: var(--md-font-heading, Kanit, sans-serif) !important;
    font-style: italic !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0;
}
.mdstore-page main#main .mdstore-version svg { flex: 0 0 14px; }
.mdstore-page main#main .mdstore-version small { display: block; margin-top: 2px; color: inherit; font-size: 11px; font-weight: 400; }
.mdstore-page main#main .mdstore-version.is-current {
    background: var(--md-light, #f5f5f3);
    border-color: var(--store-line, #e5e5e5);
    color: var(--store-ink, #1a1a1a);
    font-weight: 600;
}
.mdstore-page main#main .mdstore-version.is-current svg { color: var(--store-muted, #666); }
/* Alternatives read as secondary links; keep a comfortable invisible touch area. */
.mdstore-page main#main a.mdstore-version {
    padding: 6px 7px;
    gap: 5px;
    border-color: transparent;
    background: transparent;
    color: var(--store-muted, #666);
    font-size: 11px;
}
.mdstore-page main#main a.mdstore-version,
.mdstore-page main#main a.mdstore-version > span { font-weight: 500 !important; }
.mdstore-page main#main a.mdstore-version svg { flex: 0 0 12px; width: 12px; height: 12px; }
.mdstore-page main#main a.mdstore-version:hover {
    background: transparent;
    border-color: transparent;
    color: var(--store-ink, #1a1a1a);
    text-decoration: underline;
    text-decoration-color: var(--md-orange, #ff6500);
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}
.mdstore-page main#main a.mdstore-version:focus-visible { outline: 2px solid var(--store-ink, #1a1a1a); outline-offset: 3px; }
.mdstore-page main#main a.mdstore-version:focus:not(:focus-visible) { outline: none; }
.mdstore-page main#main .mdstore-model-kind {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin: 12px 0 18px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--store-ink, #1a1a1a);
}
.mdstore-page main#main .mdstore-model-kind span { color: var(--store-muted, #666); font-size: 12px; }
.mdstore-page main#main .mdstore-model-kind strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--md-font-heading, Kanit, sans-serif) !important;
    font-style: italic !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}
.mdstore-page main#main .mdstore-model-kind .mdstore-kind-icon { flex: 0 0 14px; color: var(--store-muted, #666); }
@media (max-width: 480px) {
    .mdstore-page main#main .mdstore-model-versions { gap: 8px; }
    .mdstore-page main#main .mdstore-version-label { flex-basis: 100%; }
    .mdstore-page main#main .mdstore-version { padding: 9px 12px; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
    .mdstore-page main#main .mdstore-version { transition: none; }
}
