/* Safe place for small cross-cutting fixes. */

.button:visited {
    color: #fff;
}

.product-panel--summary .button,
.product-panel--summary .button:visited {
    color: #fff !important;
}

.button--ghost:visited {
    color: var(--text);
}

.product-panel--summary .button--ghost,
.product-panel--summary .button--ghost:visited {
    color: var(--text) !important;
}

.company-home + .wrap.block {
    display: none;
}

/* Make all UI plates and cards use square corners site-wide. */
:root {
    --radius-xl: 0px;
    --radius-lg: 0px;
    --radius-md: 0px;
    --radius-sm: 0px;
    --product-card-title-size: 15px;
    --product-card-title-line: 1.36;
    --product-card-title-color: #111111;
    --product-card-title-weight: 400;
    --product-card-price-size: 19px;
    --product-card-note-size: 10.5px;
    --product-card-button-size: 12.5px;
    --product-detail-title-size: clamp(18px, 1.26vw, 26px);
    --product-detail-price-size: clamp(14px, 0.98vw, 19px);
    --product-detail-text-size: 14.5px;
    --product-detail-subtitle-size: 18px;
    --legacy-page-title-size: clamp(34px, 2.7vw, 50px);
    --legacy-nav-title-size: 14px;
    --legacy-inner-title-size: 20px;
    --legacy-inner-title-line: 1.28;
}

:where(
    .button,
    .meta-pill,
    .brand,
    .header-main,
    .page-hero,
    .page-hero__main,
    .page-hero__visual,
    .block,
    [class*="card"],
    [class*="chip"],
    [class*="pill"],
    [class*="badge"],
    [class*="panel"],
    [class*="tile"],
    [class*="catalog-"],
    [class*="hero-"],
    [class*="prabo-"],
    input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),
    select,
    textarea
) {
    border-radius: 0 !important;
}

.catalog-filter-range__track,
.catalog-filter-range::before {
    border-radius: 0 !important;
}

/* Trial brand wordmark treatment. Rollback: remove this block. */
@media (min-width: 921px) {
    .site-header--classic .header-main {
        display: grid;
        grid-template-columns: minmax(360px, 0.78fr) minmax(280px, 0.62fr);
        align-items: center;
        column-gap: clamp(30px, 4vw, 86px);
    }

    .site-header--classic .brand-block {
        display: grid;
        grid-template-columns: 380px minmax(560px, 1fr);
        align-items: center;
        gap: clamp(44px, 4.2vw, 94px);
        min-width: 0;
    }

    .site-header--classic .brand-copy {
        justify-self: center;
        align-items: center;
        text-align: center;
        min-width: 560px;
        transform: translateX(clamp(6px, 1vw, 22px));
    }

    .site-header--classic .brand-copy__title {
        position: relative;
        display: inline-block;
        color: #223142;
        font-size: clamp(38px, 2.65vw, 58px);
        font-weight: 800;
        line-height: 1;
        letter-spacing: 0;
        white-space: nowrap;
        text-shadow: 0 10px 20px rgba(34, 49, 66, 0.1);
    }

    .site-header--classic .brand-copy__title-accent {
        color: inherit;
        text-shadow: inherit;
    }
}

@media (min-width: 921px) and (max-width: 1700px) {
    .site-header--classic .header-main {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: clamp(20px, 2.6vw, 44px);
        padding-top: 16px;
        padding-bottom: 14px;
    }

    .site-header--classic .brand-block {
        grid-template-columns: minmax(250px, 380px) minmax(170px, 300px);
        gap: clamp(20px, 2.8vw, 42px);
        width: 100%;
        justify-content: start;
    }

    .site-header--classic .brand-copy {
        justify-self: start;
        min-width: 0;
        transform: none;
    }

    .site-header--classic .brand-copy__title {
        font-size: clamp(28px, 3vw, 42px);
        text-align: left;
    }

    .site-header--classic .header-contact-panel {
        width: auto;
        justify-content: flex-end;
    }

    .site-header--classic .phone-stack {
        display: grid;
        justify-content: end;
        gap: 12px;
    }
}

@media (max-width: 1320px) {
    .site-header--classic .brand-copy__title,
    .brand-copy__title {
        display: inline-flex;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 10.8ch;
        column-gap: 0.28em;
        row-gap: 0.06em;
        white-space: normal;
    }

    .site-header--classic .brand-copy__title > span,
    .brand-copy__title > span {
        white-space: nowrap;
    }
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

.prabo-nav__item--search {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 8px 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.prabo-nav-search {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    height: 42px;
    border: 1px solid rgba(255, 248, 238, 0.44);
    background: rgba(255, 250, 244, 0.98);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.prabo-nav-search input {
    width: 100%;
    min-width: 0;
    padding: 0 10px 0 12px;
    border: 0;
    background: transparent;
    color: var(--text);
    font: 700 13px/1.2 "Noto Sans", Arial, sans-serif;
    outline: none;
}

.prabo-nav-search input::placeholder {
    color: #8b6c55;
}

.prabo-nav-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    padding: 0;
    border: 0;
    border-left: 1px solid rgba(245, 122, 31, 0.22);
    background: #fff4eb;
    color: var(--accent-2);
    cursor: pointer;
}

.prabo-nav-search button:hover,
.prabo-nav-search button:focus-visible {
    background: #ffffff;
    outline: none;
}

.prabo-nav-search__icon {
    position: relative;
    display: block;
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 50% !important;
    box-sizing: border-box;
}

.prabo-nav-search__icon::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -4px;
    width: 8px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: left center;
}

.prabo-nav-dropdown--mega .prabo-nav-mega-card__media {
    background: #ffffff !important;
    box-shadow: none !important;
}

.prabo-nav-dropdown--mega .prabo-nav-mega-card__media img {
    background: #ffffff;
    filter: none;
}

@media (max-width: 1280px) {
    .prabo-nav__item--search {
        padding: 7px 8px;
    }

    .prabo-nav-search {
        height: 40px;
    }

    .prabo-nav-search input {
        padding-left: 10px;
        font-size: 12px;
    }

    .prabo-nav-search button {
        width: 38px;
        min-width: 38px;
    }
}

@media (max-width: 820px) {
    .prabo-nav__item--search {
        padding: 12px 16px;
        border-right: 0;
        border-left: 0;
    }

    .prabo-nav-search {
        height: 44px;
    }

    .prabo-nav-search input {
        font-size: 14px;
    }

}

.service-showcase__card,
.service-showcase__card--static,
.service-showcase__image,
.service-showcase__image img,
.partner-band__track,
.partner-band__item,
.partner-band__logo {
    border-radius: 0 !important;
}

.service-showcase__image,
.legacy-services-card__image {
    background: #ffffff !important;
}

.service-showcase__image img,
.legacy-services-card__image img {
    background: #ffffff !important;
    box-shadow: none !important;
}

.service-showcase__title,
.legacy-services-card__title {
    text-align: center;
}

.service-showcase__card:hover .service-showcase__title,
.service-showcase__card:focus-visible .service-showcase__title,
.legacy-services-card:hover .legacy-services-card__title,
.legacy-services-card:focus-within .legacy-services-card__title {
    color: var(--accent-strong);
}

/* Homepage service/company preview restyle. Rollback: remove this whole block. */
.service-showcase {
    gap: 22px;
}

.service-showcase--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

.service-showcase--two .service-showcase__card {
    min-height: 382px;
}

.service-showcase--two .service-showcase__image {
    flex-basis: 246px;
    min-height: 246px !important;
}

.service-showcase--two .service-showcase__image img {
    max-height: 196px;
}

.service-showcase__card,
.service-showcase__card--static {
    position: relative;
    min-height: 354px;
    overflow: hidden;
    gap: 0;
    padding: 0 !important;
    border: 1px solid rgba(34, 49, 66, 0.14) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 245, 0.98) 56%, rgba(255, 239, 224, 0.98) 100%) !important;
    box-shadow: 0 18px 42px rgba(34, 49, 66, 0.09);
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.service-showcase__card::before,
.service-showcase__card--static::before,
.company-home::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #f57a1f 0%, #ff9a32 100%);
}

.service-showcase__card::after,
.service-showcase__card--static::after,
.company-home::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, transparent 50%, rgba(245, 122, 31, 0.94) 50%);
}

.service-showcase__card:hover,
.service-showcase__card:focus-visible,
.service-showcase__card--static:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 122, 31, 0.34) !important;
    box-shadow: 0 24px 52px rgba(34, 49, 66, 0.14);
}

.service-showcase__image {
    flex: 0 0 224px;
    min-height: 224px !important;
    padding: 28px !important;
    border-bottom: 1px solid rgba(34, 49, 66, 0.1);
    background: #ffffff !important;
}

.service-showcase__image img {
    width: 100%;
    height: 100%;
    max-height: 176px;
    object-fit: contain;
    transition: transform 0.18s ease;
}

.service-showcase__card:hover .service-showcase__image img,
.service-showcase__card:focus-visible .service-showcase__image img,
.service-showcase__card--static:hover .service-showcase__image img {
    transform: scale(1.025);
}

.service-showcase__title {
    position: relative;
    display: flex;
    min-height: 126px;
    align-items: center;
    justify-content: center;
    padding: 36px 28px 32px;
    color: var(--text) !important;
    font-size: 24px;
    line-height: 1.16;
}

.service-showcase__title::before,
.company-home .section-head h2::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 50%;
    width: 44px;
    height: 2px;
    transform: translateX(-50%);
    background: var(--accent-2);
}

.service-showcase__card:hover .service-showcase__title,
.service-showcase__card:focus-visible .service-showcase__title,
.service-showcase__card--static:hover .service-showcase__title {
    color: var(--accent-strong) !important;
}

.company-home {
    overflow: hidden;
    padding: 38px 34px 36px;
    border: 1px solid rgba(34, 49, 66, 0.14) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 245, 0.98) 56%, rgba(255, 239, 224, 0.98) 100%) !important;
    box-shadow: 0 18px 42px rgba(34, 49, 66, 0.09);
}

.company-home .section-head {
    position: relative;
    margin-bottom: 22px;
}

.company-home .section-head h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.company-home .section-head h2::after {
    top: auto;
    bottom: 0;
    left: 0;
    transform: none;
}

.company-home__layout {
    display: grid;
    grid-template-columns: minmax(360px, 42%) minmax(0, 1fr);
    gap: 30px;
    align-items: stretch;
}

.company-home:not(.company-home--with-media) .company-home__layout {
    display: block;
}

.company-home__media {
    display: flex;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    align-items: center;
    justify-content: center;
    align-self: center;
    justify-self: stretch;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.company-home__media img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    min-height: 0;
    object-fit: contain;
    object-position: center;
    transition: transform 0.18s ease;
}

.company-home__media:hover img,
.company-home__media:focus-visible img {
    transform: scale(1.025);
}

.company-home__body {
    min-width: 0;
}

.company-home__copy {
    max-width: 1180px;
    color: #6b5746;
    font-size: 17px;
    line-height: 1.65;
}

.company-home__copy p {
    margin: 0;
}

.company-home__copy p + p {
    margin-top: 12px;
}

.company-home__link {
    margin-top: 22px;
}

.feature-strip__card {
    border: 1px solid rgba(34, 49, 66, 0.14) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 245, 0.98) 56%, rgba(255, 239, 224, 0.98) 100%) !important;
    box-shadow: 0 18px 42px rgba(34, 49, 66, 0.09);
}

.feature-strip__card::before {
    right: 0;
    left: 0;
    border-radius: 0;
    background: linear-gradient(90deg, #f57a1f 0%, #ff9a32 100%);
}

.feature-strip__card::after {
    right: 0;
    bottom: 0;
    top: auto;
    width: 36px;
    height: 36px;
    border-radius: 0;
    background: linear-gradient(135deg, transparent 50%, rgba(245, 122, 31, 0.94) 50%);
}

.feature-strip__card:hover,
.feature-strip__card:focus-within {
    border-color: rgba(245, 122, 31, 0.34) !important;
    box-shadow: 0 24px 52px rgba(34, 49, 66, 0.14);
}

.feature-strip__icon {
    position: relative;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 239, 222, 0.98) 100%),
        linear-gradient(180deg, rgba(255, 126, 28, 0.34) 0%, rgba(235, 83, 12, 0.22) 100%) !important;
    border-color: rgba(255, 112, 24, 0.46) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 10px 18px rgba(245, 122, 31, 0.14),
        0 0 0 6px rgba(255, 117, 31, 0.035);
}

.feature-strip__icon img {
    width: 32px;
    height: 32px;
    opacity: 1;
    filter:
        brightness(0) saturate(100%)
        invert(49%) sepia(97%) saturate(1900%)
        hue-rotate(351deg) brightness(101%) contrast(104%)
        drop-shadow(0 2px 3px rgba(198, 62, 5, 0.24));
    transform: scale(1.08);
}

.partner-band__track {
    display: block !important;
    position: relative;
    overflow: hidden;
    padding: 32px 28px 30px;
    border: 1px solid rgba(34, 49, 66, 0.14) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 245, 0.98) 56%, rgba(255, 239, 224, 0.98) 100%) !important;
    box-shadow: 0 18px 42px rgba(34, 49, 66, 0.09);
}

.partner-band__track::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #f57a1f 0%, #ff9a32 100%);
}

.partner-band__track::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, transparent 50%, rgba(245, 122, 31, 0.94) 50%);
}

.partner-band__item {
    position: relative;
    z-index: 1;
    flex: 0 0 calc((100% - (var(--partner-gap) * 4)) / 5);
    min-width: 0;
    scroll-snap-align: start;
}

.partner-band:not(.partner-band--scrollable) .partner-band__item {
    flex: 1 1 0;
}

.partner-band__scroller {
    --partner-gap: clamp(24px, 3.4vw, 68px);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: var(--partner-gap);
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.partner-band__scroller::-webkit-scrollbar {
    display: none;
}

.partner-band:not(.partner-band--scrollable) .partner-band__scroller {
    justify-content: space-between;
    overflow: visible;
}

.partner-band--scrollable .partner-band__track {
    padding-right: 28px;
    padding-left: 28px;
}

.partner-band--scrollable.partner-band--no-overflow .partner-band__track {
    padding-right: 28px;
    padding-left: 28px;
}

.partner-band--scrollable.partner-band--no-overflow .partner-band__scroller {
    justify-content: space-between;
    overflow: visible;
}

.partner-band__item--text {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    padding: 10px 12px;
}

.partner-band__name {
    color: var(--text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.22;
    text-align: center;
}

.partner-band__arrow {
    position: absolute;
    z-index: 4;
    top: 4px;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    width: 88px;
    height: auto;
    border: 0;
    background: transparent;
    color: #f36b16;
    cursor: pointer;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    opacity: 0;
    text-shadow: 0 2px 10px rgba(34, 49, 66, 0.18);
    transition: opacity 0.18s ease, color 0.18s ease;
}

.partner-band__arrow:hover,
.partner-band__arrow:focus-visible {
    opacity: 1;
    color: #ff7a1a;
}

.partner-band__arrow:disabled {
    cursor: default;
    opacity: 0;
    pointer-events: none;
}

.partner-band__arrow[hidden] {
    display: none;
}

.partner-band__arrow--prev {
    left: 0;
    justify-content: flex-start;
    padding-left: 18px;
    background: linear-gradient(90deg, rgba(255, 250, 245, 0.98) 0%, rgba(255, 250, 245, 0) 100%);
}

.partner-band__arrow--next {
    right: 0;
    justify-content: flex-end;
    padding-right: 18px;
    background: linear-gradient(270deg, rgba(255, 245, 236, 0.98) 0%, rgba(255, 245, 236, 0) 100%);
}

@media (max-width: 1100px) {
    .partner-band__item {
        flex-basis: calc((100% - (var(--partner-gap) * 3)) / 4);
    }
}

@media (max-width: 900px) {
    .partner-band__item {
        flex-basis: calc((100% - (var(--partner-gap) * 2)) / 3);
    }
}

@media (max-width: 760px) {
    .partner-band__item {
        flex-basis: calc((100% - var(--partner-gap)) / 2);
    }

    .partner-band__arrow {
        width: 58px;
        font-size: 36px;
    }

    .partner-band__arrow--prev {
        padding-left: 12px;
    }

    .partner-band__arrow--next {
        padding-right: 12px;
    }
}

@media (max-width: 920px) {
    .service-showcase--two {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .service-showcase__card,
    .service-showcase__card--static {
        min-height: auto;
    }

    .service-showcase__image {
        flex-basis: 210px;
        min-height: 210px !important;
        padding: 24px !important;
    }

    .service-showcase__title {
        min-height: 108px;
        padding: 34px 22px 28px;
        font-size: 21px;
    }

    .company-home {
        padding: 30px 24px 28px;
    }

    .company-home__layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .company-home__media {
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .feature-strip__card::after {
        width: 30px;
        height: 30px;
    }

    .partner-band__track {
        padding: 28px 22px 26px;
    }
}

.legacy-info-layout__content--article-list .item-views.list.image_left.news .image,
.legacy-info-layout__content--article-list .item-views.list.image_left.news .image a {
    background: #ffffff !important;
    box-shadow: none !important;
}

.legacy-services-grid .visual-admin-card-shell {
    align-content: start;
    align-items: start;
}

.legacy-services-grid .visual-admin-card-shell > .visual-admin-edit {
    align-self: start;
    width: 200px;
    min-height: 38px;
    height: 38px;
    margin: 8px 0 0;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1.1;
}

/* Keep action buttons slightly rounded even with the global square UI reset. */
:where(
    .button,
    .site-header__menu-toggle,
    .catalog-badge,
    .catalog-product-card__link,
    .product-card__link,
    .prabo-call-button
) {
    border-radius: 12px !important;
}

/* Shared product cards: richer plate styling for all multi-card product listings. */
.product-grid,
.catalog-products-grid {
    gap: 18px;
    overflow: visible;
    border: 0;
    background: transparent;
}

.product-card,
.catalog-product-card {
    isolation: isolate;
    grid-template-rows: 392px minmax(158px, auto);
    min-height: 550px;
    border: 1px solid rgba(34, 49, 66, 0.12);
    background:
        linear-gradient(180deg, #ffffff 0%, #ffffff 61%, #fff8ef 100%);
    box-shadow:
        0 16px 34px rgba(30, 34, 43, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.product-card::before,
.catalog-product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    z-index: 3;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-strong) 0%, var(--accent) 58%, var(--accent-2) 100%);
    box-shadow: 0 10px 20px rgba(245, 122, 31, 0.22);
}

.product-card::after,
.catalog-product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 42%, rgba(245, 122, 31, 0.12) 100%),
        linear-gradient(135deg, rgba(34, 49, 66, 0.04) 0%, rgba(245, 122, 31, 0.08) 100%);
    transition: opacity 0.18s ease;
}

.product-card > *,
.catalog-product-card > * {
    position: relative;
    z-index: 1;
}

.product-card:hover,
.product-card:focus-within,
.catalog-product-card:hover,
.catalog-product-card:focus-within {
    z-index: 2;
    transform: translateY(-2px);
    border-color: rgba(245, 122, 31, 0.42);
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf9 58%, #fff2e4 100%);
    box-shadow:
        inset 0 0 0 2px rgba(245, 122, 31, 0.18),
        0 22px 42px rgba(30, 34, 43, 0.14);
}

.product-card:hover::after,
.product-card:focus-within::after,
.catalog-product-card:hover::after,
.catalog-product-card:focus-within::after {
    opacity: 1;
}

.product-card__image,
.catalog-product-card__image {
    min-height: 392px;
    padding: 20px 28px 0;
    border-bottom: 1px solid rgba(34, 49, 66, 0.08);
    background: #ffffff;
    box-shadow: none;
}

.product-card__image img,
.catalog-product-card__image img {
    height: 372px;
    filter: none;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.product-card:hover .product-card__image img,
.product-card:focus-within .product-card__image img,
.catalog-product-card:hover .catalog-product-card__image img,
.catalog-product-card:focus-within .catalog-product-card__image img {
    transform: translateY(-3px);
    filter: none;
}

.product-card__body,
.catalog-product-card__body {
    padding: 14px 30px 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 239, 0.98) 100%);
}

.product-card h3,
.catalog-product-card h3 {
    max-width: 96%;
    margin: 0 auto;
    color: var(--product-card-title-color);
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: var(--product-card-title-size);
    font-weight: var(--product-card-title-weight);
    line-height: var(--product-card-title-line);
}

/* Keep company text pages on the same public font as the rest of the site. */
.legacy-info-layout--company-page,
.legacy-info-layout--company-page :where(
    .legacy-side-menu,
    .legacy-side-menu a,
    .legacy-side-note,
    .legacy-side-note *,
    .legacy-info-layout__content,
    .legacy-info-layout__content :where(p, a, span, div, li, ul, ol, td, th, table, h1, h2, h3, h4, h5, h6, strong, b, em, small)
) {
    font-family: "Noto Sans", Arial, sans-serif !important;
}

/* Unified typography for inner non-catalog sections. */
.legacy-page-top h1 {
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: var(--legacy-page-title-size);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: 0;
}

.legacy-info-layout .legacy-side-menu a,
.legacy-info-layout .legacy-side-menu__submenu a {
    font-family: "Noto Sans", Arial, sans-serif !important;
    font-size: var(--legacy-nav-title-size) !important;
    line-height: 1.25 !important;
}

.legacy-info-layout__content--legal {
    width: 100%;
    max-width: 1280px;
    font-size: 13.5px;
    text-align: justify;
    text-justify: inter-word;
    overflow-wrap: break-word;
}

.legacy-info-layout__content--legal :where(p, li) {
    text-align: justify;
    text-justify: inter-word;
}

.legacy-info-layout--company-page .legacy-company-copy,
.legacy-info-layout__content--company .legacy-company-copy {
    width: 100%;
    max-width: 1000px;
    font-size: 14.4px;
    line-height: 1.65;
    text-align: justify;
    text-justify: inter-word;
    overflow-wrap: break-word;
}

.legacy-info-layout--company-page .legacy-company-copy :where(p, li),
.legacy-info-layout__content--company .legacy-company-copy :where(p, li) {
    text-align: justify;
    text-justify: inter-word;
}

:where(
    .legacy-services-card__title,
    .legacy-services-card__title a,
    .legacy-info-layout__content .item-views.list.image_left.news .title,
    .legacy-info-layout__content .item-views.list.image_left.news .title a,
    .legacy-info-layout__content--service-detail .item-views.list.image_left.services .title,
    .legacy-info-layout__content--service-detail .item-views.list.image_left.services .title a,
    .legacy-info-layout__content--company .underline,
    .legacy-info-layout__content--company-partners .underline,
    .legacy-info-layout__content--company-partners .title,
    .legacy-info-layout__content--company-partners .title a,
    .legacy-company-vacancy-row__title,
    .legacy-company-certificate-detail__title,
    .legacy-info-layout__content--faq .underline,
    .legacy-info-layout__content--faq .accordion-head a,
    .legacy-contacts__info h4
) {
    font-family: "Noto Sans", Arial, sans-serif !important;
    font-size: var(--legacy-inner-title-size) !important;
    font-weight: 700 !important;
    line-height: var(--legacy-inner-title-line) !important;
    letter-spacing: 0;
}

.product-card__footer,
.catalog-product-card__footer {
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(245, 122, 31, 0.2);
}

.product-card__price-wrap,
.catalog-product-card__price-wrap {
    padding-left: 12px;
    border-left: 3px solid rgba(245, 122, 31, 0.72);
}

.product-card__price,
.catalog-product-card__price {
    color: #b90000;
    font-size: var(--product-card-price-size);
    letter-spacing: 0;
}

.product-card__note,
.catalog-product-card__note {
    color: #4e5967;
    font-size: var(--product-card-note-size);
}

.product-card__link,
.catalog-product-card__link {
    min-height: 40px;
    padding: 0 18px;
    font-size: var(--product-card-button-size);
    box-shadow:
        0 10px 22px rgba(245, 122, 31, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.product-panel--summary h1 {
    font-size: var(--product-detail-title-size);
    line-height: 1.16;
}

.product-summary-tools {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    min-width: 0;
}

.product-copy-row {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: -56px;
    margin-bottom: 14px;
}

.product-copy-button {
    max-width: min(100%, 230px);
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid rgba(245, 122, 31, 0.36);
    background: #fff8f1;
    color: var(--text);
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: 10.8px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(245, 122, 31, 0.1);
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.product-copy-button:hover,
.product-copy-button:focus-visible,
.product-copy-button.is-copied {
    border-color: rgba(245, 122, 31, 0.72);
    background: var(--accent);
    color: #fff;
    outline: none;
    box-shadow: 0 10px 20px rgba(245, 122, 31, 0.2);
}

.product-panel--summary .price--big {
    font-size: var(--product-detail-price-size);
    line-height: 1.12;
}

.product-panel--summary .richtext {
    font-size: var(--product-detail-text-size);
    line-height: 1.55;
    width: 100%;
    max-width: 830px;
    text-align: justify !important;
    text-justify: inter-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.product-panel--summary .richtext :where(p, li, div) {
    text-align: justify !important;
    text-justify: inter-word;
}

.product-panel--summary .richtext h1,
.product-panel--summary .richtext h2,
.product-panel--summary .richtext h3,
.product-panel--summary .richtext h4,
.product-panel--summary .richtext h5,
.product-panel--summary .richtext h6 {
    font-size: var(--product-detail-subtitle-size);
    line-height: 1.28;
    text-align: left !important;
}

.product-panel--media {
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.product-panel--media img {
    background: #ffffff !important;
    box-shadow: none !important;
    filter: none !important;
}

.product-gallery {
    display: grid;
    width: 100%;
    gap: 14px;
}

.product-gallery__main {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--product-media-height);
    min-height: 420px;
    background: #ffffff;
}

.product-gallery__main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-gallery__thumbs {
    display: flex;
    justify-content: center;
    gap: 12px;
    overflow-x: auto;
    padding: 6px 4px 2px;
    scrollbar-width: thin;
}

.product-gallery__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    padding: 4px;
    border: 1px solid rgba(34, 49, 66, 0.14);
    background: #ffffff;
    cursor: pointer;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:focus-visible {
    border-color: var(--accent);
    box-shadow: inset 0 0 0 2px rgba(245, 122, 31, 0.28);
    outline: none;
}

.product-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-panel--summary .detail-chip,
.product-panel--summary .badge,
.product-panel--summary .order-note {
    font-size: 14px;
}

.product-summary-heading,
.product-summary-content__main,
.product-panel--summary {
    gap: 14px;
}

@media (max-width: 920px) {
    .product-card,
    .catalog-product-card {
        grid-template-rows: 330px minmax(0, auto);
        min-height: auto;
    }

    .product-card__image,
    .catalog-product-card__image {
        min-height: 330px;
        padding: 22px 24px 0;
    }

    .product-card__image img,
    .catalog-product-card__image img {
        height: 306px;
    }
}

@media (max-width: 640px) {
    .product-card,
    .catalog-product-card {
        grid-template-rows: 288px minmax(0, auto);
    }

    .product-card__image,
    .catalog-product-card__image {
        min-height: 288px;
        padding: 18px 18px 0;
    }

    .product-card__image img,
    .catalog-product-card__image img {
        height: 270px;
    }

    .product-card__body,
    .catalog-product-card__body {
        padding: 14px 20px 22px;
    }

    .product-card h3,
    .catalog-product-card h3 {
        font-size: 14px;
    }

    .product-panel--summary h1 {
        font-size: 17px;
    }

    .product-summary-tools {
        flex-direction: column;
        align-items: stretch;
    }

    .product-copy-row {
        justify-content: flex-end;
        margin-top: 0;
        margin-bottom: 18px;
    }

    .product-copy-button {
        max-width: none;
        width: min(100%, 230px);
        font-size: 10.8px;
    }

    .product-panel--summary .richtext {
        font-size: 13.5px;
    }

    .product-gallery {
        gap: 12px;
    }

    .product-gallery__main {
        height: min(76vw, 420px);
        min-height: 280px;
    }

    .product-gallery__thumbs {
        justify-content: flex-start;
        gap: 10px;
        padding-bottom: 4px;
    }

    .product-gallery__thumb {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }

    .product-card__footer,
    .catalog-product-card__footer {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 14px;
        padding-top: 22px;
    }

    .product-card__link,
    .catalog-product-card__link {
        width: 100%;
    }
}

/* Desktop-only site width reduction. Remove this block to roll back quickly. */
@media (min-width: 921px) {
    :root {
        --desktop-site-width: min(calc(90vw - 18px), 1818px);
    }

    .wrap,
    .header-main,
    .prabo-header-shell {
        width: var(--desktop-site-width) !important;
    }
}

.hero--static-banner .hero-banner__panel {
    box-sizing: border-box;
    width: min(526px, 48vw);
    max-width: min(526px, 48vw);
    padding: 34px 28px 32px 52px;
}

.hero--static-banner .hero-banner__title {
    max-width: min(100%, 446px);
    font-size: clamp(44px, 3.35vw, 56px);
    line-height: 0.98;
    letter-spacing: 0;
    overflow-wrap: normal;
}

@media (max-width: 920px) {
    .hero--static-banner .hero-banner__panel {
        width: 100%;
        max-width: none;
    }

    .hero--static-banner .hero-banner__title {
        max-width: 560px;
        font-size: clamp(36px, 4.3vw, 54px);
    }
}

@media (max-width: 640px) {
    .hero--static-banner .hero-banner__panel {
        width: 100%;
        max-width: none;
        padding: 18px 18px 16px 26px;
    }

    .hero--static-banner .hero-banner__title {
        font-size: 34px;
        line-height: 1;
    }
}

@media (min-width: 1501px) {
    .hero--static-banner .hero-banner__image {
        transform: translateX(clamp(112px, calc(420px - 13vw), 192px));
    }

    .hero--static-banner .hero-banner__panel {
        width: 526px;
        max-width: 526px;
    }

    .hero--static-banner .hero-banner__panel::after {
        inset: -12px 0 -12px -18px;
    }

    .hero--static-banner .hero-banner__title {
        max-width: 446px;
        font-size: clamp(46px, 3.05vw, 56px);
        line-height: 0.98;
        letter-spacing: 0;
    }

    .hero--static-banner .hero-banner__lead {
        max-width: clamp(344px, 22vw, 392px);
        font-size: clamp(16px, 1.02vw, 18px);
    }
}

/* Company certificate cards. */
.legacy-info-layout__content--company-licenses .row.sid-4.items.legacy-company-certificate-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 22px;
    margin: 0;
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-grid > .col-md-4,
.legacy-info-layout__content--company-licenses .legacy-company-certificate-grid > .col-sm-6 {
    float: none;
    width: auto !important;
    max-width: none !important;
    margin: 0;
    padding: 0;
    flex: none !important;
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-card {
    position: relative;
    min-height: 222px !important;
    overflow: hidden;
    border: 1px solid rgba(34, 49, 66, 0.14) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 245, 0.98) 56%, rgba(255, 239, 224, 0.98) 100%) !important;
    box-shadow: 0 18px 42px rgba(34, 49, 66, 0.09);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #f57a1f 0%, #ff9a32 100%);
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, transparent 50%, rgba(245, 122, 31, 0.94) 50%);
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-card:hover,
.legacy-info-layout__content--company-licenses .legacy-company-certificate-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(245, 122, 31, 0.34) !important;
    box-shadow: 0 24px 52px rgba(34, 49, 66, 0.14);
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-card > .row {
    display: block !important;
    width: 100%;
    min-height: 222px;
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-card > .row > .col-md-12 {
    display: grid !important;
    width: 100%;
    min-height: 222px;
    grid-template-columns: 174px minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-card .image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-height: 222px !important;
    margin: 0;
    padding: 24px !important;
    flex: none !important;
    border-right: 1px solid rgba(34, 49, 66, 0.1);
    background: linear-gradient(180deg, #f5f8fa 0%, #ffffff 100%);
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-card .image img,
.legacy-info-layout__content--company-licenses .legacy-company-certificate-card__pdf-preview {
    display: block;
    width: auto;
    max-width: 126px !important;
    height: auto;
    max-height: 170px !important;
    border: 1px solid rgba(34, 49, 66, 0.16);
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(34, 49, 66, 0.16);
    object-fit: contain;
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-card__pdf-preview {
    position: relative;
    width: 126px;
    height: 170px;
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-card__pdf-preview::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 18px;
    right: 16px;
    left: 16px;
    height: 92px;
    border: 1px solid rgba(34, 49, 66, 0.14);
    background:
        linear-gradient(180deg, rgba(245, 122, 31, 0.2) 0 2px, transparent 2px 100%),
        repeating-linear-gradient(
            180deg,
            transparent 0,
            transparent 15px,
            rgba(34, 49, 66, 0.2) 15px,
            rgba(34, 49, 66, 0.2) 17px
        ),
        #ffffff;
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-card__pdf-frame {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    opacity: 0;
    pointer-events: none;
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-card__pdf-fallback {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: block;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: transparent;
    font-size: 0;
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-card__pdf-fallback::before {
    content: "";
    position: absolute;
    right: 27px;
    bottom: 38px;
    width: 32px;
    height: 32px;
    border: 3px solid rgba(245, 122, 31, 0.95);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(245, 122, 31, 0.2) 0 34%, transparent 36%),
        #ffffff;
    box-shadow: 0 0 0 4px rgba(245, 122, 31, 0.08);
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-card__pdf-fallback::after {
    content: "";
    position: absolute;
    right: 34px;
    bottom: 20px;
    width: 20px;
    height: 25px;
    background: linear-gradient(90deg, rgba(245, 122, 31, 0.95) 0 48%, #ff9a32 48% 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-card .text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 28px 32px !important;
    color: var(--text-soft);
    text-align: left !important;
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-card .text::before {
    content: "";
    display: block;
    width: 44px;
    height: 2px;
    margin-bottom: 14px;
    background: var(--accent-2);
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-card .title {
    display: block;
    margin: 0;
    color: var(--text) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

.legacy-info-layout__content--company-licenses .legacy-company-certificate-card .properties {
    display: block;
    max-width: 62ch;
    margin-top: 10px;
    color: #4f5964;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}

@media (max-width: 640px) {
    .legacy-info-layout__content--company-licenses .legacy-company-certificate-card > .row,
    .legacy-info-layout__content--company-licenses .legacy-company-certificate-card > .row > .col-md-12 {
        min-height: 184px;
    }

    .legacy-info-layout__content--company-licenses .legacy-company-certificate-card > .row > .col-md-12 {
        grid-template-columns: 136px minmax(0, 1fr);
    }

    .legacy-info-layout__content--company-licenses .legacy-company-certificate-card .image {
        min-height: 184px !important;
        padding: 18px !important;
    }

    .legacy-info-layout__content--company-licenses .legacy-company-certificate-card .image img,
    .legacy-info-layout__content--company-licenses .legacy-company-certificate-card__pdf-preview {
        max-width: 96px !important;
        max-height: 130px !important;
    }

    .legacy-info-layout__content--company-licenses .legacy-company-certificate-card__pdf-preview {
        width: 96px;
        height: 130px;
    }

    .legacy-info-layout__content--company-licenses .legacy-company-certificate-card__pdf-preview::before {
        top: 14px;
        right: 12px;
        left: 12px;
        height: 72px;
    }

    .legacy-info-layout__content--company-licenses .legacy-company-certificate-card__pdf-fallback::before {
        right: 20px;
        bottom: 30px;
        width: 25px;
        height: 25px;
        border-width: 2px;
    }

    .legacy-info-layout__content--company-licenses .legacy-company-certificate-card__pdf-fallback::after {
        right: 25px;
        bottom: 16px;
        width: 17px;
        height: 20px;
    }

    .legacy-info-layout__content--company-licenses .legacy-company-certificate-card .text {
        padding: 22px 20px !important;
    }

    .legacy-info-layout__content--company-licenses .legacy-company-certificate-card .title {
        font-size: 18px !important;
    }
}

@media (max-width: 460px) {
    .legacy-info-layout__content--company-licenses .legacy-company-certificate-card > .row > .col-md-12 {
        grid-template-columns: 1fr;
    }

    .legacy-info-layout__content--company-licenses .legacy-company-certificate-card .image {
        min-height: 174px !important;
        border-right: 0;
        border-bottom: 1px solid rgba(34, 49, 66, 0.1);
    }
}

/* Company partner cards: certificate-style visuals, square grid retained. */
.legacy-info-layout__content--company-partners:not(.legacy-info-layout__content--company-licenses) .legacy-company-partner-card {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(34, 49, 66, 0.14) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 245, 0.98) 56%, rgba(255, 239, 224, 0.98) 100%) !important;
    box-shadow: 0 18px 42px rgba(34, 49, 66, 0.09);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.legacy-info-layout__content--company-partners:not(.legacy-info-layout__content--company-licenses) .legacy-company-partner-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #f57a1f 0%, #ff9a32 100%);
}

.legacy-info-layout__content--company-partners:not(.legacy-info-layout__content--company-licenses) .legacy-company-partner-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, transparent 50%, rgba(245, 122, 31, 0.94) 50%);
}

.legacy-info-layout__content--company-partners:not(.legacy-info-layout__content--company-licenses) .legacy-company-partner-card:hover,
.legacy-info-layout__content--company-partners:not(.legacy-info-layout__content--company-licenses) .legacy-company-partner-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(245, 122, 31, 0.34) !important;
    box-shadow: 0 24px 52px rgba(34, 49, 66, 0.14);
}

.legacy-info-layout__content--company-partners:not(.legacy-info-layout__content--company-licenses) .legacy-company-partner-card > .row,
.legacy-info-layout__content--company-partners:not(.legacy-info-layout__content--company-licenses) .legacy-company-partner-card > .row > .col-md-12 {
    display: flex !important;
    width: 100%;
    height: 100%;
    min-height: 0;
    flex-direction: column;
}

.legacy-info-layout__content--company-partners:not(.legacy-info-layout__content--company-licenses) .legacy-company-partner-card .image {
    display: flex;
    min-height: 0 !important;
    margin: 0;
    padding: 28px 28px 18px !important;
    flex: 0 0 48%;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(34, 49, 66, 0.1);
    background: linear-gradient(180deg, #f5f8fa 0%, #ffffff 100%);
}

.legacy-info-layout__content--company-partners:not(.legacy-info-layout__content--company-licenses) .legacy-company-partner-card .image img {
    display: block;
    max-width: 88% !important;
    max-height: 104px !important;
    width: auto;
    height: auto;
    object-fit: contain;
}

.legacy-info-layout__content--company-partners:not(.legacy-info-layout__content--company-licenses) .legacy-company-partner-card .text {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    padding: 22px 26px 28px !important;
    color: var(--text-soft);
    text-align: left !important;
}

.legacy-info-layout__content--company-partners:not(.legacy-info-layout__content--company-licenses) .legacy-company-partner-card .text::before {
    content: "";
    display: block;
    width: 44px;
    height: 2px;
    margin-bottom: 12px;
    background: var(--accent-2);
}

.legacy-info-layout__content--company-partners:not(.legacy-info-layout__content--company-licenses) .legacy-company-partner-card .title {
    display: block;
    margin: 0;
    color: var(--text) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: left !important;
}

.legacy-info-layout__content--company-partners:not(.legacy-info-layout__content--company-licenses) .legacy-company-partner-card .properties {
    display: -webkit-box;
    max-width: 100%;
    margin-top: 9px;
    overflow: hidden;
    color: #4f5964;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

@media (max-width: 760px) {
    .legacy-info-layout__content--company-partners:not(.legacy-info-layout__content--company-licenses) .legacy-company-partner-card .image {
        padding: 22px 22px 14px !important;
    }

    .legacy-info-layout__content--company-partners:not(.legacy-info-layout__content--company-licenses) .legacy-company-partner-card .text {
        padding: 18px 20px 24px !important;
    }

    .legacy-info-layout__content--company-partners:not(.legacy-info-layout__content--company-licenses) .legacy-company-partner-card .title {
        font-size: 16px !important;
    }
}

/* Company vacancy cards. */
.legacy-info-layout__content--company .legacy-company-vacancy-list {
    display: grid;
    gap: 22px;
}

.legacy-info-layout__content--company .legacy-company-vacancy-row {
    position: relative;
    display: grid;
    min-height: 260px;
    grid-template-columns: 260px minmax(0, 1fr);
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid rgba(34, 49, 66, 0.14) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 245, 0.98) 56%, rgba(255, 239, 224, 0.98) 100%) !important;
    box-shadow: 0 18px 42px rgba(34, 49, 66, 0.09);
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.legacy-info-layout__content--company .legacy-company-vacancy-row::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #f57a1f 0%, #ff9a32 100%);
}

.legacy-info-layout__content--company .legacy-company-vacancy-row::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, transparent 50%, rgba(245, 122, 31, 0.94) 50%);
}

.legacy-info-layout__content--company .legacy-company-vacancy-row:hover,
.legacy-info-layout__content--company .legacy-company-vacancy-row:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(245, 122, 31, 0.34) !important;
    box-shadow: 0 24px 52px rgba(34, 49, 66, 0.14);
    color: var(--text);
    text-decoration: none;
}

.legacy-info-layout__content--company .legacy-company-vacancy-row__media {
    display: flex;
    min-height: 260px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-right: 1px solid rgba(34, 49, 66, 0.1);
    background: linear-gradient(180deg, #f5f8fa 0%, #ffffff 100%);
}

.legacy-info-layout__content--company .legacy-company-vacancy-row__media img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 235px;
    object-fit: contain;
}

.legacy-info-layout__content--company .legacy-company-vacancy-row__icon {
    position: relative;
    display: block;
    width: 96px;
    height: 82px;
    border: 3px solid rgba(245, 122, 31, 0.92);
    background:
        linear-gradient(180deg, rgba(245, 122, 31, 0.12) 0%, rgba(255, 255, 255, 0.95) 100%);
    box-shadow: 0 14px 28px rgba(34, 49, 66, 0.12);
}

.legacy-info-layout__content--company .legacy-company-vacancy-row__icon::before {
    content: "";
    position: absolute;
    top: -24px;
    left: 50%;
    width: 42px;
    height: 24px;
    transform: translateX(-50%);
    border: 3px solid rgba(245, 122, 31, 0.92);
    border-bottom: 0;
}

.legacy-info-layout__content--company .legacy-company-vacancy-row__icon::after {
    content: "";
    position: absolute;
    top: 35px;
    right: 0;
    left: 0;
    height: 3px;
    background: rgba(245, 122, 31, 0.92);
    box-shadow: 0 16px 0 rgba(245, 122, 31, 0.16);
}

.legacy-info-layout__content--company .legacy-company-vacancy-row__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 30px 34px 32px !important;
    text-align: left;
}

.legacy-info-layout__content--company .legacy-company-vacancy-row__title {
    display: block;
    margin: 0;
    color: var(--text) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

.legacy-info-layout__content--company .legacy-company-vacancy-row__title::after {
    content: "";
    display: block;
    width: 44px;
    height: 2px;
    margin: 14px 0 0;
    background: var(--accent-2);
}

.legacy-info-layout__content--company .legacy-company-vacancy-row__preview {
    display: block;
    max-width: 72ch;
    margin-top: 12px;
    color: #4f5964;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}

@media (max-width: 640px) {
    .legacy-info-layout__content--company .legacy-company-vacancy-row {
        min-height: 210px;
        grid-template-columns: 170px minmax(0, 1fr);
    }

    .legacy-info-layout__content--company .legacy-company-vacancy-row__media {
        min-height: 210px;
        padding: 16px;
    }

    .legacy-info-layout__content--company .legacy-company-vacancy-row__media img {
        max-height: 178px;
    }

    .legacy-info-layout__content--company .legacy-company-vacancy-row__icon {
        width: 76px;
        height: 64px;
        border-width: 2px;
    }

    .legacy-info-layout__content--company .legacy-company-vacancy-row__icon::before {
        top: -18px;
        width: 34px;
        height: 18px;
        border-width: 2px;
    }

    .legacy-info-layout__content--company .legacy-company-vacancy-row__icon::after {
        top: 28px;
        height: 2px;
    }

    .legacy-info-layout__content--company .legacy-company-vacancy-row__body {
        padding: 22px 20px 24px !important;
    }

    .legacy-info-layout__content--company .legacy-company-vacancy-row__title {
        font-size: 18px !important;
    }
}

@media (max-width: 460px) {
    .legacy-info-layout__content--company .legacy-company-vacancy-row {
        grid-template-columns: 1fr;
    }

    .legacy-info-layout__content--company .legacy-company-vacancy-row__media {
        min-height: 174px;
        border-right: 0;
        border-bottom: 1px solid rgba(34, 49, 66, 0.1);
    }
}

.site-search-page {
    padding-top: 56px;
}

.site-search-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 24px;
    align-items: end;
    margin-bottom: 28px;
}

.site-search-head h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1;
}

.site-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 116px;
    border: 1px solid rgba(245, 122, 31, 0.36);
    background: #fff;
    box-shadow: 0 18px 36px rgba(34, 49, 66, 0.08);
}

.site-search-form input {
    min-width: 0;
    height: 52px;
    border: 0;
    padding: 0 18px;
    color: var(--text);
    font: inherit;
    outline: none;
}

.site-search-form button {
    height: 52px;
    border: 0;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.site-search-form button:hover,
.site-search-form button:focus-visible {
    background: #f15d13;
}

.site-search-summary {
    margin: 0 0 16px;
    color: #5f6872;
    font-weight: 700;
}

.site-search-results {
    display: grid;
    gap: 18px;
}

.site-search-card {
    position: relative;
    display: grid;
    min-height: 172px;
    grid-template-columns: 176px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(34, 49, 66, 0.12);
    border-top: 4px solid var(--accent);
    background:
        linear-gradient(90deg, rgba(244, 249, 252, 0.92) 0, rgba(244, 249, 252, 0.92) 176px, rgba(255, 246, 238, 0.72) 176px, rgba(255, 255, 255, 0.96) 100%);
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(34, 49, 66, 0.08);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.site-search-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 38px 38px;
    border-color: transparent transparent var(--accent) transparent;
}

.site-search-card:hover,
.site-search-card:focus-visible {
    border-color: rgba(245, 122, 31, 0.62);
    box-shadow: 0 24px 52px rgba(34, 49, 66, 0.14);
    transform: translateY(-2px);
}

.site-search-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 168px;
    padding: 18px;
    border-right: 1px solid rgba(34, 49, 66, 0.1);
}

.site-search-card__media img {
    display: block;
    max-width: 100%;
    max-height: 132px;
    object-fit: contain;
}

.site-search-card__certificate-icon {
    position: relative;
    display: block;
    width: 76px;
    height: 104px;
    border: 1px solid rgba(34, 49, 66, 0.18);
    background: #fff;
    box-shadow: 0 14px 26px rgba(34, 49, 66, 0.12);
}

.site-search-card__certificate-icon::before {
    content: "";
    position: absolute;
    top: 18px;
    right: 12px;
    left: 12px;
    height: 1px;
    background: rgba(34, 49, 66, 0.18);
    box-shadow:
        0 10px 0 rgba(34, 49, 66, 0.18),
        0 20px 0 rgba(34, 49, 66, 0.18),
        0 30px 0 rgba(34, 49, 66, 0.18),
        0 40px 0 rgba(34, 49, 66, 0.18);
}

.site-search-card__certificate-icon::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 18px;
    width: 22px;
    height: 22px;
    border: 4px solid rgba(245, 122, 31, 0.86);
    border-radius: 50%;
    background: rgba(245, 122, 31, 0.16);
}

.site-search-card__certificate-icon span {
    position: absolute;
    right: 19px;
    bottom: -4px;
    width: 12px;
    height: 28px;
    background: var(--accent);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}

.site-search-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 26px 38px 28px;
}

.site-search-card__type {
    display: block;
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.site-search-card__type::after {
    content: "";
    display: block;
    width: 44px;
    height: 2px;
    margin-top: 12px;
    background: var(--accent);
}

.site-search-card__title {
    display: block;
    color: var(--text);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
}

.site-search-card__summary {
    display: block;
    max-width: 78ch;
    margin-top: 10px;
    color: #4f5964;
    font-size: 15px;
    line-height: 1.55;
}

.site-search-card__price {
    display: block;
    margin-top: 14px;
    color: #c50000;
    font-size: 20px;
    font-weight: 800;
}

.site-search-card:not(.has-media) {
    grid-template-columns: 1fr;
    background: linear-gradient(90deg, rgba(255, 246, 238, 0.76), rgba(255, 255, 255, 0.96));
}

.site-search-empty {
    border: 1px solid rgba(34, 49, 66, 0.12);
    border-top: 4px solid var(--accent);
    padding: 34px;
    background: linear-gradient(90deg, rgba(255, 246, 238, 0.78), rgba(255, 255, 255, 0.96));
    box-shadow: 0 18px 40px rgba(34, 49, 66, 0.08);
}

.site-search-empty h2 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 26px;
}

.site-search-empty p {
    max-width: 66ch;
    margin: 0 0 18px;
    color: #4f5964;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .site-search-head {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .site-search-form {
        grid-template-columns: minmax(0, 1fr) 96px;
    }

    .site-search-card {
        grid-template-columns: 132px minmax(0, 1fr);
        background:
            linear-gradient(90deg, rgba(244, 249, 252, 0.92) 0, rgba(244, 249, 252, 0.92) 132px, rgba(255, 246, 238, 0.72) 132px, rgba(255, 255, 255, 0.96) 100%);
    }

    .site-search-card__media {
        min-height: 150px;
        padding: 14px;
    }

    .site-search-card__media img {
        max-height: 112px;
    }

    .site-search-card__body {
        padding: 22px 22px 24px;
    }

    .site-search-card__title {
        font-size: 19px;
    }
}

@media (max-width: 520px) {
    .site-search-form {
        grid-template-columns: 1fr;
    }

    .site-search-card,
    .site-search-card:not(.has-media) {
        grid-template-columns: 1fr;
        background: linear-gradient(90deg, rgba(255, 246, 238, 0.76), rgba(255, 255, 255, 0.96));
    }

    .site-search-card__media {
        min-height: 160px;
        border-right: 0;
        border-bottom: 1px solid rgba(34, 49, 66, 0.1);
    }
}

/* Trial: hide detail buttons in product listing cards. Rollback: remove this block. */
.catalog-product-card .catalog-product-card__link,
.product-card .product-card__link {
    display: none !important;
}

.catalog-product-card .catalog-product-card__footer,
.product-card .product-card__footer {
    grid-template-columns: minmax(0, 1fr);
}
