@font-face {
    font-family: 'Ubuntu';
    src: url('/product/assets/fonts/Ubuntu-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('/product/assets/fonts/Ubuntu-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('/product/assets/fonts/Ubuntu-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('/product/assets/fonts/Ubuntu-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}


html, body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Ubuntu', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box
}


header {
    max-width: 1200px;
    margin: 24px auto 20px;
    padding: 0 16px
}

main {
    max-width: 1000px;
    margin: 24px auto 20px;
    padding: 0 16px
}


.lang-switch {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 0px 10px 0px;
}

.lang-switch a {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    color: #111;
    background: #fff;
}

.lang-switch a.active {
    background: #111;
    color: #fff;
    border-color: #111;
    pointer-events: none;
}

a.card-link,
a.card-link:link,
a.card-link:visited,
a.card-link:hover,
a.card-link:active {
    color: inherit; /* или transparent, если текста нет */
    text-decoration: none; /* чтобы не появлялось подчёркивание */
}

.header {
    display: flex;
    gap: 4px;
    align-items: center;
    background: var(--header-bg);
    color: var(--header-text);
    border-radius: calc(var(--radius) + 2px);
    box-shadow: var(--shadow);
    padding: 16px 18px;
    margin-bottom: 8px;
    flex-wrap: wrap;
    line-height: 1em;
}

.header .logo {
    width: 30px;
    height: 30px;
    border-radius: 14px;
    object-fit: contain;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
    flex: 0 0 30px;
}

.header h1 {
    font-size: clamp(12px, 1.6vw, 20px);
    line-height: 1.15;
    margin: 0 0 4px
}

.header p {
    margin: 0;
    color: var(--muted)
}

.lazyload,
.lazyloading {
    opacity: 0;
}
.lazyloaded {
    opacity: 1;
    transition: opacity 300ms;
}

.app-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 45px; /* одинаковая высота */
}
