/**
 * Project CSS for the LNDC Cassiopeia child template.
 *
 * Rule of thumb: reach for Bootstrap utility classes in the markup first
 * (d-flex, gap-*, d-none/d-lg-block, col-*, btn + CSS variables, etc.).
 * Only what Bootstrap has no utility/variable for lands here.
 *
 * Bootstrap 5 breakpoints used throughout this file and in the markup
 * (`d-md-*`, `d-lg-*`, ... classes) — keep any new media query aligned
 * to these exact values:
 *   sm:  576px   md: 768px   lg: 992px   xl: 1200px   xxl: 1400px
 */

:root {
  --color-accent: #0063a4;
  --color-accent-rgb: 0, 99, 164;
  --color-link: var(--color-accent);
  --color-link-hover: #008bd2;
  --color-link-hover-rgb: 0, 139, 210;
  --link-color: var(--color-link);
  --link-color-rgb: var(--color-accent-rgb);
  --link-hover-color: var(--color-link-hover);
  --link-hover-color-rgb: var(--color-link-hover-rgb);
  --color-text: #333333;
  --color-text-rgb: 51, 51, 51;
  --color-muted: rgba(var(--color-text-rgb), .65);
  --color-surface: #f4f4f4;
  --color-bg: #ffffff;
  --color-footer-bg: #fbfbfb;
  --bs-module-padding: 30px 0px;
  --fs-xs: .75rem;
  --fs-sm: .875rem;

  --radius-sm: var(--border-radius-sm);

  --font-family-base: 'Exo 2', Arial, Helvetica, sans-serif;

  /* Link color = brand accent everywhere Bootstrap reads --bs-link-* */
  --bs-link-color: var(--color-link);
  --bs-link-color-rgb: var(--color-accent-rgb);
  --bs-link-hover-color: var(--color-link-hover);
  --bs-link-hover-color-rgb: var(--color-link-hover-rgb);
  --bs-link-focus-color: var(--color-link-hover);
  --bs-link-active-color: var(--color-link-hover);

}

/* Error page: ParmaLED layout adapted to LNDC. The markup uses Bootstrap for
   the responsive columns; these rules only define the LNDC visual treatment. */
.lndc-error-body {
  min-height: 100vh;
  background: var(--color-bg);
}

.lndc-error {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(247, 250, 252, .98));
  color: var(--color-text);
  isolation: isolate;
}

.lndc-error::before,
.lndc-error::after {
  position: absolute;
  z-index: -1;
  width: clamp(20rem, 45vw, 46rem);
  height: clamp(20rem, 45vw, 46rem);
  border: 1px solid rgba(var(--color-accent-rgb), .1);
  border-radius: 50%;
  content: "";
}

.lndc-error::before {
  top: -23rem;
  right: -12rem;
  box-shadow: 0 0 0 2rem rgba(var(--color-accent-rgb), .025), 0 0 0 4rem rgba(var(--color-accent-rgb), .018);
}

.lndc-error::after {
  bottom: -28rem;
  left: -16rem;
  box-shadow: 0 0 0 2rem rgba(var(--color-accent-rgb), .025), 0 0 0 4rem rgba(var(--color-accent-rgb), .018);
}

.lndc-error__logo {
  display: block;
  width: min(220px, 56vw);
  height: auto;
}

.lndc-error__eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--color-accent);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lndc-error__eyebrow span {
  width: 2.75rem;
  height: 3px;
  flex: 0 0 auto;
  background: var(--color-accent);
}

.lndc-error__title {
  margin: 1.25rem 0;
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .98;
}

.lndc-error__description {
  max-width: 37rem;
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.65;
}

.lndc-error__visual {
  position: relative;
  display: grid;
  min-height: clamp(18rem, 38vw, 34rem);
  place-items: center;
}

.lndc-error__rings {
  position: absolute;
  width: min(100%, 31rem);
  height: min(100%, 31rem);
  border: 1px solid rgba(var(--color-accent-rgb), .18);
  border-radius: 50%;
  box-shadow: 0 0 0 1.25rem rgba(var(--color-accent-rgb), .035), 0 0 0 3.25rem rgba(var(--color-accent-rgb), .02);
}

.lndc-error__code {
  position: relative;
  color: rgba(var(--color-text-rgb), .09);
  font-size: clamp(8rem, 19vw, 16rem);
  font-weight: 700;
  letter-spacing: -.11em;
  line-height: .75;
}

.lndc-error__marker {
  position: absolute;
  width: .75rem;
  height: .75rem;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 .45rem rgba(var(--color-accent-rgb), .12);
}

.lndc-error__marker--one {
  top: 22%;
  right: 16%;
}

.lndc-error__marker--two {
  bottom: 18%;
  left: 17%;
  width: .5rem;
  height: .5rem;
}

.lndc-error__debug {
  padding: 1rem;
  border: 1px solid rgba(var(--color-text-rgb), .16);
  color: var(--color-muted);
  font-size: .8rem;
}

.lndc-error__debug summary {
  cursor: pointer;
  color: var(--color-text);
  font-weight: 700;
}

body {
  overflow-x: hidden;
  font-family: var(--font-family-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

a:focus-visible,
a:active {
  --link-color-rgb: var(--link-hover-color-rgb);
}

.modpad {
  padding: var(--bs-module-padding);
}

.min-w-0 {
  min-width: 0;
}

/* One consistent edge padding for every .container on the page — Bootstrap's
   own default (.75rem via --bs-gutter-x halved) reads too tight on mobile. */
:root {
  --container-space: 1.5rem;
}

.container,
.container-fluid {
  padding-left: var(--container-space);
  padding-right: var(--container-space);
}

@media (width >=992px) {
  :root {
    --container-space: 2rem;
  }
}

/* Responsive type scale — mobile-first, one step per Bootstrap breakpoint */

h1,
.h1 {
  font-size: 1.625rem;
}

h2,
.h2 {
  font-size: 1.3125rem;
}

h3,
.h3 {
  font-size: 1.0625rem;
}

@media (width >=576px) {

  h1,
  .h1 {
    font-size: 1.875rem;
  }

  h2,
  .h2 {
    font-size: 1.4375rem;
  }

  h3,
  .h3 {
    font-size: 1.125rem;
  }
}

@media (width >=768px) {

  h1,
  .h1 {
    font-size: 2.25rem;
  }

  h2,
  .h2 {
    font-size: 1.625rem;
  }

  h3,
  .h3 {
    font-size: 1.25rem;
  }
}

@media (width >=992px) {

  h1,
  .h1 {
    font-size: 2.5rem;
  }

  h2,
  .h2 {
    font-size: 1.8125rem;
  }

  h3,
  .h3 {
    font-size: 1.375rem;
  }
}

@media (width >=1200px) {

  h1,
  .h1 {
    font-size: 2.75rem;
  }

  h2,
  .h2 {
    font-size: 2rem;
  }

  h3,
  .h3 {
    font-size: 1.5rem;
  }
}

@media (width >=1400px) {

  h1,
  .h1 {
    font-size: 3rem;
  }

  h2,
  .h2 {
    font-size: 2.1875rem;
  }

  h3,
  .h3 {
    font-size: 1.625rem;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-base);

}

/* Buttons */

.knopka {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  cursor: pointer;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  background-color: var(--color-accent);
  border: 1px solid var(--color-accent);
  transition: color .3s ease, background-color .3s ease, border-color .3s ease, transform .3s ease;
}

.knopka:hover,
.knopka:focus-visible {
  color: #fff;
  transform: scale(1.04);
}

.ripple-hover {
  position: relative;
  overflow: clip;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  transform: scale(0);
  animation: ripple-effect .8s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple-effect {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

/* SVG-mask chevron, not the border+rotate trick — the border box picked up
   Joomla's global "[class^=icon-]" font-icon reset (font-family/line-height/
   display), which distorted the rotated corner into a lopsided shape. */
.icon-chevron-down {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M4 8l8 8 8-8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M4 8l8 8 8-8'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}

/* Header */

.site-header__top {
  padding: 10px 0;
  background: var(--color-footer-bg);
}

.site-header__top-logo-image {
  height: 60px;
  width: auto;
}

.site-header__slogan {
  margin-left: 20px;
  max-width: 310px;
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 700;
}

.site-header__toplink {
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
  display: block;
  text-align: right;

}

.site-header__toplink:hover {
  color: var(--color-accent);
}

.site-header__contacts {
  flex-shrink: 0;
}

/* GTranslate widget — restyled as a plain text segmented control (no flags).
   .glink / .gt-current-lang are GTranslate's own classes, not ours. */
.gtranslate_wrapper {
  margin-left: 20px;
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--color-surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.gtranslate_wrapper .glink {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: .35rem .75rem;
  border-right: 1px solid var(--color-surface);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  text-decoration: none;
}

.gtranslate_wrapper .glink:last-of-type {
  border-right: 0;
}

.gtranslate_wrapper .glink img {
  margin-right: 3px;
}

.gtranslate_wrapper .glink:hover {
  color: var(--color-accent);
}

.gtranslate_wrapper .glink.gt-current-lang {
  background-color: var(--color-surface);
  color: var(--color-accent);
}

.site-header__languages-skeleton {
  display: flex;
  width: 100%;
  min-height: 28px;
}

.site-header__languages-skeleton>span {
  flex: 1 1 0;
  min-width: 0;
  background: linear-gradient(90deg, var(--color-surface) 25%, var(--color-bg) 50%, var(--color-surface) 75%) 0 0 / 200% 100%;
  animation: site-header-skeleton 1.4s ease-in-out infinite;
}

.site-header__languages-skeleton>span+span {
  border-left: 1px solid var(--color-surface);
}

.site-header__languages:has(.glink) .site-header__languages-skeleton {
  display: none;
}

.site-header__languages .glink {
  flex: 1 1 0;
  justify-content: center;
}

@keyframes site-header-skeleton {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -100% 0;
  }
}

.site-header__main {
  background-color: var(--color-bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  z-index: 1020;
}

.site-header__main .container {
  min-height: 80px;
}

@media (width <992px) {
  .site-header__main-slot {
    min-height: 80px;
  }

  .site-header__main.position-sticky {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
  }
}

.site-header__search {
  min-width: 0;
}

.site-header__search .mod-finder {
  width: 100%;
}

.site-header__search .mod-finder__search,
.search-page__search {
  position: relative;
}

.site-header__search .js-finder-search-query,
.search-page__search .js-finder-search-query {
  width: 100%;
  height: 42px;
  min-height: 0;
  padding: .375rem 3rem .375rem 1rem;
  border: 1px solid var(--color-surface);
  border-color: var(--color-surface);
  border-radius: var(--radius-sm);
  background-color: var(--color-bg);
  color: var(--color-text);
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.site-header__search .js-finder-search-query::placeholder,
.search-page__search .js-finder-search-query::placeholder {
  color: var(--color-muted);
}

.site-header__search .js-finder-search-query:focus,
.search-page__search .js-finder-search-query:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 .2rem rgba(var(--color-accent-rgb), .12);
}

.site-header__search .mod-finder__submit,
.search-page__search .mod-finder__submit {
  position: absolute;
  top: 50%;
  right: .35rem;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  color: var(--color-accent);
  text-decoration: none;
}

.site-header__search .mod-finder__submit-icon,
.search-page__search .mod-finder__submit-icon {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.site-header__search .mod-finder__submit:hover,
.site-header__search .mod-finder__submit:focus-visible,
.search-page__search .mod-finder__submit:hover,
.search-page__search .mod-finder__submit:focus-visible {
  color: var(--color-text);
}

.site-header__burger {
  flex-shrink: 0;
  border: 0;
  background: none;
  padding: 0;
  color: var(--color-text);
  transition: color .3s ease;
}

.site-header__burger:hover,
.site-header__burger:focus-visible {
  color: var(--color-accent);
}

.site-header__burger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.site-header__burger-icon span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: currentColor;
}

.site-header__burger-label {
  margin-top: .25rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.site-logo-image {
  height: 40px;
  width: auto;
}

@media (width >=992px) {
  .site-logo-image {
    height: 34px;
  }
}

/* Second-row logo — on desktop the top bar's own logo already covers it, so
   it only appears once the top bar scrolls out of view (.is-header-stuck,
   toggled in user.js). Below lg there's no top bar at all, so it always shows. */
@media (width >=992px) {

  .site-header__search {
    flex: 0 1 320px;
  }

  .site-header__languages {
    flex: 0 0 180px;
    min-height: 28px;
  }

  .site-header__main-slot {
    min-height: 80px;
  }

  .site-header__main.position-sticky {
    position: relative !important;
    top: auto;
  }

  body.is-header-stuck .site-header__main.position-sticky {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    animation: site-header-slide-down .35s ease both;
  }

  @keyframes site-header-slide-down {
    from {
      transform: translateY(-100%);
    }

    to {
      transform: translateY(0);
    }
  }

  /* Keep the logo in the flex layout while it is invisible. This reserves its
     width before the header sticks, so showing it cannot shift the menu. */
  .site-header__brand .brand-logo {
    display: inline-flex;
    visibility: hidden;
    opacity: 0;
    transition: opacity .22s ease, visibility 0s linear .22s;
  }

  body.is-header-stuck .site-header__brand .brand-logo {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }
}

/* LG: keep the menu and search on one line before the wider XL container starts. */
@media (width >=992px) and (width <1200px) {
  .site-header__search {
    flex: 0 0 200px !important;
    margin-left: 20px;
  }

  .site-header__search .js-finder-search-query {
    height: 38px;
    padding-right: 2.75rem;
    font-size: var(--fs-sm);
  }

  .site-header__search .mod-finder__submit {
    width: 30px;
    height: 30px;
  }

  .site-header__search .mod-finder__submit-icon {
    width: 20px;
    height: 20px;
  }

  .site-header__nav .mod-menu {
    gap: 1rem;
  }

  .site-header__nav .mod-menu>li>a,
  .site-header__nav .mod-menu>li>span {
    font-size: var(--fs-xs) !important;
  }

  .site-header__nav .mod-menu>li.parent>a::after {
    width: 8px;
    height: 8px;
    margin-left: 4px;
  }
}

/* Core mod_menu output carries Bootstrap's .nav (flex, no list markers/padding),
   but Cassiopeia's own core CSS also has a global ".mod-menu { flex-direction:
   column }" meant for sidebar menus — force it back to a horizontal row here. */
.site-header__nav .mod-menu {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  height: 100%;
  gap: 1.5rem;
}

.site-header__nav .mod-menu>li {
  position: relative;
}

/* Full-height link so hovering anywhere in the row opens the dropdown, and the
   dropdown itself (top: 100%, below) sits flush with the row's bottom edge
   instead of right under the text. */
.site-header__nav .mod-menu>li>a,
.site-header__nav .mod-menu>li>span {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: .5rem 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text);
}

.site-header__nav .mod-menu>li.active>a,
.site-header__nav .mod-menu>li:hover>a {
  color: var(--color-accent);
  text-decoration: none;
}

/* Dropdown arrow on items with a submenu ("parent" class from core mod_menu).
   A CSS ::after, not a JS-injected element — it has to exist from the very
   first paint or the nav's width changes right after load and visibly shifts. */
.site-header__nav .mod-menu>li.parent>a::after {
  content: '';
  display: inline-block;
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-left: 6px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M4 8l8 8 8-8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M4 8l8 8 8-8'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}

.site-header__nav .mod-menu__sub {
  display: none;
  width: 300px;
  position: absolute !important;
  top: 100%;
  left: 0;
  z-index: 1030;
  min-width: 300px;
  padding: 1.25rem 1.5rem 1.5rem !important;
  background-color: var(--color-bg);
  box-shadow: 0 3px 5px rgba(0, 0, 0, .2);
  border-top: 3px solid var(--color-accent);
}

.site-header__nav .parent:hover>.mod-menu__sub,
.site-header__nav .parent:focus-within>.mod-menu__sub {
  display: grid;
  gap: .2rem;
  animation: siteHeaderDropdownIn .4s ease-in;
}

@keyframes siteHeaderDropdownIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header__nav .mod-menu__sub a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .16rem .5rem;
  border-radius: .35rem;
  color: #4e5c6d;
  font-size: .9375rem;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
}

.site-header__nav .mod-menu__sub a:hover {
  background-color: #edf6ff;
  color: var(--color-accent);
  text-decoration: none;
}

/* Catalogue mega menu. The header deliberately stays quiet; only the product
   navigation expands into a broad, technical index of equipment groups. */
@media (width >=992px) {

  /* Do not let the narrow navigation slot become the containing block. The
     sticky header itself spans the viewport; the panel is then centred and
     sized to the same breakpoint widths as Bootstrap's .container. */
  .site-header__nav {
    position: static;
  }

  .site-header__nav .mod-menu>li.catalogue-menu {
    position: static;
  }

  .site-header__nav .catalogue-menu>.catalogue-mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 1030;
    width: calc(100% - 4rem);
    max-width: 960px;
    padding: 1.25rem 1.5rem 1.5rem;
    border: 1px solid #d7e7f6;
    border-top: 3px solid var(--color-accent);
    border-radius: 0 0 1rem 1rem;
    background: var(--color-bg);
    box-shadow: 0 18px 34px rgba(15, 52, 85, .12);
    transform: translateX(-50%);
  }

  .site-header__nav .catalogue-menu:hover>.catalogue-mega-menu,
  .site-header__nav .catalogue-menu:focus-within>.catalogue-mega-menu {
    display: block;
    animation: catalogueMegaMenuIn .18s ease-out;
  }

  @keyframes catalogueMegaMenuIn {
    from {
      opacity: 0;
      transform: translate(-50%, 10px);
    }

    to {
      opacity: 1;
      transform: translate(-50%, 0);
    }
  }

  .catalogue-mega-menu__columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1rem;
  }

  .catalogue-mega-menu__column {
    min-width: 0;
    padding: 0 1.5rem;
  }

  .catalogue-mega-menu__column:first-child {
    padding-left: 0;
  }

  .catalogue-mega-menu__column:last-child {
    padding-right: 0;
  }

  .catalogue-mega-menu__column+.catalogue-mega-menu__column {
    border-left: 1px solid #e3edf6;
  }

  .catalogue-mega-menu__header {
    display: flex;
    min-height: 3.5rem;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dfeaf4;
  }

  .catalogue-mega-menu__title {
    margin: 0;
    color: #1f2c3d;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .catalogue-mega-menu__intro {
    display: inline-block;
    margin: .35rem 0 0;
    padding-left: 1.25rem;
    border-left: 1px solid #d8e6f3;
    color: #7890a8;
    font-size: var(--fs-sm);
    line-height: 1.35;
  }

  .catalogue-mega-menu__all {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .55rem;
    padding-top: .05rem;
    color: var(--link-color);
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
  }

  .catalogue-mega-menu__all::after,
  .catalogue-mega-menu__category::after,
  .catalogue-mega-menu__links a::after {
    width: .38rem;
    height: .38rem;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    content: '';
    transform: rotate(45deg);
  }

  .catalogue-mega-menu__all::after {
    margin-left: .2rem;
  }

  .catalogue-mega-menu__all:hover,
  .catalogue-mega-menu__all:focus-visible {
    color: var(--color-link-hover);
  }

  .catalogue-mega-menu__group {
    padding: 1rem 0;
  }

  .catalogue-mega-menu__group+.catalogue-mega-menu__group {
    border-top: 1px solid #e2ecf5;
  }

  .catalogue-mega-menu__category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    color: var(--link-color);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    text-decoration: none;
  }

  .catalogue-mega-menu__category:hover,
  .catalogue-mega-menu__category:focus-visible,
  .catalogue-mega-menu__links a:hover,
  .catalogue-mega-menu__links a:focus-visible {
    color: var(--color-accent);
  }

  .catalogue-mega-menu__links {
    display: grid;
    gap: .2rem;
    margin: .6rem 0 0;
    padding: 0;
  }

  .catalogue-mega-menu__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .16rem .5rem;
    border-radius: .35rem;
    color: #4e5c6d;
    font-size: .9375rem;
    font-weight: 400;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color .16s ease, color .16s ease;
  }

  .catalogue-mega-menu__links a::after {
    flex: 0 0 auto;
    opacity: .62;
  }

  .catalogue-mega-menu__links a:hover,
  .catalogue-mega-menu__links a:focus-visible {
    background-color: #edf6ff;
    color: var(--color-accent);
  }
}

@media (width >=1200px) {
  .site-header__nav .catalogue-menu>.catalogue-mega-menu {
    max-width: 1140px;
  }
}

@media (width >=1400px) {
  .site-header__nav .catalogue-menu>.catalogue-mega-menu {
    max-width: 1320px;
  }
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--color-surface);
  background-color: var(--color-footer-bg);
}

.site-footer__inner {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.site-footer__column {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.site-footer__column:first-child {
  padding-left: 0;
}

.site-footer__column:last-child {
  padding-right: 0;
}

.site-footer__column+.site-footer__column {
  border-left: 1px solid var(--color-surface);
}

.site-footer__logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 80px;
}

.site-footer__social {
  margin-top: 1.5rem;
}

.site-footer__social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-bg);
  font-size: 1rem;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.site-footer__social a:hover,
.site-footer__social a:focus-visible {
  background-color: var(--color-text);
  color: var(--color-bg);
  transform: translateY(-2px);
}

.site-footer__copyright {
  margin: 1.5rem 0 0;
  color: var(--color-muted);
  line-height: 1.5;
}

.site-footer__policies {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-surface);
}

.site-footer__policies a,
.site-footer__links a {
  color: var(--color-accent);
  text-decoration: none;
}

.site-footer__policies a {
  display: block;
  padding: .45rem 0;
  line-height: 1.35;
}

.site-footer__heading {
  display: flex;
  margin: 0 0 1.5rem;
  align-items: center;
  gap: .75rem;
  color: var(--color-text);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer__heading::after {
  content: '';
  height: 2px;
  flex: 1 1 auto;
  background-color: var(--color-accent);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  display: flex;
  gap: .45rem;
  line-height: 1.35;
}

.site-footer__links a::before {
  content: '›';
  flex: 0 0 auto;
  color: var(--color-accent);
  font-size: 1.35em;
  line-height: .95;
}

.site-footer__links a:hover,
.site-footer__policies a:hover {
  color: var(--color-text);
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
}

.site-footer__contact {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.site-footer__contact-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--color-surface);
  color: var(--color-accent);
}

.site-footer__contact a,
.site-footer__contact-address {
  padding-top: .45rem;
  color: var(--color-text);
  line-height: 1.45;
  text-decoration: none;
}

.site-footer__contact a:hover {
  color: var(--color-accent);
}

.site-footer__certifications {
  display: flex;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  align-items: center;
  gap: .75rem;
  border-top: 1px solid var(--color-surface);
}

.site-footer__certifications img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

@media (width <992px) {
  .site-footer__inner {
    padding-top: 3rem;
  }

  .site-footer__column,
  .site-footer__column:first-child,
  .site-footer__column:last-child {
    padding-right: .75rem;
    padding-left: .75rem;
  }

  .site-footer__column:nth-child(odd) {
    padding-right: 1.5rem;
  }

  .site-footer__column:nth-child(even) {
    padding-left: 1.5rem;
  }

  .site-footer__column+.site-footer__column {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-surface);
    border-left: 0;
  }
}

.site-header__phone-call {
  position: relative;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: #fff;
}

.site-header__phone-call-icon {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.362 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.338 1.85.573 2.81.7A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.362 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.338 1.85.573 2.81.7A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Pulsing ring so the call button draws the eye on mobile */
.site-header__phone-call-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: var(--color-accent);
  animation: siteHeaderPhoneRing 1.8s ease-out infinite;
  pointer-events: none;
}

@keyframes siteHeaderPhoneRing {
  0% {
    transform: scale(1);
    opacity: .5;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Offcanvas mobile menu — width/spacing set via Bootstrap's own CSS variables */

.site-offcanvas {
  --bs-offcanvas-width: 340px;
  --bs-offcanvas-padding-x: 1.25rem;
  --bs-offcanvas-padding-y: 1.25rem;
  max-width: 100vw;
  transition: transform .3s ease-in-out;
  will-change: transform;
}

.site-offcanvas .offcanvas-header {
  border-bottom: 1px solid var(--color-surface);
}

.site-offcanvas .mod-menu>li,
.site-offcanvas .mod-menu__sub>li {
  position: relative;
}

.site-offcanvas .mod-menu>li {
  background-color: var(--color-surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.site-offcanvas .mod-menu>li>a,
.site-offcanvas .mod-menu>li>span {
  display: block;
  padding: .875rem 2.75rem .875rem 1rem;
  color: var(--color-text);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
}

.site-offcanvas .mod-menu>li.active>a,
.site-offcanvas .mod-menu>li>a:hover {
  color: var(--color-accent);
}

.site-offcanvas .mod-menu__toggle-sub {
  position: absolute;
  top: 0;
  right: 0;
  width: 2.75rem;
  height: 3rem;
  border: 0;
  background: none;
  color: var(--color-text);
}

.site-offcanvas .mod-menu__toggle-sub[aria-expanded="true"] .icon-chevron-down {
  transform: rotate(180deg);
}

/* The Joomla icon font also supplies a :before glyph for this class.  The
   mobile toggle uses the SVG mask above, so suppress the second glyph. */
.site-offcanvas .mod-menu__toggle-sub .icon-chevron-down::before {
  content: none !important;
}

.site-offcanvas .mod-menu__sub {
  margin: 0;
  padding: 0 .5rem .5rem 1rem;
  list-style: none;
  background-color: var(--color-surface);
}

.site-offcanvas .mod-menu__sub a {
  display: block;
  padding: .5rem;
  font-size: var(--fs-sm);
  color: var(--color-text);
  text-decoration: none;
}

.site-offcanvas .mod-menu__sub>li.parent>a {
  padding-right: 2.75rem;
}

.site-offcanvas .mod-menu__sub a:hover {
  color: var(--color-accent);
}

.site-offcanvas__contacts {
  padding: 1rem;
  background-color: var(--color-surface);
  border-radius: var(--radius-sm);
}

.site-offcanvas__contacts a {
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
}

.site-offcanvas__contacts a:hover {
  color: var(--color-accent);
}

/* Contact (callback) modal */

.contact-modal-wrap .modal-dialog {
  max-width: 28rem;
  margin: 1rem auto;
}

.contact-modal {
  position: relative;
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 1.75rem 5rem rgba(0, 0, 0, .22);
}

.contact-modal .modal-header {
  padding: 2rem 2rem 0;
  border-bottom: 0;
}

.contact-modal .modal-body {
  padding: 1rem 2rem 2rem;
}

.contact-modal .modal-title {
  margin: 0;
  color: var(--color-text);
  font-size: 1.375rem;
  font-weight: 700;
}

.contact-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background-color: var(--color-surface);
  color: var(--color-text);
  transition: transform .2s ease, background-color .2s ease;
}

.contact-modal__close:hover {
  background-color: var(--color-muted);
  transform: rotate(90deg);
}

.contact-modal__close::before,
.contact-modal__close::after {
  content: '';
  position: absolute;
  width: 55%;
  height: 2px;
  background-color: currentColor;
}

.contact-modal__close::before {
  transform: rotate(45deg);
}

.contact-modal__close::after {
  transform: rotate(-45deg);
}

.contact-form .form-control {
  min-height: 50px;
  border-radius: .5rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-surface);
}

.contact-form textarea.form-control {
  min-height: 112px;
  resize: vertical;
}

.contact-form .form-control:focus {
  border-color: var(--color-accent);
  background-color: var(--color-bg);
  box-shadow: 0 0 0 .2rem rgba(var(--color-accent-rgb), .15);
}

.contact-form__privacy {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  margin: 0 0 1rem;
  font-size: var(--fs-xs);
  line-height: 1.4;
  cursor: pointer;
}

.contact-form__privacy a {
  color: var(--color-text);
  text-decoration: underline;
}

.contact-form__consents-intro {
  margin: 1.25rem 0 1rem;
  color: var(--color-text);
  font-size: var(--fs-xs);
  line-height: 1.45;
}

.contact-form__consents-intro p,
.contact-form__consents-title {
  margin: 0 0 .5rem;
  font-weight: 600;
}

.contact-form__consents-intro ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.contact-form__consents-intro li {
  position: relative;
  padding-left: .9rem;
  margin: .2rem 0;
}

.contact-form__consents-intro li::before {
  content: '–';
  position: absolute;
  left: 0;
}

.contact-form__consents-intro a,
.contact-form__consent a {
  color: var(--color-accent);
  text-decoration: underline;
}

.contact-form__consents-title {
  margin-top: 1.25rem;
  font-size: var(--fs-xs);
  line-height: 1.45;
}

.contact-form__consents {
  margin-bottom: 1rem;
}

.contact-form__consent {
  margin-bottom: .75rem;
}

.contact-form .form-check-input {
  flex: 0 0 auto;
  float: none;
  margin-top: .125rem;
}

.contact-form .rf-button-send {
  width: 100%;
  min-height: 50px;
  border: 0;
}

/* Product gallery: main Swiper, thumbnail strip and WT Fancybox trigger. */

#RadicalMart .rm-product-gallery {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1rem;
  border: 1px solid #e6e6e6;
  border-radius: var(--radius-sm);
  background-color: #fbfbfb;
  box-shadow: 0 .75rem 2rem rgba(15, 38, 64, .06);
  overflow: hidden;
}

#RadicalMart .rm-product-gallery__main {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background-color: #fbfbfb;
}

#RadicalMart .rm-product-gallery__swiper-main {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

#RadicalMart .rm-product-gallery__swiper-main img {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}

#RadicalMart .rm-product-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background-color: var(--color-bg);
  color: var(--color-text);
  box-shadow: 0 .35rem 1rem rgba(15, 38, 64, .12);
  cursor: pointer;
  transition: color .2s ease, box-shadow .2s ease, transform .2s ease;
}

#RadicalMart .rm-product-gallery__nav:hover {
  color: var(--color-accent);
  box-shadow: 0 .5rem 1.25rem rgba(15, 38, 64, .18);
  transform: translateY(-50%) scale(1.04);
}

#RadicalMart .rm-product-gallery__nav--prev {
  left: .75rem;
}

#RadicalMart .rm-product-gallery__nav--next {
  right: .75rem;
}

#RadicalMart .rm-product-gallery__nav.swiper-button-disabled {
  opacity: .3;
  pointer-events: none;
}

#RadicalMart .rm-product-gallery__thumbs-row {
  display: flex;
  align-items: center;
  gap: .5rem;
}

#RadicalMart .rm-product-gallery__thumbs {
  flex: 1 1 auto;
  min-width: 0;
  height: 5.5rem;
  overflow: hidden;
}

#RadicalMart .rm-product-gallery__thumbs .swiper-wrapper {
  height: 100%;
}

#RadicalMart .rm-product-gallery__thumbs .swiper-slide {
  width: 5.5rem;
  height: 100%;
}

#RadicalMart .rm-product-gallery__thumb {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  cursor: pointer;
  opacity: .65;
  transition: opacity .2s ease, border-color .2s ease;
}

#RadicalMart .rm-product-gallery__thumb img {
  width: 100%;
  height: 100%;
  padding: .4rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}

#RadicalMart .rm-product-gallery__thumbs .swiper-slide.swiper-slide-thumb-active,
#RadicalMart .rm-product-gallery__thumbs .swiper-slide.swiper-slide-thumb-active .rm-product-gallery__thumb,
#RadicalMart .rm-product-gallery__thumbs .swiper-slide-thumb-active .rm-product-gallery__thumb {
  border-color: #0063a4 !important;
  opacity: 1;
}

#RadicalMart .rm-product-gallery__thumb-nav {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 5.5rem;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
}

#RadicalMart .rm-product-gallery__thumb-nav:hover {
  color: var(--color-accent);
}

#RadicalMart .rm-product-gallery__thumb-nav.swiper-button-disabled {
  opacity: .3;
  pointer-events: none;
}

/* Product detail hero: quiet two-column composition without a decorative page background. */

#RadicalMart .rm-product__hero {
  position: relative;
}

#RadicalMart .rm-product__details {
  padding-top: .25rem;
}

#RadicalMart .rm-product__title {
  color: var(--color-text);
  font-size: clamp(1.65rem, 2.1vw, 2.25rem);
  font-weight: 700;
  line-height: 1.08;
}

#RadicalMart .rm-product__category a {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-link);
  font-size: .8125rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.3;
  text-transform: uppercase;
  text-decoration: none;
}

#RadicalMart .rm-product__category a::before {
  width: 1.75rem;
  height: 2px;
  flex: 0 0 auto;
  background-color: var(--color-accent);
  content: '';
}

#RadicalMart .rm-product__category a:hover,
#RadicalMart .rm-product__category a:focus-visible {
  color: var(--color-link-hover);
}

#RadicalMart .rm-product__info>div:not(.categories) {
  color: var(--color-muted);
  font-size: 1.125rem;
  line-height: 1.55;
}

#RadicalMart .rm-product__manufacturer-logo {
  display: inline-flex;
  align-items: center;
  color: var(--color-link);
  text-decoration: none;
  transition: opacity .2s ease, transform .2s ease;
}

#RadicalMart .rm-product__manufacturer-logo img {
  display: block;
  width: auto;
  max-width: 12rem;
  height: auto;
  max-height: 2.5rem;
  object-fit: contain;
  margin-top: 15px;
}

.wtab img {
  max-height: 100px;
  width: auto;
  margin: 0 auto;
}

#RadicalMart .rm-product__manufacturer-logo:hover,
#RadicalMart .rm-product__manufacturer-logo:focus-visible {
  opacity: .75;
  transform: translateY(-1px);
}

#RadicalMart .rm-product__actions .knopka,
#RadicalMart .rm-product__actions .rm-product__documentation-button {
  min-height: 50px;
  padding-inline: 1.4rem;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
}

#RadicalMart .rm-product__actions .knopka,
#RadicalMart .rm-product__actions .btn {
  box-sizing: border-box;
}

#RadicalMart .rm-product__actions .rm-product__documentation-button {
  color: var(--color-accent);
  background-color: transparent;
  transition: color .3s ease, background-color .3s ease, border-color .3s ease, transform .3s ease;
}

#RadicalMart .rm-product__actions .rm-product__documentation-button:hover,
#RadicalMart .rm-product__actions .rm-product__documentation-button:focus-visible {
  color: #fff;
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.04);
}

#RadicalMart .rm-product__action-icon {
  flex: 0 0 auto;
}

/* Product tabs: lightweight navigation with the field content at full width. */

#RadicalMart joomla-tab {
  width: 100%;
}

#RadicalMart joomla-tab[view="tabs"]>div[role="tablist"] {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  border: 0 !important;
  border-bottom: 1px solid #dce9f4 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

#RadicalMart joomla-tab button[role="tab"] {
  flex: 0 0 auto;
  padding: .85rem 1.25rem .95rem;
  border: 0 !important;
  border-radius: 0;
  color: var(--color-muted);
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.25;
  transition: color .2s ease, background-color .2s ease;
}

#RadicalMart joomla-tab button[role="tab"]:hover,
#RadicalMart joomla-tab button[role="tab"]:focus-visible {
  color: var(--color-link-hover);
  background-color: rgba(var(--color-accent-rgb), .04) !important;
}

#RadicalMart joomla-tab button[role="tab"][aria-selected="true"] {
  color: var(--color-accent);
  font-weight: 600;
}

#RadicalMart joomla-tab button[role="tab"][aria-selected="true"]::after {
  right: .75rem;
  bottom: -1px;
  left: .75rem;
  height: 3px;
  opacity: 1;
  border-radius: 999px 999px 0 0;
  background-color: var(--color-accent);
}

#RadicalMart joomla-tab>joomla-tab-element {
  width: 100%;
  padding: 1.5rem 0 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

#RadicalMart .rm-product-tabs__content,
#RadicalMart .rm-product-tabs__field {
  width: 100%;
}

#RadicalMart .rm-product-tabs__field+.rm-product-tabs__field {
  margin-top: 1.25rem;
}

#RadicalMart .rm-product-tabs__field> :first-child {
  margin-top: 0;
}

#RadicalMart joomla-tab,
#RadicalMart joomla-tab>joomla-tab-element,
#RadicalMart .rm-product-tabs__content,
#RadicalMart .rm-product-tabs__field,
#RadicalMart .rm-product-tabs__field .list-group,
#RadicalMart .rm-product-tabs__field .list-group-item,
#RadicalMart .rm-document-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
}

#RadicalMart .rm-product-tabs__field .list-group {
  display: block;
  gap: .75rem;
}

#RadicalMart .rm-product-tabs__field .list-group .list-group-item {
  padding: 0;
  border: 0;
  background: transparent;
}

#RadicalMart .rm-product-tabs__field .rm-document-list {
  display: block;
  width: 100%;
  min-width: 0;
}

#RadicalMart .rm-product-tabs__field .rm-document-list__item {
  width: 100%;
  min-width: 0;
  margin-bottom: .75rem;
}

#RadicalMart .rm-product-tabs__field .rm-document-list__item:last-child {
  margin-bottom: 0;
}

#RadicalMart .rm-document-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 1rem 1.15rem;
  border: 1px solid #dce9f4;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: #fbfbfb;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

#RadicalMart .rm-document-card:hover,
#RadicalMart .rm-document-card:focus-visible {
  border-color: var(--color-accent);
  background: #fff;
  transform: translateY(-1px);
}

#RadicalMart .rm-document-card__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: var(--color-accent);
  background: rgba(var(--color-accent-rgb), .1);
}

#RadicalMart .rm-document-card__body {
  display: flex;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  flex-direction: column;
  gap: .2rem;
}

#RadicalMart .rm-document-card__title {
  overflow-wrap: break-word;
  word-break: normal;
  color: var(--color-text);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

#RadicalMart .rm-document-card__meta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--color-muted);
  font-size: .875rem;
  line-height: 1.25;
  text-transform: uppercase;
}

#RadicalMart .rm-document-card__button {
  flex: 0 0 auto;
  margin-left: auto;
  padding: .65rem 1rem;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--color-accent);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  #RadicalMart .rm-document-card {
    gap: .65rem;
    padding: .8rem .9rem;
  }

  #RadicalMart .rm-document-card__icon {
    width: 2.4rem;
    height: 2.4rem;
  }

  #RadicalMart .rm-document-card__title {
    font-size: .95rem;
  }

  #RadicalMart .rm-document-card__meta {
    font-size: .75rem;
  }

  #RadicalMart .rm-document-card__button {
    padding: .55rem .7rem;
    font-size: .8rem;
  }
}

/* Keep the breadcrumb layer above product content so its links remain clickable. */

.site-grid .mod-breadcrumbs {
  position: relative;
  z-index: 20;
  margin-bottom: 1.25rem;
  pointer-events: auto;
}

.site-grid .mod-breadcrumbs a {
  position: relative;
  z-index: 21;
  pointer-events: auto;
}

/* Product cards */

.rm-product-card {
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  box-shadow: 0 .75rem 2rem rgba(15, 38, 64, .08);
}

.rm-product-card__media {
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--color-surface);
}

.rm-product-card__image-link {
  position: relative;
  z-index: 1;
  color: inherit;
  text-decoration: none;
  height: 250px;
  width: auto;
}

.rm-product-card__image-link img {
  width: auto;
  margin: 0 auto;
  object-fit: cover;
  mix-blend-mode: darken;
}

.rm-product-card__intro {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .45rem;
  height: 68%;
  padding: 1.25rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 79, 132, 0) 8%, rgba(0, 79, 132, .94) 100%);
  pointer-events: none;
  transform: translateY(101%) !important;
  transform-origin: bottom center;
  will-change: transform;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1) !important;
}

.rm-product-card:hover .rm-product-card__intro,
.rm-product-card:focus-within .rm-product-card__intro {
  transform: translateY(0) !important;
}

.rm-product-card__intro-label {
  color: rgba(255, 255, 255, .72);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rm-product-card__intro-text {
  max-height: 7.2rem;
  overflow: hidden;
  font-size: .95rem;
  line-height: 1.45;
}

.rm-product-card .card-body {
  padding: 1.1rem 1.15rem 1.2rem;
}

.rm-product-card .card-title>div:last-child .h6 {
  color: var(--color-link);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.25;
}

.rm-product-card .card-title>div:last-child a.h6:hover,
.rm-product-card .card-title>div:last-child a.h6:focus {
  color: var(--color-link-hover);
}

/* Finder results use the same card language as the catalogue. Columns stay Bootstrap. */
.search-page__form {
  margin-bottom: 2rem;
}

.search-page__search .awesomplete,
.search-page__search .awesomplete>input {
  width: 100%;
  max-width: none;
}

.search-card {
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  box-shadow: 0 .75rem 2rem rgba(15, 38, 64, .08);
}

.search-card__media {
  min-height: 250px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--color-surface);
}

.search-card__media img {
  max-width: 100%;
  max-height: 250px;
  mix-blend-mode: darken;
}

.search-card__placeholder {
  color: var(--color-muted);
}

.search-card .card-body {
  padding: 1.1rem 1.15rem 1.2rem;
}

.search-card__type {
  margin-bottom: .5rem;
}

.search-card__title a {
  color: var(--color-link);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.25;
}

.search-card__title a:hover,
.search-card__title a:focus {
  color: var(--color-link-hover);
}

.search-card__description {
  color: var(--color-muted);
}

.search-page .search-pagination {
  margin-top: 2rem;
}

/* Pagination: the same appearance for catalogue, Finder and content pages. */

.pagination__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pagination__wrapper>.text-end {
  margin: 0 !important;
  color: var(--color-text);
  font-size: 1.15rem;
  text-align: center !important;
}

.list-pagination .pagination-toolbar,
.pagination__wrapper {
  width: 100%;
}

.list-pagination .pagination-toolbar>.pagination,
.pagination__wrapper>.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem;
  margin: 0 !important;
  padding: 0;
}

.list-pagination .pagination-toolbar .page-item,
.pagination__wrapper .page-item {
  margin: 0;
}

.list-pagination .pagination-toolbar .page-link,
.pagination__wrapper .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: .35rem .7rem;
  border: 1px solid rgba(var(--color-accent-rgb), .22);
  border-radius: var(--radius-sm);
  color: var(--color-link);
  background: var(--color-bg);
  font-size: 1.05rem;
  line-height: 1;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.list-pagination .pagination-toolbar .page-link:hover,
.list-pagination .pagination-toolbar .page-link:focus-visible,
.pagination__wrapper .page-link:hover,
.pagination__wrapper .page-link:focus-visible {
  border-color: var(--color-link-hover);
  color: #fff;
  background: var(--color-link-hover);
  transform: translateY(-1px);
}

.list-pagination .pagination-toolbar .page-item.active .page-link,
.pagination__wrapper .page-item.active .page-link {
  border-color: var(--color-accent);
  color: #fff;
  background: var(--color-accent);
}

.list-pagination .pagination-toolbar .page-item.disabled .page-link,
.pagination__wrapper .page-item.disabled .page-link {
  border-color: rgba(var(--color-text-rgb), .1);
  color: rgba(var(--color-text-rgb), .38);
  background: var(--color-surface);
}

.catimg {
  background-image: url('/images/bg.jpg');
  background-position: 20% 50%;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  -webkit-transition: background-color 600ms ease;
  -ms-transition: background-color 600ms ease;
  transition: background-color 600ms ease;
  display: flex;
}

.catimg img {
  -moz-transition: all 1s ease-out;
  -o-transition: all 1s ease-out;
  -webkit-transition: all 1s ease-out;
  transition: all 1s ease-out;
  height: 160px;
  width: auto;
  margin: 0 auto;
}

.catbl h3 {
  padding: 13px 20px;
  background: #0063a4;
  display: flex;
  color: #fff;
  font-size: 15px;
  text-align: center;
  font-weight: bold;
  min-height: 64px;
  align-items: center;
  justify-content: center;
}

.catbl:hover .catimg {
  background-position: 15% 55%;
}

.catbl:hover img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

.rm-category-card,
.service-card {

  border: 0;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg);
  color: var(--color-text);
  box-shadow: 0 .35rem 1rem rgba(var(--color-text-rgb), .08);
  transition: box-shadow .2s ease, transform .2s ease;
}

.rm-category-card:hover,
.rm-category-card:focus-visible,
.service-card:hover {
  box-shadow: 0 .65rem 1.5rem rgba(var(--color-accent-rgb), .16);
  color: var(--color-text);
  transform: translateY(-2px);
}

.rm-category-card:focus-visible {
  outline: 2px solid var(--color-link-hover);
  outline-offset: 2px;
}

.rm-category-card__image {
  display: flex;
  width: 132px;
  height: 96px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rm-category-card__image-file {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  transition: transform .2s ease;
}

.rm-category-card:hover .rm-category-card__image-file,
.rm-category-card:focus-visible .rm-category-card__image-file {
  transform: scale(1.06);
}

.rm-category-card__title {
  font-size: var(--fs-sm);
  line-height: 1.15;
}

.rm-category-card__arrow {
  color: var(--color-muted);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  transition: color .2s ease, transform .2s ease;
}

.rm-category-card:hover .rm-category-card__arrow,
.rm-category-card:focus-visible .rm-category-card__arrow {
  color: var(--color-link-hover);
  transform: translate(2px, -2px) rotate(45deg);
}

@media (width < 768px) {
  .rm-category-card {
    min-height: 112px;
    padding: .75rem 1rem !important;
  }

  .rm-category-card__image {
    width: 84px;
    height: 68px;
  }

  .rm-category-card__title {
    font-size: var(--fs-xs);
  }

  .rm-category-card__arrow {
    font-size: 1.5rem;
  }
}

.aboutimg {
  background: url(/images/about.webp);
  background-size: auto;
  height: 100%;
  background-size: cover;
  border-radius: 4px;
}

.preimu {
  border-top: 1px solid #ececec;
  margin-top: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #ececec;
}

.pritem {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.prico {
  flex-shrink: 0;
  margin-right: 10px;
}

.prtext {
  color: #4473a9;
  font-size: 14px;
  font-weight: bold;
}

.breadcrumb {
  background-color: transparent;
  padding-left: 0 !important;
  margin: 10px 0px !important;
}

.pathway {
  text-decoration: none;
}

.breadcrumb-item+.breadcrumb-item::before {
  float: left;
  padding-right: var(--breadcrumb-item-padding-x);
  color: var(--breadcrumb-divider-color);
  content: var(--breadcrumb-divider, "-");
}

.mod-breadcrumbs__divider {
  display: none
}

#RadicalMart h1 {
  border-bottom: 1px solid #f2f2f2;
  padding-bottom: 15px;
  position: relative;
}

#RadicalMart h1:before {
  content: "";
  width: 120px;
  height: 3px;
  display: block;
  position: absolute;
  background: #0063a4;
  bottom: -1.5px;
}

.category.info {
  color: #6d7988;
}

/* Information categories: legacy technical pages contain wide tables and
   editorial images. Keep their visual language aligned with the catalogue,
   while giving long-form content its own readable canvas. */
.category--info-page {
  --info-ink: #26384c;
  --info-muted: #64758a;
  --info-line: #dce9f4;
  --info-soft: #f7fbff;
  color: var(--info-ink);
}

.category--info-page h1 {
  margin-bottom: 1.5rem !important;
  color: var(--info-ink);
  letter-spacing: -.02em;
}

.category--info-page .fulltext {
  min-width: 0;
  margin-top: 1.5rem !important;
  padding: clamp(1rem, 2.5vw, 2rem);
  border-left: 4px solid var(--color-link-hover);
  background: var(--color-bg);
  box-shadow: 0 .5rem 1.5rem rgba(15, 52, 85, .06);
  color: var(--info-ink);
  font-size: clamp(1rem, .95rem + .2vw, 1.125rem);
  line-height: 1.7;
}

.category--info-page .fulltext p {
  margin: 0 0 1.15rem;
}

.category--info-page .fulltext p:last-child {
  margin-bottom: 0;
}

.category--info-page .fulltext h2,
.category--info-page .fulltext h3,
.category--info-page .fulltext h4 {
  margin: 2rem 0 .85rem;
  color: var(--color-accent);
  line-height: 1.25;
}

.category--info-page .fulltext ul,
.category--info-page .fulltext ol {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
}

.category--info-page .fulltext li+li {
  margin-top: .35rem;
}

/* Tables are authored in the old editor with inline widths and cell padding.
   The table remains intact on desktop; on narrow screens it becomes its own
   scroll surface instead of forcing the page and text to overlap. */
.category--info-page .fulltext table {
  display: block;
  width: 100% !important;
  max-width: 100%;
  margin: 1.5rem 0;
  overflow-x: auto;
  border: 1px solid var(--info-line);
  border-spacing: 0;
  background: var(--color-bg);
  box-shadow: 0 .35rem 1rem rgba(15, 52, 85, .06);
  -webkit-overflow-scrolling: touch;
}

.category--info-page .fulltext table.noborder {
  border-color: transparent;
  box-shadow: none;
  background: transparent;
}

.category--info-page .fulltext table tbody,
.category--info-page .fulltext table thead {
  width: 100%;
}

.category--info-page .fulltext table th,
.category--info-page .fulltext table td {
  min-width: 10rem;
  padding: .8rem 1rem;
  border-color: var(--info-line);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.category--info-page .fulltext table th {
  color: var(--info-ink);
  background: #edf6fd;
  font-weight: 700;
}

.category--info-page .fulltext table td {
  color: var(--info-muted);
}

.category--info-page .fulltext table img,
.category--info-page .fulltext img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin-top: .75rem;
  margin-bottom: .75rem;
  object-fit: contain;
}

.category--info-page .fulltext iframe,
.category--info-page .fulltext video,
.category--info-page .fulltext embed,
.category--info-page .fulltext object {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1.5rem 0;
}

@media (width <768px) {
  .category--info-page .fulltext {
    padding: 1rem;
    border-left-width: 3px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .category--info-page .fulltext table {
    width: max-content !important;
    min-width: 100%;
  }

  .category--info-page .fulltext table th,
  .category--info-page .fulltext table td {
    min-width: 9rem;
    padding: .65rem .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category--info-page .fulltext * {
    scroll-behavior: auto !important;
  }
}

#RadicalMart #fields_kharakteristiki .rm-product-tabs__field {
  box-sizing: border-box;
  width: 100%;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 0;
  border-radius: 0;
  color: var(--color-muted);
  background: #fff;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: auto;
  overflow-y: hidden;
}

#RadicalMart #fields_kharakteristiki .rm-product-tabs__field> :last-child {
  margin-bottom: 0;
}

#RadicalMart #fields_kharakteristiki .rm-product-tabs__field p,
#RadicalMart #fields_kharakteristiki .rm-product-tabs__field ul,
#RadicalMart #fields_kharakteristiki .rm-product-tabs__field ol {
  margin-top: 0;
  margin-bottom: 1rem;
}

#RadicalMart #fields_kharakteristiki .rm-product-tabs__field ul,
#RadicalMart #fields_kharakteristiki .rm-product-tabs__field ol {
  padding-left: 1.25rem;
}

#RadicalMart #fields_kharakteristiki .rm-product-tabs__field table {
  display: table;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  margin: 0;
  overflow: visible;
  border: 1px solid #cbd6df !important;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: auto;
  background: #fff;
  color: var(--color-text);
  font-size: .84rem;
  line-height: 1.4;
  -webkit-overflow-scrolling: touch;
}

#RadicalMart #fields_kharakteristiki .rm-product-tabs__field > table.props_table {
  border: 0 !important;
}

#RadicalMart #fields_kharakteristiki .rm-product-tabs__field > table.props_table > tbody > tr > td {
  padding: 0;
  border: 0 !important;
}

#RadicalMart #fields_kharakteristiki .rm-product-tabs__field table.wtab {
  width: auto !important;
  max-width: 800px !important;
  min-width: 0 !important;
  margin: 0 auto;
  table-layout: auto;
}

#RadicalMart #fields_kharakteristiki .rm-product-tabs__field table tbody {
  display: table-row-group;
  width: auto;
  min-width: 0;
}

#RadicalMart #fields_kharakteristiki .rm-product-tabs__field table td,
#RadicalMart #fields_kharakteristiki .rm-product-tabs__field table th {
  padding: .6rem .75rem;
  border: 1px solid #cbd6df !important;
  vertical-align: middle;
  overflow-wrap: break-word;
  word-break: normal;
}

#RadicalMart #fields_kharakteristiki .rm-product-tabs__field table.wtab td,
#RadicalMart #fields_kharakteristiki .rm-product-tabs__field table.wtab th {
  text-align: center;
}

#RadicalMart #fields_kharakteristiki .rm-product-tabs__field table.wtab img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100px;
  margin: 0 auto;
  object-fit: contain;
}

#RadicalMart #fields_kharakteristiki .rm-product-tabs__field table td:last-child,
#RadicalMart #fields_kharakteristiki .rm-product-tabs__field table th:last-child {
  text-align: center;
  vertical-align: middle;
}

#RadicalMart #fields_kharakteristiki .rm-product-tabs__field table tbody tr:first-child td,
#RadicalMart #fields_kharakteristiki .rm-product-tabs__field table thead th {
  color: var(--color-text);
  background: #fff;
  font-weight: 600;
}

#RadicalMart #fields_kharakteristiki .rm-product-tabs__field table tbody tr:nth-child(even) td {
  background: #fff;
}

#RadicalMart .radicalmart-video-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  width: 100%;
}

#RadicalMart .radicalmart-video-item {
  min-width: 0;
}

#RadicalMart .radicalmart-video-item:only-child {
  grid-column: 1 / -1;
}

#RadicalMart .radicalmart-video-frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #d4dde5;
  border-radius: var(--radius-sm);
  background: #fff;
}

#RadicalMart .radicalmart-video-skeleton {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(100deg, #f4f6f8 20%, #fff 38%, #f4f6f8 56%);
  background-size: 220% 100%;
  animation:
    radicalmart-video-shimmer 1.25s ease-in-out infinite,
    radicalmart-video-skeleton-timeout .2s linear 2.5s forwards;
}

#RadicalMart .radicalmart-video-frame iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

#RadicalMart .radicalmart-video-frame.is-loaded .radicalmart-video-skeleton {
  opacity: 0;
  pointer-events: none;
  animation: none;
  transition: opacity .25s ease;
}

@keyframes radicalmart-video-shimmer {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -100% 0;
  }
}

@keyframes radicalmart-video-skeleton-timeout {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (min-width: 768px) {
  #RadicalMart .radicalmart-video-list--multiple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  #RadicalMart .radicalmart-video-skeleton {
    animation: radicalmart-video-skeleton-timeout .2s linear 2.5s forwards;
  }

  #RadicalMart .radicalmart-video-frame.is-loaded .radicalmart-video-skeleton {
    transition: none;
  }
}

.view-product .breadcrumb li:last-child {
  display: none;
}

/* The tab label already says "Опции"; do not repeat it above the cards. */
#RadicalMart #related_options>.mt-3 {
  margin-top: 0 !important;
}

#RadicalMart #related_options>.mt-3>.h3:first-child {
  display: none;
}

/* Services category and article layout (com_content:uslugi). */
.services-page {
  margin-bottom: 3rem;
}

.services-page__intro,
.services-page__fulltext {
  max-width: 70rem;
  margin-bottom: 2rem;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
}

.service-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #fbfbfb;
  color: inherit;
  text-decoration: none;
}

.service-card__media img {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.service-card__body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.35rem 1.35rem;
}

.service-card__body::after {
  content: '';
  position: absolute;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 0;
  width: 38%;
  height: 58%;
  background-image:
    linear-gradient(to right, rgba(var(--color-accent-rgb), .08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--color-accent-rgb), .08) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
  mask-image: linear-gradient(135deg, transparent 0%, #000 38%, #000 100%);
}

.service-card__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.35;
}

.service-card__title a {
  color: var(--color-link);
  text-decoration: none;
  display: block;
  line-height: 1.2;
  font-size: 18px;
}

.service-card__title a:hover,
.service-card__title a:focus-visible {
  color: var(--color-link-hover);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.service-card__more {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.service-card__more span {
  display: inline-block;
  transition: transform .2s ease;
}

.service-card:hover .service-card__more span,
.service-card:focus-within .service-card__more span {
  transform: translateX(.25rem);
}

.services-page__links,
.services-page__pagination {
  margin-top: 2rem;
}

.services-page__link-list {
  margin: 0;
  padding-left: 1.25rem;
}

.services-page__pagination .counter {
  color: var(--color-muted);
}

.service-article {
  margin-bottom: 3rem;
}

.service-article__content {
  min-width: 0;
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-article__content img,
.service-article__content figure,
.service-article__content table,
.service-article__content iframe {
  max-width: 100%;
}

.service-article__content img {
  height: auto;
}

.service-article__content table {
  display: block;
  overflow-x: auto;
}

.contacts-page .border-primary {
  border-color: var(--color-accent) !important;
}

.contacts-page .text-primary {
  color: var(--color-accent) !important;
}

.service-article .rblo {
  position: sticky;
  top: 120px;
  padding: 40px;
  background: #f4f4f4;
}

.service-article .uscont {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.service-article .uscont img {
  width: auto;
  height: 50px;
}

.service-article .fulcont {
  min-width: 0;
}

.service-article .toptel {
  display: block;
  margin-right: 15px;
  color: #333;
  font-weight: 700;
}

.service-article .copymail {
  color: var(--color-link);
}

.service-article .rblo p {
  margin-top: 10px;
  color: #878787;
  font-size: 14px;
  font-weight: 300;
}

/* Shared responsive overrides for the product and service layouts. */
@media (max-width: 991.98px) {
  #RadicalMart joomla-tab[view="accordion"] {
    border: 0;
    box-shadow: none;
  }

  #RadicalMart joomla-tab[view="accordion"]>button {
    padding: .85rem 0;
    border: 0;
    border-bottom: 1px solid #dce9f4;
    background: transparent;
    color: var(--color-text);
    font-family: inherit;
    font-size: 1.05rem;
  }

  #RadicalMart joomla-tab[view="accordion"]>button[aria-expanded="true"] {
    background: transparent;
    color: var(--color-accent);
  }

  #RadicalMart joomla-tab[view="accordion"]>joomla-tab-element {
    padding: 1rem 0 !important;
  }

  #RadicalMart .rm-product__details {
    padding-top: 0;
  }

  #RadicalMart .rm-product__title {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
  }

  #RadicalMart #fields_kharakteristiki .rm-product-tabs__field {
    padding: .85rem;
    font-size: .94rem;
    line-height: 1.55;
  }

  #RadicalMart #fields_kharakteristiki .rm-product-tabs__field table {
    font-size: .72rem;
    line-height: 1.35;
  }

  #RadicalMart #fields_kharakteristiki .rm-product-tabs__field table.wtab {
    width: auto !important;
    max-width: 800px !important;
    margin: 0 auto;
  }

  #RadicalMart #fields_kharakteristiki .rm-product-tabs__field table tbody {
    min-width: 0;
  }

  #RadicalMart #fields_kharakteristiki .rm-product-tabs__field table td,
  #RadicalMart #fields_kharakteristiki .rm-product-tabs__field table th {
    padding: .45rem .55rem;
  }

  .site-grid .mod-breadcrumbs__wrapper {
    display: block;
    max-width: 100%;
    padding-block: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #c7d8e6 transparent;
  }

  .site-grid .breadcrumb {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
  }

  .site-grid .breadcrumb-item {
    display: flex;
    flex: 0 0 auto;
    font-size: var(--fs-sm);
  }

  .site-grid .breadcrumb-item+.breadcrumb-item::before {
    float: none;
    flex: 0 0 auto;
  }

}
