/* Common */

html {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    font: 14px/1.4 'Fira Sans', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: #1d1d1d;
    background: #f6f6f6;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

a {
    color: inherit;
}

.dark {
    color-scheme: dark;
}

/* Header Main */

.header-main {
    color: #e9e9e9;
    border-bottom: 1px solid #e30613;
    background: #1d1d1d;
}

.header-main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1140px;
    width: 100%;
    min-height: 56px;
    margin-inline: auto;
    padding-block: 12px;
}

.header-main-logo {
    margin-right: 16px;
}

.header-main-title {
    font-size: 14px;
    font-weight: normal;
    text-transform: uppercase;
    margin: 0 16px 0 0;
    color: #c6c6c6;
}

.header-main-phones {
    margin-left: auto;
    margin-right: 16px;
}

.header-main-phones > span:not(:last-child) {
    margin-right: 8px;
}

.header-main-email {
    color: #c6c6c6;
    background: url(/images/email-d802f168b15b04b48d0cf95d090f241f.svg) left center no-repeat;
    min-height: 14px;
    padding-left: 20px;
    text-decoration: none;
}

.header-main-email:not(:last-child) {
    margin-right: 32px;
}

.header-main-email:hover {
    color: #e9e9e9;
}

/* Header menu */

.header-menu {
    color: #e9e9e9;
    background: #2d2d2b;
}

.header-menu--home {
    border-bottom: 1px solid #666;
}

.header-menu-content {
    display: flex;
    align-items: center;
    max-width: 1140px;
    width: 100%;
    margin-inline: auto;
    padding-block: 8px;
}

.header-menu-item {
    text-transform: uppercase;
    text-decoration: none;
    color: #c6c6c6;
    min-height: 28px;
    line-height: 28px;
    margin-right: 16px;
}

.header-menu-item:not(:first-child) {
    border-left: 1px solid #666;
    padding-left: 16px;
}

.header-menu-item:hover {
    color: #fff;
}

.header-menu-accent-item {
    margin-left: auto;
    text-transform: uppercase;
    text-decoration: none;
    color: #e9e9e9;
    border-radius: 2px;
    background: #be1622;
    min-height: 28px;
    line-height: 20px;
    padding: 4px 8px;
}

.header-menu-accent-item:hover {
    color: #fff;
}

/* Header search form */

.header-search-form {
    background: #1e1e1e;
    border-top: 1px solid #2d2d2b;
}

.header-search-form-content {
    max-width: 1140px;
    width: 100%;
    min-height: 62px;
    margin-inline: auto;
    padding-block: 8px;
}

/* Footer */

.footer {
    color: #c6c6c6;
    background: #262626;
}

.footer-content {
    display: flex;
    align-items: center;
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 16px 0;
}

/* Wrappers are transparent on desktop (contents) and become columns on mobile */
.footer-left,
.footer-right {
    display: contents;
}

.footer-copyright {
    font-size: 12px;
    margin-right: 16px;
}

.footer-phones {
    font-size: 12px;
    color: #e9e9e9;
    margin-right: 16px;
}

.footer-email {
    color: #c6c6c6;
    background: url(/images/email-d802f168b15b04b48d0cf95d090f241f.svg) left center no-repeat;
    min-height: 14px;
    margin-left: auto;
    margin-right: 16px;
    padding-left: 20px;
    text-decoration: none;
}

.footer-email:hover {
    color: #e9e9e9;
}

.footer-link {
    color: #c6c6c6;
    text-decoration: none;
}

.footer-link:not(:last-child) {
    margin-right: 16px;
}

.footer-link:hover {
    color: #e9e9e9;
}

/* Body */

.body {
    flex: 1;
    min-height: 0;
}

.body--dark {
    color: #f6f6f6;
    background: #2d2d2b;
}

.body-content {
    display: flex;
    gap: 24px;
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 0;
}

.body-content-sidebar {
    min-width: 240px;
    max-width: 240px;
}

.body-content-additions-sidebar {
    min-width: 290px;
    max-width: 290px;
}

.body-content-main {
    flex: 1;
    min-width: 0;
}

/* Pagination navigator */

.pagination-navigator {
    display: flex;
}

.pagination-navigator:not(:last-child) {
    margin-bottom: 8px;
}

.pagination-navigator-page:not(:last-child) {
    margin-right: 8px;
}

.pagination-navigator-link,
.pagination-navigator-label {
    display: block;
    padding: 4px 8px;
    min-width: 32px;
    text-align: center;
}

.pagination-navigator-link {
    text-decoration: none;
}

.pagination-navigator-link:hover {
    color: #be1622;
}

.pagination-navigator-label {
    color: #fff;
    border-radius: 2px;
    background: #be1622;
}

/* Page */

.page-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.page-header-text {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    line-height: 28px;
    color: #575757;
}

.page-header > :not(:last-child) {
    margin-right: 16px;
}

.page-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 16px;
    line-height: 28px;
    color: #575757;
}

.page-error-link {
    color: #00508f;
}

/* Agreement */

.agreement-text {
    word-wrap: break-word;
    overflow: auto;
}

/* Registration confirmation */

.registration-confirmation-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
}

.registration-confirmation-link {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.75);
}

.registration-confirmation-link:hover {
    color: #fff;
}

/* Payment */

.payment-text {
    font-size: 16px;
}

.payment-link {
    font-size: 16px;
    color: #1d71b8;
}

.payment-link:hover {
    color: #be1622;
}

/* Intro cards */

.intro-cards:not(:last-child) {
    margin-bottom: 32px;
}

.intro-cards-block,
.intro-cards-line {
    display: flex;
    gap: 16px;
}

.intro-cards-block:not(:last-child),
.intro-cards-line:not(:last-child) {
    margin-bottom: 16px;
}

.intro-cards-block {
    flex-direction: column;
}

/* Catalog card */

.catalog-card {
    width: 230px;
    border-radius: 4px;
    background: #b51018;
    padding: 16px;
}

.catalog-card-title {
    font-size: 20px;
    font-weight: normal;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.catalog-card-standards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 8px;
    column-gap: 4px;
}

.catalog-card-standard {
    opacity: 0.75;
    transition: opacity 0.25s ease;
    margin-bottom: 8px;
}

.catalog-card-standard:hover {
    opacity: 1;
}

.catalog-card-all {
    text-align: right;
}

.catalog-card-link {
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
}

.catalog-card-link:hover {
    color: rgba(255, 255, 255, 1);
}

/* API card */

.api-card {
    display: flex;
    flex: 1;
    min-width: 0;
    border-radius: 4px;
    background: #1b1b1b;
    padding: 16px;
}

.api-card-header {
    margin-right: 24px;
    text-align: center;
}

.api-card-image {
    margin-bottom: 8px;
}

.api-card-title {
    font-size: 20px;
    font-weight: normal;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}

.api-card-content {
    flex: 1;
    min-width: 0;
}

.api-card-item {
    display: block;
    word-wrap: break-word;
    color: rgba(255, 255, 255, 0.75);
}

.api-card-item:hover {
    color: rgba(255, 255, 255, 1);
}

.api-card-item:not(:last-child) {
    margin-bottom: 8px;
}

/* ASME card */

.asme-card {
    display: flex;
    flex: 1;
    min-width: 0;
    border-radius: 4px;
    background: #ad6201;
    padding: 16px;
}

.asme-card-header {
    margin-right: 24px;
}

.asme-card-logo {
    opacity: 0.75;
    width: 80px;
    margin-bottom: 8px;
}

.asme-card-title {
    font-size: 20px;
    font-weight: normal;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}

.asme-card-content {
    flex: 1;
    min-width: 0;
}

.asme-card-item {
    display: block;
    word-wrap: break-word;
    color: rgba(255, 255, 255, 0.75);
}

.asme-card-item:hover {
    color: rgba(255, 255, 255, 1);
}

.asme-card-item:not(:last-child) {
    margin-bottom: 8px;
}

/* ASTM card */

.astm-card {
    width: 460px;
    padding: 16px;
    border-radius: 4px;
    background: #151a22 url(/images/standards-info/astm-image-39703eb27f8e88d0be2b916d791177c1.png) center top no-repeat;
    background-size: contain;
}

.astm-card-header {
    display: flex;
    align-items: center;
    padding-top: 80px;
    margin-bottom: 16px;
}

.astm-card-logo {
    opacity: 0.75;
    width: 48px;
    margin-right: 16px;
}

.astm-card-title {
    font-size: 20px;
    font-weight: normal;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}

.astm-card-item {
    display: block;
    word-wrap: break-word;
    color: rgba(255, 255, 255, 0.75);
}

.astm-card-item:hover {
    color: rgba(255, 255, 255, 1);
}

.astm-card-item:not(:last-child) {
    margin-bottom: 8px;
}

/* Products card */

.products-card {
    flex: 1;
    min-width: 0;
    border-radius: 4px;
    padding: 16px;
    background: #1b1b1b;
}

.products-card-title {
    font-size: 24px;
    font-weight: normal;
    line-height: 1.2;
    margin: 0 12px 16px 12px;
    color: rgba(255, 255, 255, 0.75);
}

.products-card-content:not(:last-child) {
    margin-bottom: 16px;
}

.products-card-all {
    text-align: right;
    margin-inline: 12px;
}

.products-card-link {
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
}

.products-card-link:hover {
    color: rgba(255, 255, 255, 1);
}

/* Centered form */

.centered-form {
    display: flex;
    justify-content: center;
}

/* Sidebar menu */

.sidebar-menu-block:not(:last-child) {
    margin-bottom: 16px;
}

.sidebar-menu-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 28px;
    padding: 0;
    margin: 0 0 8px;
    color: #575757;
}

.sidebar-menu-item:not(:last-child) {
    margin-bottom: 8px;
}

.sidebar-menu-link {
    display: block;
    width: fit-content;
    max-width: 100%;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.sidebar-menu-link--selected,
.sidebar-menu-link:hover {
    color: #be1622;
}

.sidebar-menu-link:not(:last-child) {
    margin-bottom: 8px;
}

.sidebar-sub-menu-item {
    margin-left: 16px;
}

.sidebar-sub-menu-item:not(:last-child) {
    margin-bottom: 8px;
}

.sidebar-sub-menu-link {
    display: block;
    width: fit-content;
    max-width: 100%;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.sidebar-sub-menu-link--selected,
.sidebar-sub-menu-link:hover {
    color: #be1622;
}

.sidebar-sub-menu-link:not(:last-child) {
    margin-bottom: 8px;
}

/* User menu */

.user-menu-block:not(:last-child) {
    margin-bottom: 16px;
}

.user-menu-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 28px;
    text-transform: uppercase;
    padding: 0;
    margin: 0 0 24px;
    color: #575757;
}

.user-menu-content {
    border-radius: 4px;
    padding: 0 8px;
    background: #ddd9d9;
}

.user-menu-link {
    display: block;
    font-size: 14px;
    text-decoration: none;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 22px;
    background: left center no-repeat;
    background-size: 14px 14px;
}

.user-menu-link--purchases {
    background-image: url(/images/user/purchases-78a1630b6faf79b0af8586b1c8f5707c.svg);
}

.user-menu-link--purchases.user-menu-link--selected,
.user-menu-link--purchases:hover {
    background-image: url(/images/user/purchases-active-6fca5216ed091179ee726f9ab6322f76.svg);
}

.user-menu-link--orders {
    background-image: url(/images/user/orders-c7c64c65cb0c4e8ebcbfab50ec1ced3a.svg);
}

.user-menu-link--orders.user-menu-link--selected,
.user-menu-link--orders:hover {
    background-image: url(/images/user/orders-active-1bcf0810f78fa974a7920a01d388abeb.svg);
}

.user-menu-link--subscriptions {
    background-image: url(/images/user/subscriptions-d38e30b2ac599b30cf7190791dca20e7.svg);
}

.user-menu-link--subscriptions.user-menu-link--selected,
.user-menu-link--subscriptions:hover {
    background-image: url(/images/user/subscriptions-active-6955dfcad204dabe62252ec7e5117567.svg);
}

.user-menu-link--profile {
    background-image: url(/images/user/profile-949e008f284dcde37ee1459129164c43.svg);
}

.user-menu-link--profile.user-menu-link--selected,
.user-menu-link--profile:hover {
    background-image: url(/images/user/profile-active-08a3b5513e4c5170d04476b22525ec92.svg);
}

.user-menu-link--selected,
.user-menu-link:hover {
    color: #be1622;
}

.user-menu-link:not(:last-child) {
    border-bottom: 1px dotted #b2b2b2;
}

/* Search */

.search-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 16px;
    line-height: 28px;
    color: #575757;
}

.search-title-message {
    font-weight: normal;
}

.search-title-count {
    font-weight: bold;
}

.search-count {
    margin-bottom: 16px;
}

.search-result {
    border-top: 1px solid #b2b2b2;
    border-bottom: 1px solid #b2b2b2;
}

.search-result:not(:last-child) {
    margin-bottom: 8px;
}

.search-empty-title {
    font-size: 20px;
    color: #575757;
    margin-bottom: 12px;
}

.search-empty-message a {
    color: #1d71b8;
}

.search-empty-message a:hover {
    color: #be1622;
}

/* Standards request */

.standards-request {
    padding: 16px;
    border: 1px solid #ddd9d9;
    border-radius: 4px;
    background: #fff;
}

.standards-request--dark {
    border-color: #666;
    background: #1e1e1e;
}

.standards-request-title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    margin: 0 0 16px;
    color: #575757;
}

.standards-request-title--dark {
    color: #c6c6c6;
}

/* Standards info */

.standards-info:not(:last-child) {
    margin-bottom: 24px;
}

.standards-info-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 24px;
}

.standards-info-block {
    display: flex;
    align-items: flex-start;
}

.standards-info-logo {
    margin-right: 24px;
}

.standards-info-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    padding: 0;
    margin: 0 0 8px;
    color: #575757;
}

/* Standards */

.standards-block-header {
    display: flex;
    align-items: baseline;
    gap: 32px;
}

.standards-block-title {
    flex: 1;
    min-width: 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    text-transform: uppercase;
    color: #575757;
    padding: 0;
    margin: 0 0 8px;
}

.standards-block-nds {
    border-radius: 2px;
    padding: 0 4px;
    background: #d4eef4;
}

.standards-block-all {
    color: #1d71b8;
}

.standards-block-all:hover {
    color: #be1622;
}

.standards-block-body {
    border-top: 1px solid #b2b2b2;
    border-bottom: 1px solid #b2b2b2;
}

.standards-block-body:not(:last-child) {
    margin-bottom: 24px;
}

/* Standard status */

.standard-status {
    position: relative;
    max-width: 160px;
    padding-left: 9px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.standard-status::before {
    content: '';
    position: absolute;
    top: calc(50% - 3px);
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2d2d2b;
}

.standard-status--ACTUAL:before {
    background: #3aaa35;
}

.standard-status--REPLACED:before {
    background: #f78508;
}

.standard-status--CANCELED:before {
    background: #e30613;
}

/* Product */

.product-info {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.product-info:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(to bottom, #c6c6c6, rgba(198, 198, 198, 0.25) 50%, rgba(0, 0, 0, 0));
}

.product-nds {
    margin-top: 4px;
    font-style: italic;
    text-align: right;
}

/* Product preview */

.product-preview {
    display: flex;
    color: #1d1d1d;
}

.product-preview--dark {
    color: #c6c6c6;
}

.product-preview:not(:last-child) {
    border-bottom: 1px solid #c6c6c6;
}

.product-preview--dark:not(:last-child) {
    border-bottom: 1px solid #666;
}

.product-preview:nth-child(odd) {
    background: #ededed;
}

.product-preview--dark:nth-child(odd) {
    background: #2d2d2b;
}

.product-preview-info {
    flex: 1;
    min-width: 0;
    padding: 12px;
}

.product-preview-header {
    display: flex;
    align-items: baseline;
    margin-bottom: 4px;
}

.product-preview-header > :not(:last-child) {
    margin-right: 16px;
}

.product-preview-designation {
    font-size: 16px;
    color: #1d71b8;
    text-decoration: none;
}

.product-preview--dark .product-preview-designation {
    color: #72b3e9;
}

.product-preview-designation:hover {
    color: #be1622;
}

.product-preview--dark .product-preview-designation:hover {
    color: #ee6d76;
}

.product-preview-designation > em {
    color: #a00d95;
}

.product-preview--dark .product-preview-designation > em {
    color: #f042e4;
}

.product-preview-change-date {
    font-size: 12px;
    font-style: italic;
    padding: 2px 4px;
    border-radius: 2px;
    color: #1d1d1d;
    outline: 1px solid #c6c6c6;
    background: #d6d6d6;
}

.product-preview--dark .product-preview-change-date {
    color: #e9e9e9;
    outline: none;
    background: #474747;
}

.product-preview-tag-new {
    margin-left: auto;
    padding: 2px 4px;
    border-radius: 2px;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: #007873;
}

.product-preview-name {
    color: #575757;
    word-wrap: break-word;
    line-height: 1.2;
}

.product-preview--dark .product-preview-name {
    color: #b2b2b2;
}

.product-preview-pages-count {
    color: #000;
}

.product-preview--dark .product-preview-pages-count {
    color: #fff;
}

.product-preview-catalog-variants {
    width: 220px;
    border-left: 1px dotted #b2b2b2;
}

.product-preview--dark .product-preview-catalog-variants {
    border-left: 1px dotted #666;
}

.product-preview-variants {
    width: 320px;
    border-left: 1px dotted #b2b2b2;
}

.product-preview--dark .product-preview-variants {
    border-left: 1px dotted #666;
}

/* Product main */

.product-main {
    display: flex;
    position: relative;
}

.product-main-info {
    flex: 1;
    min-width: 0;
    padding-right: 12px;
    padding-bottom: 8px;
}

.product-main-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    line-height: 16px;
}

.product-main-header > :not(:last-child) {
    margin-right: 16px;
}

.product-main-designation {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #575757;
}

.product-main-designation > em {
    color: #a00d95;
}

.product-main-tag-new {
    margin-left: auto;
    padding: 2px 4px;
    border-radius: 2px;
    font-size: 12px;
    line-height: initial;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: #007873;
}

.product-main-name {
    font-size: 16px;
    color: #575757;
    line-height: 1.2;
    word-wrap: break-word;
}

.product-main-pages-count {
    color: #000;
}

.product-main-catalog-variants {
    width: 220px;
    border-left: 1px dotted #b2b2b2;
}

.product-main-variants {
    width: 320px;
    border-left: 1px dotted #b2b2b2;
}

/* Product breadcrumbs */

.product-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1.2;
    margin-bottom: 16px;
}

.product-breadcrumbs-item {
    color: #1d71b8;
    text-decoration: none;
    margin-right: 16px;
    margin-bottom: 4px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.product-breadcrumbs-item:not(:last-child) {
    padding-right: 16px;
    background: url(/images/breadcrumb-arrow-6082fbe9deee8f7c95528ac515bebe90.svg) right center no-repeat;
}

.product-breadcrumbs-item:hover {
    color: #be1622;
}

/* Product tabs */

.product-tabs-header {
    display: flex;
    border-bottom: 1px solid #c6c6c6;
}

.product-tabs-tab {
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px 4px 0 0;
    padding: 8px 16px;
}

.product-tabs-tab:not(.product-tabs-tab--selected):hover {
    color: #be1622;
}

.product-tabs-tab--selected {
    background: #c6c6c6;
}

/* Product description */

.product-description {
    display: flex;
}

.product-description-main {
    flex: 1;
    min-width: 0;
    padding-top: 12px;
    padding-right: 24px;
}

.product-description-sidebar {
    width: 320px;
    border-left: 1px solid #c6c6c6;
}

.product-description-sidebar-block {
    padding-top: 12px;
    padding-left: 12px;
}

.product-description-sidebar-block:not(:last-child) {
    padding-bottom: 12px;
    border-bottom: 1px solid #c6c6c6;
}

.product-description-text {
    line-height: 1.6;
    word-wrap: break-word;
    overflow: auto;
}

.product-description-text:not(:last-child) {
    margin-bottom: 12px;
}

.product-description-text > :first-child {
    margin-top: 0;
}

.product-description-text > :last-child {
    margin-bottom: 0;
}

.product-description-attribute:not(:last-child) {
    margin-bottom: 16px;
}

.product-description-attribute-title {
    font-weight: bold;
    color: #1d71b8;
    margin-bottom: 8px;
}

.product-description-attribute-value {
    font-size: 16px;
    color: #666;
    word-wrap: break-word;
}

.product-description-attribute-value:not(:last-child) {
    margin-bottom: 8px;
}

.product-description-link:not(:last-child) {
    margin-bottom: 16px;
}

.product-description-link-title {
    font-weight: bold;
    color: #575757;
    margin-bottom: 8px;
}

.product-description-link-value {
    font-size: 16px;
    color: #1d71b8;
    word-wrap: break-word;
}

.product-description-link-value:hover {
    color: #be1622;
}

/* Product links */

.product-links {
    padding-top: 16px;
}

.product-links-title {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 14px;
    padding: 0 0 0 12px;
    margin: 0 0 8px;
    background: left center no-repeat;
}

.product-links-title--linked {
    background-image: url(/images/product-link-defe03c6d0e3868ca26a648508892f83.svg);
}

.product-links-title--referencing {
    background-image: url(/images/product-link-reversed-4162afa5407163bb15a8a183d0f4d605.svg);
}

.product-links-list {
    border-top: 1px solid #b2b2b2;
    border-bottom: 1px solid #b2b2b2;
}

.product-links-list:not(:last-child) {
    margin-bottom: 16px;
}

/* Product versions */

.product-versions {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 16px;
}

.product-versions-block {
    position: relative;
    min-width: 25%;
    max-width: 25%;
    min-height: 48px;
    padding-right: 40px;
}

.product-versions-block:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    right: 0;
    width: 40px;
    height: 8px;
    background: url(/images/product-versions-arrow-d3964763a34c62b65ae45cff728765ba.svg) center no-repeat;
}

.product-versions-item {
    padding: 8px;
    border: 1px solid #c6c6c6;
    border-bottom-width: 0;
}

.product-versions-item:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.product-versions-item:last-child {
    border-bottom-width: 1px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.product-versions-item--current {
    background: #f9f1e4;
}

.product-versions-item--ACTUAL {
    border-color: #3aaa35;
}

.product-versions-item--REPLACED {
    border-color: #f78508;
}

.product-versions-item--CANCELED {
    border-color: #e30613;
}

.product-versions-item-designation-text,
.product-versions-item-designation-link {
    display: block;
    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.product-versions-item-designation-link {
    color: #1d71b8;
}

.product-versions-item-designation-link:hover {
    color: #be1622;
}

/* Articles */

.article-content {
    line-height: 1.6;
    overflow: auto;
}

.article-content a {
    color: #1d71b8;
    text-decoration: none;
}

.article-content a:hover {
    color: #be1622;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #575757;
    font-weight: bold;
    font-style: normal;
    line-height: 1.2;
    margin-top: 1.25em;
    margin-bottom: 0.75em;
}

.article-content h1 {
    font-size: 24px;
}

.article-content h2 {
    font-size: 20px;
}

.article-content h3 {
    font-size: 16px;
}

.article-content h4 {
    font-size: 14px;
}

.article-content h5,
.article-content h6 {
    font-size: 12px;
}

.article-content > :first-child {
    margin-top: 0;
}

.article-content > :last-child {
    margin-bottom: 0;
}

/* ReCaptcha */

.grecaptcha-badge {
    visibility: hidden;
}

/* Fonts */

@font-face {
    font-family: 'Fira Sans';
    src: url(/fonts/FiraSans-Regular-dabf28d748172699883d815096f63333.woff);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Fira Sans';
    src: url(/fonts/FiraSans-Bold-faf02ff63fc874f6161eafe99c698603.woff);
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Fira Sans';
    src: url(/fonts/FiraSans-Italic-4d0e5c6d01a75781cb5b80179c2b2ea2.woff);
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Fira Sans';
    src: url(/fonts/FiraSans-BoldItalic-4af5ca354f2129bcd9cdd57051147191.woff);
    font-weight: bold;
    font-style: italic;
}

/* Collapsible developer sidebar: always expanded on desktop, accordion on mobile */
.sidebar-menu-toggle,
.sidebar-menu-summary {
    display: none;
}

/* Responsive — narrow screens; desktop (>1140px) is unchanged */
@media (max-width: 1140px) {
    .header-main-content,
    .header-menu-content,
    .header-search-form-content,
    .footer-content,
    .body-content {
        padding-inline: 16px;
    }
}

@media (max-width: 768px) {
    .header-main-content {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 6px 16px;
    }

    .header-main-title {
        display: none;
    }

    .header-main-phones {
        margin-left: 0;
        margin-right: 0;
    }

    .header-main-email:not(:last-child) {
        margin-right: 0;
    }

    .header-menu-content {
        flex-wrap: wrap;
        gap: 6px 16px;
    }

    .header-menu-item {
        margin-right: 0;
    }

    .header-menu-accent-item {
        margin-left: 0;
    }

    .body-content {
        flex-direction: column;
    }

    .body-content-sidebar,
    .body-content-additions-sidebar {
        min-width: 0;
        max-width: none;
    }

    .intro-cards-line {
        flex-direction: column;
    }

    .product-preview {
        flex-direction: column;
        gap: 12px;
    }

    .product-preview-header {
        flex-wrap: wrap;
    }

    .product-preview-catalog-variants,
    .product-preview-variants,
    .product-preview--dark .product-preview-catalog-variants,
    .product-preview--dark .product-preview-variants {
        width: 100%;
        border-left: none;
    }

    .product-main {
        flex-direction: column;
    }

    .product-main-info {
        padding-right: 0;
    }

    .product-main-header {
        flex-wrap: wrap;
        gap: 4px 16px;
    }

    .product-main-header > :not(:last-child) {
        margin-right: 0;
    }

    .product-main-header .standard-status {
        flex-shrink: 0;
    }

    .product-main-designation {
        line-height: 1.2;
    }

    .product-main-catalog-variants,
    .product-main-variants {
        width: 100%;
        border-left: none;
        border-top: 1px dotted #b2b2b2;
        padding-top: 12px;
    }

    .product-description {
        flex-direction: column;
        gap: 16px;
    }

    .product-description-main {
        padding-right: 0;
    }

    .product-description-sidebar {
        width: auto;
        border-left: none;
    }

    .product-description-sidebar-block {
        padding-left: 0;
    }

    .product-versions {
        justify-content: safe center;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .product-versions::-webkit-scrollbar {
        display: none;
    }

    .product-versions-block {
        flex-shrink: 0;
        min-width: 0;
        max-width: none;
        padding-right: 20px;
    }

    .product-versions-block:last-child {
        padding-right: 0;
    }

    .product-versions-block:not(:last-child)::after {
        width: 20px;
        background-size: contain;
    }

    .product-versions-item {
        padding: 6px;
    }

    .product-versions-item-designation-text,
    .product-versions-item-designation-link {
        font-size: 14px;
    }

    .footer-content {
        justify-content: space-between;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-left,
    .footer-right {
        display: flex;
        flex-direction: column;
        row-gap: 4px;
    }

    .footer-right {
        align-items: flex-end;
        text-align: right;
    }

    .footer-copyright,
    .footer-phones,
    .footer-email {
        margin: 0;
    }

    .footer-content .footer-link {
        margin-right: 0;
    }

    .catalog-card,
    .astm-card {
        width: auto;
    }

    .sidebar-menu-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 10px 12px;
        font-weight: 600;
        cursor: pointer;
        border: 1px solid #c6c6c6;
        border-radius: 4px;
    }

    .sidebar-menu-summary::after {
        content: '▾';
    }

    .sidebar-menu-toggle:checked ~ .sidebar-menu-summary::after {
        content: '▴';
    }

    .sidebar-menu-block {
        display: none;
    }

    .sidebar-menu-toggle:checked ~ .sidebar-menu-block {
        display: block;
        margin-top: 12px;
    }

    .standards-info-block {
        flex-direction: column;
    }

    .standards-info-logo {
        margin-right: 0;
        margin-bottom: 16px;
    }
}
