/* ==========================================================================
   ABE TEX - front-end update 1.2.0
   Small additions on top of the theme (style.css is not modified).
   Remove the <link> to this file in header.php to switch all of it off.
   ========================================================================== */

/* --- Current page highlighted in the menu -------------------------------- */
.main-menu > ul > li.is-active > a,
.vs-mobile-menu > ul > li.is-active > a {
  color: var(--theme-color);
}

/* --- Keyboard users: visible focus + "skip to content" ------------------- */
.abx-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 10px 18px;
  background: var(--theme-color);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 5px 0;
}
.abx-skip-link:focus {
  left: 0;
  color: #fff;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.vs-btn:focus-visible {
  outline: 2px solid var(--theme-color);
  outline-offset: 2px;
}

/* --- Product list: every card gets the same picture area ----------------- */
/* Uploaded photos have different shapes; before this the cards were ragged.  */
.abx-product-grid > [class*="col-"] {
  display: flex;
}
.abx-product-grid .vs-blog {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.abx-product-grid .blog-img {
  background-color: #fff;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
}
.abx-product-grid .blog-img a {
  display: block;
}
.abx-product-grid .blog-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
.abx-product-grid .blog-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.abx-product-grid .blog-title {
  flex: 1 1 auto;
}
.abx-product-grid .abx-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

/* --- Category buttons and result note above the product list ------------- */
.abx-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.abx-cat-nav a {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid #dfe3eb;
  border-radius: 5px;
  background: #fff;
  color: var(--title-color);
  font-family: var(--title-font);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
}
.abx-cat-nav a:hover,
.abx-cat-nav a.is-active {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}
.abx-result-note {
  margin: 0 0 25px;
}
.abx-empty {
  padding: 50px 20px;
  text-align: center;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0px 10px 31px rgba(169, 177, 193, .07);
}

/* --- Product detail page -------------------------------------------------- */
.abx-product-photo img {
  max-width: 100%;
  height: auto;
}
.abx-product-body img,
.abx-product-body table {
  max-width: 100%;
  height: auto;
}
.abx-product-body {
  overflow-wrap: break-word;
}
.abx-table-scroll {
  overflow-x: auto;
}

/* --- About page list ------------------------------------------------------ */
.abx-list {
  margin: 0 0 20px;
  padding-left: 20px;
}

/* --- Maps ----------------------------------------------------------------- */
.abx-map {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
}
@media (max-width: 767px) {
  .abx-map {
    height: 320px;
  }
}

/* --- Form buttons: comfortable tap size on phones ------------------------- */
.contact-box__form .btn {
  min-height: 44px;
}

/* --- Respect the "reduce motion" system setting --------------------------- */
@media (prefers-reduced-motion: reduce) {
  .wow {
    animation: none !important;
    visibility: visible !important;
  }
  html {
    scroll-behavior: auto !important;
  }
}

/* --- Page banner: make the white title and breadcrumb readable ------------ */
/* The banner photo is busy; a soft dark-blue veil keeps the text legible.    */
/* Delete this block to get the plain photo back.                             */
.breadcumb-wrapper {
  position: relative;
}
.breadcumb-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, rgba(8, 20, 56, .78) 0%, rgba(8, 20, 56, .55) 55%, rgba(8, 20, 56, .70) 100%);
  pointer-events: none;
}
.breadcumb-title,
.breadcumb-menu {
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
