/**
 * InScale child template — Stage 3.3 / configurable 1.4.0.
 * Modern storefront shell. JoomShopping templates remain unchanged.
 */

:root {
  --inscale-navy: #17324d;
  --inscale-navy-deep: #10263a;
  --inscale-red: #d8453a;
  --inscale-red-dark: #b9362d;
  --inscale-surface: #ffffff;
  --inscale-page: #f4f5f6;
  --inscale-text: #20252a;
  --inscale-muted: #69737d;
  --inscale-border: #dde1e5;
  --inscale-radius: 10px;
  --inscale-shadow: 0 5px 18px rgb(15 35 52 / 8%);
  --inscale-content-max: 1760px;

  --cassiopeia-color-primary: var(--inscale-navy);
  --cassiopeia-color-link: #275c88;
  --cassiopeia-color-hover: var(--inscale-red);
  --cassiopeia-font-family-body: "Segoe UI", Arial, sans-serif;
  --cassiopeia-font-family-headings: "Segoe UI", Arial, sans-serif;
  --cassiopeia-font-weight-normal: 400;
  --cassiopeia-font-weight-headings: 700;

  --inscale-left-sidebar-width: 200px;
  --inscale-right-sidebar-width: 220px;
  --inscale-column-gap: 20px;
  --inscale-link: #275c88;
  --inscale-hero-overlay: #10263a;
  --inscale-hero-overlay-opacity: 0.20;
  --inscale-hero-height-desktop: 350px;
  --inscale-hero-height-tablet: 280px;
  --inscale-hero-height-mobile: 210px;
  --inscale-hero-position: center center;
  --inscale-font-body: "Segoe UI", Arial, sans-serif;
  --inscale-font-headings: "Segoe UI", Arial, sans-serif;
  --inscale-base-font-size: 16px;
  --inscale-menu-font-size: 16px;
  --inscale-heading-scale: 1;
}

html {
  max-width: 100%;
  overflow-x: clip;
  background: var(--inscale-page);
  scroll-behavior: smooth;
}

body.inscale-stage-33 {
  max-width: 100%;
  overflow-x: clip;
  color: var(--inscale-text);
  background: var(--inscale-page);
  font-family: var(--inscale-font-body);
  font-size: var(--inscale-base-font-size);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgb(216 69 58 / 35%);
  outline-offset: 2px;
}

.inscale-service-bar__inner,
.inscale-header-main,
.inscale-stage-33 .container-nav,
.inscale-footer-grid,
.inscale-footer-bottom {
  width: min(calc(100% - 32px), var(--inscale-content-max));
  max-width: var(--inscale-content-max);
  margin-inline: auto;
}


.inscale-stage-33 :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--inscale-font-headings);
}

.inscale-stage-33 h1 { font-size: calc(2.25rem * var(--inscale-heading-scale)); }
.inscale-stage-33 h2 { font-size: calc(1.85rem * var(--inscale-heading-scale)); }
.inscale-stage-33 h3 { font-size: calc(1.55rem * var(--inscale-heading-scale)); }
.inscale-stage-33 h4 { font-size: calc(1.3rem * var(--inscale-heading-scale)); }
.inscale-stage-33 h5 { font-size: calc(1.12rem * var(--inscale-heading-scale)); }
.inscale-stage-33 h6 { font-size: calc(1rem * var(--inscale-heading-scale)); }

.inscale-stage-33 a {
  color: var(--inscale-link);
}

/* Header */
.inscale-stage-33 .container-header {
  color: #fff;
  background: var(--inscale-navy);
  background-image: none;
  box-shadow: 0 3px 16px rgb(9 27 41 / 14%);
}

.inscale-service-bar {
  color: #dbe6ef;
  background: var(--inscale-navy-deep);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}

.inscale-service-bar__inner {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3.5rem);
  padding-block: 0.55rem;
  font-size: 0.88rem;
}

.inscale-service-bar__inner span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.inscale-header-main {
  display: grid;
  grid-template-columns: minmax(180px, 250px) minmax(300px, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  padding-block: 1.15rem;
}

.inscale-header-brand {
  min-width: 0;
}

.inscale-header-brand > a {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.inscale-header-brand .mod-custom p {
  margin: 0;
}

.inscale-header-brand .mod-custom br {
  display: none;
}

.inscale-header-brand img {
  width: min(190px, 100%);
  height: auto;
  display: block;
}

.inscale-header-search {
  min-width: 0;
}

.inscale-header-search .mod-shop-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  margin: 0;
}

.inscale-header-search input[type="text"] {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0.72rem 1rem;
  color: var(--inscale-text);
  background: var(--inscale-surface);
  border: 1px solid #fff;
  border-radius: var(--inscale-radius) 0 0 var(--inscale-radius);
  box-shadow: none;
}

.inscale-header-search input[type="text"]::placeholder {
  color: #7c8790;
}

.inscale-header-search input[type="submit"] {
  width: auto;
  min-height: 48px;
  margin: 0;
  padding-inline: 1.35rem;
  color: #fff;
  background: var(--inscale-red);
  border-color: var(--inscale-red);
  border-radius: 0 var(--inscale-radius) var(--inscale-radius) 0;
  white-space: nowrap;
}

.inscale-header-search input[type="submit"]:hover {
  background: var(--inscale-red-dark);
  border-color: var(--inscale-red-dark);
}

.inscale-header-cart {
  justify-self: end;
}

.inscale-header-cart .wt-jshopping-cart-module-icon {
  width: auto;
  min-width: 175px;
  min-height: 48px;
  margin: 0;
  padding: 0.55rem 0.85rem;
  color: var(--inscale-navy);
  background: var(--inscale-surface);
  border: 1px solid #fff;
  border-radius: var(--inscale-radius);
  justify-content: center;
}

.inscale-header-cart .wt-jshopping-cart-module-icon:hover {
  color: var(--inscale-red);
  background: var(--inscale-surface);
}

.inscale-nav-shell {
  background: var(--inscale-surface);
  border-top: 1px solid rgb(255 255 255 / 10%);
  border-bottom: 1px solid var(--inscale-border);
}

.inscale-stage-33 .container-nav {
  min-height: 56px;
  padding: 0;
  color: var(--inscale-text);
}

.inscale-stage-33 .container-nav .navbar {
  width: 100%;
  padding: 0;
}

.inscale-stage-33 .container-nav .mod-menu {
  color: var(--inscale-text);
}

.inscale-stage-33 .container-nav .metismenu-item {
  padding: 0;
}

.inscale-stage-33 .container-nav .metismenu-item > a,
.inscale-stage-33 .container-nav .metismenu-item > button {
  min-height: 56px;
  padding: 0.85rem 1rem;
  color: var(--inscale-text);
  font-size: var(--inscale-menu-font-size);
  font-weight: 600;
  text-decoration: none;
}

.inscale-stage-33 .container-nav .metismenu-item.active > a,
.inscale-stage-33 .container-nav .metismenu-item > a:hover {
  color: var(--inscale-red);
}

.inscale-stage-33 .container-nav .metismenu-item > ul {
  min-width: 250px;
  padding: 0.5rem;
  background: var(--inscale-surface);
  border: 1px solid var(--inscale-border);
  border-radius: var(--inscale-radius);
  box-shadow: var(--inscale-shadow);
}

.inscale-stage-33 .container-nav .metismenu-item > ul a {
  min-height: auto;
  padding: 0.7rem 0.8rem;
  border-radius: max(0px, calc(var(--inscale-radius) - 3px));
}

.inscale-stage-33 .navbar-toggler {
  color: var(--inscale-navy);
  border-color: var(--inscale-border);
}

/* Configurable hero. It lives outside .site-grid, so no 100vw compensation is needed. */
.inscale-hero {
  position: relative;
  width: 100%;
  height: var(--inscale-hero-height-desktop);
  overflow: hidden;
  background: var(--inscale-navy-deep);
}

.inscale-hero > .banner,
.inscale-hero > .moduletable,
.inscale-hero .mod-custom,
.inscale-hero .banner-overlay {
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
}

.inscale-hero .banner-overlay {
  background-position: var(--inscale-hero-position);
  background-size: cover;
}

.inscale-hero .banner-overlay .overlay {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.inscale-hero__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--inscale-hero-position);
}

.inscale-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--inscale-hero-overlay);
  opacity: var(--inscale-hero-overlay-opacity);
}

/* Main site grid */
.inscale-stage-33 .site-grid {
  display: grid;
  grid-template-columns: var(--inscale-left-sidebar-width) minmax(0, 1fr) var(--inscale-right-sidebar-width);
  gap: var(--inscale-column-gap);
  width: min(calc(100% - 32px), var(--inscale-content-max));
  max-width: var(--inscale-content-max);
  margin-inline: auto;
  padding-block: 2rem 3rem;
}


.inscale-stage-33 .container-sidebar-left {
  grid-column: 1;
  width: auto;
  min-width: 0;
  margin: 0;
}

.inscale-stage-33 .container-component {
  grid-column: 2;
  width: auto;
  min-width: 0;
  margin: 0;
}


.inscale-stage-33 .container-component,
.inscale-stage-33 .container-component > main,
.inscale-stage-33 .container-component #comjshop,
.inscale-stage-33 .container-component .jshop {
  max-width: none;
}

.inscale-stage-33 .container-sidebar-right {
  grid-column: 3;
  width: auto;
  min-width: 0;
  margin: 0;
}

.inscale-stage-33:not(.has-sidebar-left) .container-component {
  grid-column: 1 / 3;
}

.inscale-stage-33:not(.has-sidebar-right) .container-component {
  grid-column: 2 / 4;
}

.inscale-stage-33:not(.has-sidebar-left):not(.has-sidebar-right) .container-component {
  grid-column: 1 / -1;
}

.inscale-stage-33 .container-top-a,
.inscale-stage-33 .container-top-b,
.inscale-stage-33 .container-bottom-a,
.inscale-stage-33 .container-bottom-b {
  grid-column: 1 / -1;
}

.inscale-stage-33 .card,
.inscale-stage-33 .breadcrumb,
.inscale-stage-33 .item-page {
  background: var(--inscale-surface);
  border: 1px solid var(--inscale-border);
  border-radius: var(--inscale-radius);
  box-shadow: 0 2px 10px rgb(15 35 52 / 4%);
}

.inscale-stage-33 .card {
  padding: 0;
  overflow: hidden;
}

.inscale-stage-33 .card-header {
  padding: 0.75rem 0.9rem;
  color: #fff;
  background: var(--inscale-navy);
  border: 0;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.inscale-stage-33 .card-body {
  padding: 1rem;
}

.inscale-stage-33 .breadcrumb {
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  box-shadow: none;
}


.inscale-stage-33 .container-component :where(
  .com-content-article,
  .item-page:not(.jshop),
  .contact,
  .com-contact
) {
  line-height: 1.62;
}

.inscale-stage-33 .container-component :where(
  .com-content-article p,
  .item-page:not(.jshop) p,
  .contact p,
  .com-contact p
) {
  max-width: 82ch;
}

/* Sidebars */
.inscale-stage-33 .manufactuter_list,
.inscale-stage-33 .container-sidebar-right .card-body {
  display: grid;
  gap: 0.1rem;
}

.inscale-stage-33 .jshop_menu_level_0 a {
  display: block;
  padding: 0.38rem 0.5rem;
  color: #35536c;
  border-radius: max(0px, calc(var(--inscale-radius) - 4px));
  line-height: 1.25;
  text-decoration: none;
}

.inscale-stage-33 .jshop_menu_level_0 a:hover {
  color: var(--inscale-red);
  background: #f1f4f6;
}

/* Generic buttons */
.inscale-stage-33 .btn,
.inscale-stage-33 .badge {
  border-radius: var(--inscale-radius);
}

.inscale-stage-33 .btn-primary,
.inscale-stage-33 .btn-success {
  color: #fff;
  background: var(--inscale-navy);
  border-color: var(--inscale-navy);
}

.inscale-stage-33 .btn-primary:hover,
.inscale-stage-33 .btn-success:hover {
  background: #244b6b;
  border-color: #244b6b;
}

.inscale-stage-33 .btn-info {
  color: #fff;
  background: var(--inscale-red);
  border-color: var(--inscale-red);
}

.inscale-stage-33 .btn-danger {
  color: #fff;
  background: var(--inscale-red-dark);
  border-color: var(--inscale-red-dark);
}

/* Preserve working product listing until the dedicated JoomShopping stage. */
.inscale-stage-33 .jshop .product {
  height: 100%;
  margin-bottom: 1rem;
  padding: 0.8rem;
  background: var(--inscale-surface);
  border: 1px solid var(--inscale-border);
  border-radius: var(--inscale-radius);
  box-shadow: 0 3px 12px rgb(15 35 52 / 6%);
}

.inscale-stage-33 .jshop .product .image img.jshop_img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.inscale-stage-33 .jshop .product .name {
  min-height: 3.6em;
  overflow: hidden;
  font-size: 0.94rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.inscale-stage-33 .jshop .product .jshop_code_prod {
  display: none;
}

.inscale-stage-33 .jshop .product .jshop_price {
  margin: 0.8rem 0;
  color: var(--inscale-red);
  font-size: 1.12rem;
  font-weight: 700;
}

.inscale-stage-33 .jshop .product :where(
  .manufacturer_name,
  .deliverytime,
  .delivery_time,
  .extra_fields,
  .description
) {
  display: none;
}

.inscale-stage-33 .jshop .product .buttons {
  display: grid;
  gap: 0.45rem;
}

.inscale-stage-33 .jshop .product .buttons .btn {
  width: 100%;
  margin: 0;
}

/* Footer */
.inscale-stage-33 .footer {
  color: #dce6ee;
  background: var(--inscale-navy-deep);
  background-image: none;
}

.inscale-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.6fr) repeat(3, minmax(170px, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: 3rem 2.25rem;
}

.inscale-footer-grid h2 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 1rem;
}

.inscale-footer-grid strong {
  display: block;
  margin-bottom: 0.8rem;
  color: #fff;
  font-size: 1.35rem;
}

.inscale-footer-grid p {
  margin: 0.35rem 0;
  color: #aebdca;
}

.inscale-footer-grid nav,
.inscale-footer-grid section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.inscale-footer-grid a {
  margin: 0.27rem 0;
  color: #dce6ee;
  text-decoration: none;
}

.inscale-footer-grid a:hover {
  color: #fff;
  text-decoration: underline;
}

.inscale-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem 1.4rem;
  color: #93a7b8;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 0.88rem;
}

.inscale-footer-legacy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Cookie consent */
.inscale-cookie-consent {
  position: fixed;
  z-index: 1100;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 15px;
  color: #fff;
  background: #263640;
  border-radius: var(--inscale-radius);
  box-shadow: 0 5px 22px rgb(0 0 0 / 30%);
}

.inscale-cookie-consent[hidden] {
  display: none !important;
}

.inscale-cookie-consent p {
  margin: 0;
  font-size: 14px;
}

.inscale-cookie-consent a {
  color: #fff;
  text-decoration: underline;
}

.inscale-cookie-consent__actions {
  display: flex;
  gap: 10px;
}

.inscale-cookie-consent__actions .btn {
  width: auto;
  margin: 0;
  white-space: nowrap;
}


@media (min-width: 1600px) {
  .inscale-stage-33 .container-component {
    padding-inline: 0.25rem;
  }
}

/* Responsive */
@media (max-width: 1399.98px) {
  .inscale-stage-33 .site-grid {
    grid-template-columns: var(--inscale-left-sidebar-width) minmax(0, 1fr);
  }

  .inscale-stage-33 .container-sidebar-left {
    grid-column: 1;
  }

  .inscale-stage-33 .container-component {
    grid-column: 2;
  }

  .inscale-stage-33 .container-sidebar-right {
    grid-column: 1 / -1;
  }

  .inscale-stage-33:not(.has-sidebar-left) .container-component {
    grid-column: 1 / -1;
  }

  .inscale-stage-33:not(.has-sidebar-right) .container-component {
    grid-column: 2;
  }

  .inscale-stage-33:not(.has-sidebar-left):not(.has-sidebar-right) .container-component {
    grid-column: 1 / -1;
  }


  .inscale-stage-33 .container-sidebar-right .card-body {
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 0.2rem 0.75rem;
  }

  .inscale-stage-33 .container-sidebar-right .card {
    position: static;
    max-height: none;
  }
}

@media (max-width: 991.98px) {
  .inscale-hero {
    height: var(--inscale-hero-height-tablet);
  }

  .inscale-service-bar__inner {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .inscale-header-main {
    grid-template-columns: minmax(160px, 1fr) auto;
    gap: 0.9rem;
  }

  .inscale-header-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .inscale-header-cart {
    grid-column: 2;
    grid-row: 1;
  }

  /* Guarantee the standard Joomla/Bootstrap mobile menu remains usable. */
  .inscale-stage-33 .container-nav {
    display: block;
    min-height: auto;
    padding-block: 0.55rem;
  }

  .inscale-stage-33 .container-nav .navbar {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  .inscale-stage-33 .container-nav .navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    color: var(--inscale-navy);
    background: var(--inscale-surface);
    border: 1px solid var(--inscale-border);
  }

  .inscale-stage-33 .container-nav .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
  }

  .inscale-stage-33 .container-nav .navbar-collapse:not(.show) {
    display: none !important;
  }

  .inscale-stage-33 .container-nav .navbar-collapse.show,
  .inscale-stage-33 .container-nav .navbar-collapse.collapsing {
    display: block !important;
  }

  .inscale-stage-33 .container-nav .mod-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-top: 0.6rem;
  }

  .inscale-stage-33 .container-nav .metismenu-item {
    width: 100%;
  }

  .inscale-stage-33 .container-nav .metismenu-item > a,
  .inscale-stage-33 .container-nav .metismenu-item > button {
    width: 100%;
    min-height: auto;
    padding: 0.75rem 0.85rem;
  }

  .inscale-stage-33 .container-nav .metismenu-item > ul {
    position: static;
    width: 100%;
    min-width: 0;
    box-shadow: none;
  }

  .inscale-stage-33 .site-grid {
    display: block;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 1.25rem 16px 2.5rem;
  }

  .inscale-stage-33 .site-grid > * {
    width: 100%;
    margin: 0 0 1.25rem;
  }


  .inscale-stage-33 .container-sidebar-left,
  .inscale-stage-33 .container-sidebar-right {
    display: none;
  }

  .inscale-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inscale-cookie-consent {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .inscale-hero {
    height: var(--inscale-hero-height-mobile);
  }

  .inscale-service-bar__inner,
  .inscale-header-main,
  .inscale-stage-33 .container-nav,
  .inscale-footer-grid,
  .inscale-footer-bottom {
    width: calc(100% - 24px);
  }

  .inscale-header-main {
    grid-template-columns: minmax(120px, 1fr) auto;
    padding-block: 0.8rem;
  }

  .inscale-header-brand img {
    width: 145px;
  }

  .inscale-header-search input[type="submit"] {
    padding-inline: 0.9rem;
  }

  .inscale-header-cart .summ {
    display: none;
  }

  .inscale-header-cart .wt-jshopping-cart-module-icon {
    min-width: 0;
  }

  .inscale-footer-grid {
    grid-template-columns: 1fr;
    padding-block: 2rem;
  }

  .inscale-footer-bottom {
    flex-direction: column;
  }

  .inscale-cookie-consent {
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: var(--inscale-radius) var(--inscale-radius) 0 0;
  }

  .inscale-cookie-consent__actions {
    flex-wrap: wrap;
  }
}


/* ==========================================================================
   InScale template 1.5.0
   WT JoomShopping Last Seen Products module
   ========================================================================== */

.inscale-stage-33 .card:has(.inscale-last-seen),
.inscale-stage-33 .moduletable:has(.inscale-last-seen) {
  overflow: hidden;
  background: var(--inscale-surface);
  border: 1px solid var(--inscale-border);
  border-radius: var(--inscale-radius);
  box-shadow: 0 4px 16px rgb(15 35 52 / 6%);
}

.inscale-stage-33 .card:has(.inscale-last-seen) > .card-header,
.inscale-stage-33 .moduletable:has(.inscale-last-seen) > h3 {
  margin: 0;
  padding: 0.7rem 0.9rem;
  color: #fff;
  background: var(--inscale-navy);
  border: 0;
  font-family: var(--inscale-font-headings);
  font-size: 0.94rem;
  font-weight: 800;
}

.inscale-stage-33 .card:has(.inscale-last-seen) > .card-body {
  padding: 0.75rem;
}

.inscale-stage-33 .inscale-last-seen {
  width: 100%;
  min-width: 0;
}

.inscale-stage-33 .inscale-last-seen__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--inscale-last-seen-card-min, 185px), 1fr));
  gap: 0.75rem;
  align-items: stretch;
}

.inscale-stage-33 .inscale-last-seen-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--inscale-surface);
  border: 1px solid var(--inscale-border);
  border-radius: max(6px, calc(var(--inscale-radius) - 2px));
  box-shadow: 0 2px 8px rgb(15 35 52 / 5%);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.inscale-stage-33 .inscale-last-seen-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(
    in srgb,
    var(--inscale-navy) 28%,
    var(--inscale-border)
  );
  box-shadow: 0 8px 18px rgb(15 35 52 / 10%);
}

.inscale-stage-33 .inscale-last-seen-card__media {
  position: relative;
  height: 165px;
  min-height: 165px;
  padding: 0.55rem;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f8fafb 100%);
}

.inscale-stage-33 .inscale-last-seen-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.inscale-stage-33 .inscale-last-seen-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 150px;
  margin: 0;
  object-fit: contain;
  transition: transform 180ms ease;
}

.inscale-stage-33 .inscale-last-seen-card:hover
.inscale-last-seen-card__image img {
  transform: scale(1.025);
}

.inscale-stage-33 .inscale-last-seen-card__label {
  position: absolute;
  z-index: 2;
  top: 0.45rem;
  left: 0.45rem;
  max-width: 58px;
}

.inscale-stage-33 .inscale-last-seen-card__label img {
  display: block;
  max-width: 52px;
  max-height: 52px;
}

.inscale-stage-33 .inscale-last-seen-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 0.7rem 0.72rem 0.55rem;
  text-align: center;
}

.inscale-stage-33 .inscale-last-seen-card__code {
  margin-bottom: 0.25rem;
  overflow: hidden;
  color: var(--inscale-muted);
  font-size: 0.68rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inscale-stage-33 .inscale-last-seen-card__title {
  min-height: 3.8em;
  margin: 0 0 0.55rem;
  overflow: hidden;
  font-family: var(--inscale-font-headings);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.inscale-stage-33 .inscale-last-seen-card__title a {
  color: var(--inscale-link);
  text-decoration: none;
}

.inscale-stage-33 .inscale-last-seen-card__title a:hover {
  color: var(--inscale-red);
}

.inscale-stage-33 .inscale-last-seen-card__prices {
  display: grid;
  gap: 0.15rem;
  margin-top: auto;
}

.inscale-stage-33 .inscale-last-seen-card__old-price {
  color: var(--inscale-muted);
  font-size: 0.72rem;
}

.inscale-stage-33 .inscale-last-seen-card__price {
  color: var(--inscale-text);
  font-size: 1.05rem;
  line-height: 1.1;
}

.inscale-stage-33 .inscale-last-seen-card__actions {
  display: grid;
  gap: 0.4rem;
  padding: 0 0.7rem 0.7rem;
}

.inscale-stage-33 .inscale-last-seen-card__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 0.45rem 0.55rem;
  border-radius: max(6px, calc(var(--inscale-radius) - 3px));
  font-size: 0.76rem;
  font-weight: 750;
}

.inscale-stage-33 .inscale-last-seen-card__actions .btn-primary {
  color: #fff;
  background: var(--inscale-navy);
  border-color: var(--inscale-navy);
}

.inscale-stage-33 .inscale-last-seen-card__actions .btn-outline-primary {
  color: var(--inscale-navy);
  background: #fff;
  border-color: var(--inscale-border);
}

.inscale-stage-33 .inscale-last-seen-card__actions
.btn-outline-primary:hover {
  color: #fff;
  background: var(--inscale-navy);
  border-color: var(--inscale-navy);
}

@media (max-width: 767.98px) {
  .inscale-stage-33 .inscale-last-seen__grid {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .inscale-stage-33 .inscale-last-seen-card {
    flex: 0 0 min(72vw, 230px);
    scroll-snap-align: start;
  }
}

@media (max-width: 479.98px) {
  .inscale-stage-33 .inscale-last-seen-card {
    flex-basis: min(78vw, 205px);
  }

  .inscale-stage-33 .inscale-last-seen-card__media {
    height: 145px;
    min-height: 145px;
  }

  .inscale-stage-33 .inscale-last-seen-card__image img {
    max-height: 130px;
  }
}


/* ==========================================================================
   InScale Storefront 2.0.1
   Joomla article typography and spacing
   ========================================================================== */

.inscale-release-2 .container-component .item-page:not(.jshop),
.inscale-release-2 .container-component .com-content-article {
  padding: clamp(0.95rem, 1.4vw, 1.3rem);
  overflow: hidden;
}

.inscale-release-2 .container-component :where(
  .com-content-article__body,
  .item-page:not(.jshop) [itemprop="articleBody"]
) {
  max-width: 100%;
  color: var(--inscale-text);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.inscale-release-2 .container-component :where(
  .com-content-article__body,
  .item-page:not(.jshop) [itemprop="articleBody"]
) :where(p, li, dd) {
  max-width: 92ch;
  margin-top: 0;
  text-align: left !important;
  text-justify: auto !important;
  word-spacing: normal !important;
  letter-spacing: normal !important;
  hyphens: auto;
}

.inscale-release-2 .container-component :where(
  .com-content-article__body,
  .item-page:not(.jshop) [itemprop="articleBody"]
) p {
  margin-bottom: 0.8rem;
}

.inscale-release-2 .container-component :where(
  .com-content-article__body,
  .item-page:not(.jshop) [itemprop="articleBody"]
) p:last-child {
  margin-bottom: 0;
}

.inscale-release-2 .container-component :where(
  .com-content-article__body,
  .item-page:not(.jshop) [itemprop="articleBody"]
) :where(h1, h2, h3, h4) {
  max-width: 42ch;
  margin-top: 1.25rem;
  margin-bottom: 0.65rem;
  line-height: 1.2;
  text-align: left !important;
  word-spacing: normal !important;
}

.inscale-release-2 .container-component :where(
  .com-content-article__body,
  .item-page:not(.jshop) [itemprop="articleBody"]
) > :first-child {
  margin-top: 0;
}

.inscale-release-2 .container-component :where(
  .com-content-article__body,
  .item-page:not(.jshop) [itemprop="articleBody"]
) :where(ul, ol) {
  margin: 0.6rem 0 0.9rem;
  padding-left: 1.35rem;
}

.inscale-release-2 .container-component :where(
  .com-content-article__body,
  .item-page:not(.jshop) [itemprop="articleBody"]
) a {
  text-underline-offset: 0.14em;
}

@media (max-width: 575.98px) {
  .inscale-release-2 .container-component .item-page:not(.jshop),
  .inscale-release-2 .container-component .com-content-article {
    padding: 0.85rem;
  }

  .inscale-release-2 .container-component :where(
    .com-content-article__body,
    .item-page:not(.jshop) [itemprop="articleBody"]
  ) {
    font-size: 0.97rem;
    line-height: 1.58;
  }
}


/* ==========================================================================
   InScale Storefront 2.0.2
   UI fixes: header cart + back-to-top button
   ========================================================================== */

.inscale-release-2 #back-top.back-to-top-link,
.inscale-release-2 .back-to-top-link {
  right: 1rem;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem + 5rem);
  z-index: 1080;
}

.inscale-release-2 .inscale-header-cart .wt-jshopping-cart-module-icon {
  gap: 0.2rem;
  line-height: 1.2;
  text-align: center;
}

.inscale-release-2 .inscale-header-cart .wt-jshopping-cart-module-icon .summ {
  display: block;
  margin-top: 0.1rem;
  white-space: nowrap;
}

.inscale-release-2 .inscale-header-cart .wt-jshopping-cart-module-icon.is-empty-cart .summ {
  display: none !important;
}

@media (max-width: 575.98px) {
  .inscale-release-2 #back-top.back-to-top-link,
  .inscale-release-2 .back-to-top-link {
    right: 0.85rem;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 0.85rem + 5rem);
  }
}


/* InScale Storefront 2.0.2.1 — back-to-top raised higher */

/* InScale editable footer module */
.inscale-footer-module,
.inscale-footer-module .mod-custom {
  width: 100%;
}

.inscale-footer-contact-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.inscale-footer-contact-link i {
  width: 1.1rem;
  color: #fff;
  text-align: center;
}

.inscale-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.inscale-footer-socials a {
  display: inline-flex;
  width: 2.45rem;
  height: 2.45rem;
  margin: 0;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 0.55rem;
  font-size: 1.2rem;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.inscale-footer-socials a:hover,
.inscale-footer-socials a:focus-visible {
  color: #fff;
  background: rgb(255 255 255 / 16%);
  border-color: rgb(255 255 255 / 30%);
  text-decoration: none;
  transform: translateY(-1px);
}

/* InScale managed typography:begin */
/*
 * Local variable Oswald.
 */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src:
    url("../fonts/oswald/Oswald-Variable.ttf?v=30")
    format("truetype");
}

/*
 * Family and weight are now controlled from:
 * Template Style -> Fonts and sizes.
 *
 * No universal * selector is used, so Joomla and
 * Font Awesome icon fonts remain untouched.
 */
body {
  font-family:
    var(--inscale-font-body);
  font-weight:
    var(--inscale-font-weight-body, 300);
}

h1,
h2,
h3,
h4,
h5,
h6,
.card-header,
.card-title,
.page-header {
  font-family:
    var(--inscale-font-headings);
  font-weight:
    var(--inscale-font-weight-headings, 400);
}

.inscale-nav-shell,
.inscale-nav-shell a,
.inscale-nav-shell button,
.mod-menu,
.mod-menu a {
  font-weight:
    var(--inscale-font-weight-menu, 400);
}

button,
.btn,
input,
select,
textarea,
.form-control,
.form-select {
  font-family:
    var(--inscale-font-body);
  font-weight:
    var(--inscale-font-weight-button, 400);
}

strong,
b {
  font-weight:
    var(--inscale-font-weight-strong, 500);
}

/*
 * Both sidebars scroll with the page.
 */
body .container-sidebar-left,
body .container-sidebar-right,
body .sidebar-left,
body .sidebar-right,
body .container-sidebar-left > *,
body .container-sidebar-right > *,
body .sidebar-left > *,
body .sidebar-right > * {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  bottom: auto !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

/*
 * Compact sidebar modules.
 */
body .container-sidebar-left .card,
body .container-sidebar-right .card,
body .sidebar-left .card,
body .sidebar-right .card {
  margin-bottom: 0.8rem;
  border-color: rgb(23 50 77 / 16%);
  border-radius: 0.25rem;
  box-shadow: none;
}

body .container-sidebar-left .card-header,
body .container-sidebar-right .card-header,
body .sidebar-left .card-header,
body .sidebar-right .card-header,
body .container-sidebar-left h2,
body .container-sidebar-right h2,
body .container-sidebar-left h3,
body .container-sidebar-right h3 {
  margin: 0;
  padding: 0.48rem 0.62rem;
  font-size: 0.98rem;
  font-weight:
    var(--inscale-font-weight-headings, 400);
  line-height: 1.18;
}

body .container-sidebar-left .card-body,
body .container-sidebar-right .card-body,
body .sidebar-left .card-body,
body .sidebar-right .card-body {
  padding: 0.42rem 0.52rem;
}

body .container-sidebar-left ul,
body .container-sidebar-right ul,
body .sidebar-left ul,
body .sidebar-right ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

body .container-sidebar-left li,
body .container-sidebar-right li,
body .sidebar-left li,
body .sidebar-right li {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

body .container-sidebar-left li > a,
body .container-sidebar-right li > a,
body .sidebar-left li > a,
body .sidebar-right li > a {
  display: block;
  padding: 0.17rem 0.25rem;
  color: #294e70;
  border-radius: 0.16rem;
  font-size: 0.89rem;
  font-weight:
    var(--inscale-font-weight-sidebar, 300);
  line-height: 1.22;
  text-decoration: none;
  overflow-wrap: anywhere;
}

body .container-sidebar-left li > a:hover,
body .container-sidebar-right li > a:hover,
body .sidebar-left li > a:hover,
body .sidebar-right li > a:hover,
body .container-sidebar-left li > a:focus-visible,
body .container-sidebar-right li > a:focus-visible,
body .sidebar-left li > a:focus-visible,
body .sidebar-right li > a:focus-visible {
  color: #102f4d;
  background: rgb(23 50 77 / 7%);
  text-decoration: none;
}

body .container-sidebar-left .active > a,
body .container-sidebar-right .active > a,
body .sidebar-left .active > a,
body .sidebar-right .active > a {
  font-weight:
    var(--inscale-font-weight-menu, 400);
}

body .container-sidebar-left ul ul,
body .container-sidebar-right ul ul,
body .sidebar-left ul ul,
body .sidebar-right ul ul {
  margin: 0.04rem 0 0.07rem;
  padding-left: 0.62rem;
  border-left: 1px solid rgb(23 50 77 / 16%);
}

body .container-sidebar-left ul ul a,
body .container-sidebar-right ul ul a,
body .sidebar-left ul ul a,
body .sidebar-right ul ul a {
  font-size: 0.85rem;
}

/*
 * Do not assign any font-family to icon classes here.
 */
/* InScale managed typography:end */

/* InScale product typography controls:begin */
/*
 * These rules bind the settings from the template style
 * to the actual navigation and JoomShopping elements.
 *
 * Font Awesome / Joomla icon classes are not selected.
 */

/* Main desktop and mobile navigation */
body .inscale-nav-shell .mod-menu > li > a,
body .inscale-nav-shell .mod-menu > li > button,
body .inscale-nav-shell .mod-menu .metismenu-item > a,
body .inscale-nav-shell .mod-menu .metismenu-item > button,
body .container-nav .nav-link,
body .container-nav .dropdown-item,
body .container-nav .mm-toggler,
body .container-nav .navbar-toggler,
body .container-nav .mod-menu a,
body .container-nav .mod-menu button {
  font-weight:
    var(--inscale-font-weight-menu, 400) !important;
}

/* Buttons throughout Joomla and JoomShopping */
body button:not(.mm-toggler):not(.navbar-toggler),
body .btn,
body a.btn,
body input[type="button"],
body input[type="submit"],
body input[type="reset"],
body .button,
body a.button,
body .jshop .btn,
body .jshop .button,
body .jshop a.btn,
body .jshop a.button,
body .jshop_list_product .btn,
body .jshop_list_product .button,
body .product .btn,
body .product .button,
body .productfull .btn,
body .productfull .button,
body .button_buy,
body .btn-buy,
body .buy-button,
body .add_to_cart,
body .button-cart {
  font-weight:
    var(--inscale-font-weight-button, 400) !important;
}

/* Product names in category lists and product grids */
body .jshop_list_product .name,
body .jshop_list_product .name a,
body .jshop_list_product .product_name,
body .jshop_list_product .product_name a,
body .jshop_list_product .product-title,
body .jshop_list_product .product-title a,
body .jshop_list_product .product_name_block,
body .jshop_list_product .product_name_block a,
body .block_product .name,
body .block_product .name a,
body .block_product .product_name,
body .block_product .product_name a,
body .product .name,
body .product .name a,
body .product .product_name,
body .product .product_name a,
body .product .product-title,
body .product .product-title a,
body .productfull .prod_title,
body .productfull .product_name,
body .jshop .product_name,
body .jshop .product_name a,
body .jshop .prod_title,
body .jshop .prod_title a,
body .last_seen_products .name,
body .last_seen_products .name a,
body .last_seen_products .product_name,
body .last_seen_products .product_name a,
body .mod_jshopping_latest_products .name,
body .mod_jshopping_latest_products .name a,
body .mod_jshopping_top_products .name,
body .mod_jshopping_top_products .name a {
  font-weight:
    var(--inscale-font-weight-product-title, 400) !important;
}

/*
 * Descriptive and metadata text inside cards and product
 * pages. Prices, names and buttons are intentionally not
 * included here.
 */
body .jshop_list_product :where(
  .description,
  .product_short_description,
  .short_description,
  .product_info,
  .manufacturer_name,
  .manufacturer,
  .product_ean,
  .product_code,
  .extra_fields,
  .extra_field,
  .product_label,
  .delivery,
  .availability,
  .stock,
  .attributes,
  .product_attr,
  .product-details,
  .product_meta,
  small
),
body .block_product :where(
  .description,
  .product_short_description,
  .short_description,
  .product_info,
  .manufacturer_name,
  .manufacturer,
  .product_ean,
  .product_code,
  .extra_fields,
  .extra_field,
  .product_label,
  .delivery,
  .availability,
  .stock,
  .attributes,
  .product_attr,
  .product-details,
  .product_meta,
  small
),
body .product :where(
  .description,
  .product_short_description,
  .short_description,
  .product_info,
  .manufacturer_name,
  .manufacturer,
  .product_ean,
  .product_code,
  .extra_fields,
  .extra_field,
  .product_label,
  .delivery,
  .availability,
  .stock,
  .attributes,
  .product_attr,
  .product-details,
  .product_meta,
  small
),
body .productfull :where(
  .description,
  .product_description,
  .jshop_prod_description,
  .product_short_description,
  .short_description,
  .product_info,
  .manufacturer_name,
  .manufacturer,
  .product_ean,
  .product_code,
  .extra_fields,
  .extra_field,
  .delivery,
  .availability,
  .stock,
  .attributes,
  .product_attr,
  .product-details,
  .product_meta,
  .text_zoom,
  small
),
body .jshop :where(
  .description,
  .product_description,
  .jshop_prod_description,
  .product_short_description,
  .short_description,
  .product_info,
  .manufacturer_name,
  .manufacturer,
  .product_ean,
  .product_code,
  .extra_fields,
  .extra_field,
  .delivery,
  .availability,
  .stock,
  .attributes,
  .product_attr,
  .product-details,
  .product_meta,
  small
) {
  font-weight:
    var(--inscale-font-weight-product-text, 300) !important;
}

/*
 * Common plain text in the detailed product page.
 * Exclude prices, names, headings and buttons.
 */
body .productfull :where(p, li, dt, dd, label, span)
:not(.price)
:not(.product_price)
:not(.old_price)
:not(.name)
:not(.product_name)
:not(.prod_title)
:not(.btn)
:not(.button)
:not(.fa)
:not(.fas)
:not(.far)
:not(.fab)
:not([class^="icon-"])
:not([class*=" icon-"]) {
  font-weight:
    var(--inscale-font-weight-product-text, 300);
}
/* InScale product typography controls:end */

/* InScale manufacturer pilot:begin */
/*
 * Manufacturer section: wide content, no shop sidebars.
 * The body class comes from menu pageclass_sfx.
 */
body.inscale-manufacturer .container-sidebar-left,
body.inscale-manufacturer .container-sidebar-right {
  display: none !important;
}

body.inscale-manufacturer .site-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  width: min(1500px, calc(100% - 32px));
  max-width: 1500px;
  margin-inline: auto;
}

body.inscale-manufacturer .container-component {
  grid-column: 1 / -1 !important;
  width: 100%;
  max-width: none !important;
  min-width: 0;
}

/* Category description / shop entry */
.inscale-store-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin: 0 0 28px;
  padding: 20px 24px;
  border: 1px solid rgb(23 50 77 / 18%);
  border-radius: var(--inscale-radius, 8px);
  background: var(--inscale-navy, #17324d);
  color: #fff;
}

.inscale-store-banner__title {
  margin: 0 0 3px;
  font-family: var(--inscale-font-headings, inherit);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: var(--inscale-font-weight-headings, 400);
}

.inscale-store-banner__text {
  margin: 0;
  opacity: .86;
}

.inscale-store-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 4px;
  background: #fff;
  color: var(--inscale-navy, #17324d);
  font-weight: var(--inscale-font-weight-button, 400);
  text-decoration: none;
}

.inscale-store-banner__button:hover,
.inscale-store-banner__button:focus-visible {
  color: #fff;
  background: transparent;
}

/* News / model card */
.inscale-model-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgb(23 50 77 / 15%);
  border-radius: var(--inscale-radius, 8px);
  background: var(--inscale-surface, #fff);
  box-shadow: 0 3px 14px rgb(16 38 58 / 7%);
}

.inscale-model-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef1f3;
  text-decoration: none;
}

.inscale-model-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.inscale-model-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #6c7680;
  font-size: 1rem;
  letter-spacing: .05em;
}

.inscale-model-card__body {
  padding: 18px 20px 20px;
}

.inscale-model-card__eyebrow,
.inscale-model-page__eyebrow {
  margin: 0 0 8px;
  color: var(--inscale-red, #d8453a);
  font-size: .83rem;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.inscale-model-card__title {
  margin: 0;
  font-family: var(--inscale-font-headings, inherit);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: var(--inscale-font-weight-product-title, 400);
  line-height: 1.16;
}

.inscale-model-card__title a {
  color: var(--inscale-text, #20252a);
  text-decoration: none;
}

.inscale-model-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 10px;
  color: #63717d;
  font-size: .92rem;
}

.inscale-model-card__more {
  display: inline-block;
  margin-top: 14px;
  color: var(--inscale-link, #275c88);
  font-weight: 400;
  text-decoration: none;
}

/* Full model page */
.inscale-model-page {
  width: 100%;
}

.inscale-model-page__hero {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: stretch;
  margin-bottom: 28px;
}

/*
 * The box art and the specification panel form one visual pair.
 * Keep both as quiet white catalogue cards on the grey page background.
 */
.inscale-model-page__hero > div:last-child {
  display: flex;
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgb(23 50 77 / 14%);
  border-radius: 6px;
  background: #fff;
}

.inscale-model-page__box {
  display: grid;
  min-height: 360px;
  height: 100%;
  place-items: center;
  padding: 16px;
  border: 1px solid rgb(23 50 77 / 14%);
  border-radius: 6px;
  background: #fff;
}

.inscale-model-page__box img {
  display: block;
  width: 100%;
  max-height: 580px;
  object-fit: contain;
}

.inscale-model-page__box .inscale-model-card__placeholder {
  min-height: 320px;
}

.inscale-model-page__title {
  max-width: 24ch;
  margin: 0;
  font-family: var(--inscale-font-headings, inherit);
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  font-weight: var(--inscale-font-weight-product-title, 400);
  line-height: 1.08;
}

.inscale-model-page__hero > div:last-child > p {
  margin: 12px 0 0;
}

.inscale-model-page__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0 0;
  overflow: hidden;
  border: 1px solid rgb(23 50 77 / 14%);
  border-radius: 6px;
  background: rgb(23 50 77 / 12%);
}

.inscale-model-page__fact {
  display: flex;
  min-height: 68px;
  padding: 12px 14px;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.inscale-model-page__fact small {
  display: block;
  margin-bottom: 2px;
  color: #76838e;
  font-size: .76rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.inscale-model-page__fact strong {
  color: var(--inscale-text, #20252a);
  font-size: .98rem;
  font-weight: 400;
  line-height: 1.25;
}

.inscale-model-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #edf4ec;
  color: #315d31;
  font-size: .87rem;
}

.inscale-model-page__shop {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgb(39 92 136 / 20%);
  border-radius: 6px;
  background: rgb(39 92 136 / 5%);
}

.inscale-model-page__shop p {
  margin: 0 0 12px;
}

.inscale-model-page__shop a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 16px;
  border-radius: 4px;
  background: var(--inscale-red, #d8453a);
  color: #fff;
  font-weight: var(--inscale-font-weight-button, 400);
  text-decoration: none;
}

.inscale-model-section {
  margin: 28px 0;
  padding: 22px 24px 24px;
  border: 1px solid rgb(23 50 77 / 14%);
  border-radius: 6px;
  background: #fff;
}

.inscale-model-section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.inscale-model-placeholder {
  padding: 18px 20px;
  border-left: 3px solid rgb(23 50 77 / 25%);
  background: rgb(23 50 77 / 4%);
  color: #64717c;
}

/* Dynamic gallery — InScale / HiveMind-style */
.inscale-model-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
  width: 100%;
}

.inscale-model-gallery__item {
  display: block;
  width: 100%;
  height: 145px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(23 50 77 / 14%);
  border-radius: 5px;
  background: #fff;
  cursor: zoom-in;
  line-height: 0;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.inscale-model-gallery__item:hover,
.inscale-model-gallery__item:focus-visible {
  z-index: 2;
  border-color: rgb(39 92 136 / 35%);
  box-shadow: 0 5px 20px rgb(16 38 58 / 16%);
  transform: translateY(-2px);
  outline: none;
}

.inscale-model-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border: 0;
  object-fit: cover;
  object-position: center;
  transition: transform .2s ease;
}

.inscale-model-gallery__item:hover img,
.inscale-model-gallery__item:focus-visible img {
  transform: scale(1.035);
}

body.inscale-gallery-open {
  overflow: hidden !important;
}

.inscale-gallery-modal {
  display: none;
  position: fixed;
  z-index: 100000;
  inset: 0;
  background: rgb(0 0 0 / 90%);
  color: #fff;
}

.inscale-gallery-modal.is-open {
  display: block;
}

.inscale-gallery-modal * {
  box-sizing: border-box;
}

.inscale-gallery-modal__topbar {
  position: fixed;
  z-index: 100004;
  top: 15px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 5px;
  background: rgb(18 18 18 / 84%);
  box-shadow: 0 3px 16px rgb(0 0 0 / 38%);
  transform: translateX(-50%);
}

.inscale-gallery-modal__tool {
  display: inline-flex;
  width: 38px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: rgb(255 255 255 / 82%);
  cursor: pointer;
  font: 24px/1 Arial, sans-serif;
}

.inscale-gallery-modal__tool:hover,
.inscale-gallery-modal__tool:focus-visible {
  background: rgb(255 255 255 / 12%);
  color: #fff;
  outline: none;
}

.inscale-gallery-modal__play {
  font-size: 15px;
}

.inscale-gallery-modal__close {
  font-size: 28px;
}

.inscale-gallery-modal__counter {
  min-width: 58px;
  padding: 0 7px;
  color: rgb(255 255 255 / 76%);
  font: 13px/34px Arial, sans-serif;
  text-align: center;
  white-space: nowrap;
}

.inscale-gallery-modal__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 62px 92px 32px;
}

.inscale-gallery-modal__image {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 185px);
  max-height: calc(100vh - 98px);
  border: 0;
  object-fit: contain;
  cursor: pointer;
  opacity: 1;
  transition: opacity .15s ease;
  filter: drop-shadow(0 12px 32px rgb(0 0 0 / 50%));
}

.inscale-gallery-modal__side {
  position: fixed;
  z-index: 100004;
  top: 50%;
  display: flex;
  width: 58px;
  height: 96px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgb(0 0 0 / 18%);
  color: rgb(255 255 255 / 62%);
  cursor: pointer;
  font: 74px/1 Arial, sans-serif;
  text-shadow: 0 2px 14px rgb(0 0 0 / 85%);
  transform: translateY(-50%);
}

.inscale-gallery-modal__side:hover,
.inscale-gallery-modal__side:focus-visible {
  background: rgb(0 0 0 / 38%);
  color: #fff;
  outline: none;
}

.inscale-gallery-modal__side--prev {
  left: 18px;
}

.inscale-gallery-modal__side--next {
  right: 18px;
}

.inscale-model-documents {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inscale-model-documents--standalone {
  margin: 18px 0 24px;
  padding: 14px 16px;
  border: 1px solid rgb(23 50 77 / 14%);
  border-radius: 6px;
  background: #fff;
}

.inscale-model-document {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgb(39 92 136 / 25%);
  border-radius: 4px;
  color: var(--inscale-link, #275c88);
  text-decoration: none;
}

.inscale-model-document:hover,
.inscale-model-document:focus-visible {
  border-color: rgb(39 92 136 / 50%);
  background: rgb(39 92 136 / 5%);
}

@media (max-width: 760px) {
  .inscale-model-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .inscale-model-gallery__item {
    height: 120px;
  }

  .inscale-gallery-modal__stage {
    padding: 60px 14px 24px;
  }

  .inscale-gallery-modal__image {
    max-width: calc(100vw - 28px);
    max-height: calc(100vh - 92px);
  }

  .inscale-gallery-modal__side {
    top: auto;
    bottom: 14px;
    width: 48px;
    height: 48px;
    background: rgb(0 0 0 / 48%);
    font-size: 42px;
    transform: none;
  }

  .inscale-gallery-modal__side--prev {
    left: 14px;
  }

  .inscale-gallery-modal__side--next {
    right: 14px;
  }

  .inscale-gallery-modal__topbar {
    top: 8px;
  }
}

@media (max-width: 760px) {
  .inscale-store-banner {
    grid-template-columns: 1fr;
  }

  .inscale-store-banner__button {
    justify-self: start;
  }

  .inscale-model-page__hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .inscale-model-page__hero > div:last-child {
    padding: 20px;
  }

  .inscale-model-page__title {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .inscale-model-page__box {
    min-height: 240px;
  }

  .inscale-model-page__facts {
    grid-template-columns: 1fr;
  }
}


/* InScale box gallery trigger:begin */
.inscale-model-page__box-button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  line-height: 0;
  text-align: inherit;
}

.inscale-model-page__box-button:focus-visible {
  outline: 2px solid rgb(39 92 136 / 55%);
  outline-offset: 3px;
}

.inscale-model-page__box-button img {
  display: block;
  width: 100%;
  height: auto;
}
/* InScale box gallery trigger:end */

/* InScale model navigation and embedded galleries:begin */
.inscale-model-description > :first-child {
  margin-top: 0;
}

.inscale-model-description > :last-child {
  margin-bottom: 0;
}

.inscale-model-description-gallery {
  margin: 18px 0 22px;
}

.inscale-model-page__shop > a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
}

.inscale-model-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  margin: 24px 0 6px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(23 50 77 / 14%);
  border-radius: 6px;
  background: #fff;
}

.inscale-model-nav > div {
  display: flex;
  min-width: 0;
  min-height: 56px;
  padding: 13px 16px;
  align-items: center;
}

.inscale-model-nav > div:last-child {
  justify-content: flex-end;
  border-left: 1px solid rgb(23 50 77 / 14%);
  text-align: right;
}

.inscale-model-nav__link {
  display: inline-block;
  max-width: 100%;
  color: var(--inscale-link, #275c88);
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.inscale-model-nav__link:hover,
.inscale-model-nav__link:focus-visible {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .inscale-model-nav {
    grid-template-columns: 1fr;
  }

  .inscale-model-nav > div:last-child {
    justify-content: flex-start;
    border-top: 1px solid rgb(23 50 77 / 14%);
    border-left: 0;
    text-align: left;
  }
}
/* InScale model navigation and embedded galleries:end */
/* InScale manufacturer pilot:end */

/* InScale manufacturer catalog ui:begin */
/*
 * Manufacturer catalog filters + local search.
 */
.inscale-catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid rgb(23 50 77 / 15%);
  border-radius: var(--inscale-radius, 8px);
  background: var(--inscale-surface, #fff);
  box-shadow: 0 2px 10px rgb(16 38 58 / 5%);
}

.inscale-catalog-toolbar[hidden] {
  display: none !important;
}

.inscale-catalog-toolbar__filters {
  display: grid;
  grid-template-columns:
    minmax(220px, 1.2fr)
    minmax(130px, .58fr)
    minmax(190px, 1fr)
    minmax(150px, .72fr)
    auto;
  gap: 10px;
  align-items: end;
}

.inscale-catalog-filter {
  display: grid;
  gap: 5px;
  margin: 0;
}

.inscale-catalog-filter > span {
  color: #6b7883;
  font-size: .76rem;
  line-height: 1.2;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.inscale-catalog-filter input,
.inscale-catalog-filter select {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgb(23 50 77 / 20%);
  border-radius: 4px;
  background-color: #fff;
  color: var(--inscale-text, #20252a);
}

.inscale-catalog-filter input {
  padding: 7px 10px;
}

.inscale-catalog-filter input::placeholder {
  color: #89949d;
}

.inscale-catalog-filter select {
  padding: 7px 34px 7px 10px;
}

.inscale-catalog-filter input:focus,
.inscale-catalog-filter select:focus {
  border-color: rgb(39 92 136 / 52%);
  outline: 0;
  box-shadow: 0 0 0 2px rgb(39 92 136 / 8%);
}

.inscale-catalog-filter-reset {
  min-height: 40px;
  padding: 7px 14px;
  border: 1px solid rgb(23 50 77 / 22%);
  border-radius: 4px;
  background: transparent;
  color: var(--inscale-link, #275c88);
  cursor: pointer;
}

.inscale-catalog-filter-reset:hover,
.inscale-catalog-filter-reset:focus-visible {
  background: rgb(39 92 136 / 6%);
}

.inscale-catalog-toolbar__result {
  min-width: 108px;
  padding-bottom: 8px;
  color: #667480;
  text-align: right;
  white-space: nowrap;
}

.inscale-catalog-toolbar__result strong {
  color: var(--inscale-navy, #17324d);
  font-size: 1.2rem;
}

.inscale-catalog-item--hidden {
  display: none !important;
}

body.inscale-manufacturer
.inscale-model-card--no-box
.inscale-model-card__placeholder {
  font-size: .88rem;
  letter-spacing: .035em;
}

body.inscale-manufacturer
.inscale-model-card--no-box
.inscale-model-card__body {
  padding-top: 14px;
}

body.inscale-manufacturer
.blog-items.inscale-catalog--empty::after {
  display: block;
  grid-column: 1 / -1;
  padding: 34px 20px;
  border: 1px dashed rgb(23 50 77 / 22%);
  border-radius: 6px;
  color: #687581;
  content: "По выбранным параметрам моделей нет.";
  text-align: center;
}

/*
 * The old store-entry banner belongs to the shop, not manufacturer Home.
 * Its database content is removed by the installer; this is a safety fallback.
 */
body.inscale-manufacturer .inscale-store-banner {
  display: none !important;
}

@media (max-width: 1000px) {
  .inscale-catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .inscale-catalog-toolbar__filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inscale-catalog-filter--search {
    grid-column: 1 / -1;
  }

  .inscale-catalog-toolbar__result {
    padding: 0;
    text-align: left;
  }
}

@media (max-width: 580px) {
  .inscale-catalog-toolbar__filters {
    grid-template-columns: 1fr;
  }

  .inscale-catalog-filter--search {
    grid-column: auto;
  }

  .inscale-catalog-filter-reset {
    width: 100%;
  }
}
/* InScale manufacturer catalog ui:end */

/* InScale manufacturer/store shell split:begin */
/*
 * Manufacturer shell is intentionally isolated from JoomShopping.
 * Store keeps the original 3-column commercial header.
 */

/* ---------- Manufacturer header ---------- */

body.inscale-manufacturer-shell .inscale-header-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  gap: 0;
  padding-block: 1rem;
}

body.inscale-manufacturer-shell .inscale-header-brand {
  display: flex;
  width: 100%;
  min-width: 0;
  justify-content: center;
  align-items: center;
  justify-self: stretch;
  text-align: center;
}

body.inscale-manufacturer-shell .inscale-header-brand > a {
  display: inline-flex;
  margin-inline: auto;
  align-items: center;
  justify-content: center;
}

body.inscale-manufacturer-shell .inscale-header-brand img {
  display: block;
  width: min(220px, 75vw);
  height: auto;
  margin-inline: auto;
}

/* ---------- Manufacturer navigation ---------- */

body.inscale-manufacturer-shell .inscale-nav-shell {
  background: var(--inscale-surface);
}

body.inscale-manufacturer-shell .container-nav {
  display: flex;
  min-height: 56px;
  justify-content: center;
  align-items: center;
}

/* ---------- Manufacturer footer ---------- */

body.inscale-manufacturer-shell .footer {
  color: #dce6ee;
  background: var(--inscale-navy-deep);
  background-image: none;
}

.inscale-manufacturer-footer {
  display: grid;
  width: min(calc(100% - 32px), var(--inscale-content-max));
  max-width: var(--inscale-content-max);
  margin-inline: auto;
  padding-block: 2.35rem 1.35rem;
  grid-template-columns:
  minmax(240px, 1fr)
  minmax(260px, 1fr)
  minmax(280px, auto);
  gap: clamp(1.5rem, 6vw, 5rem);
  align-items: start;
}

.inscale-manufacturer-footer__about h2 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 1rem;
}

.inscale-manufacturer-footer__about p {
  max-width: 420px;
  margin: 0;
  color: #aebdca;
}

.inscale-manufacturer-footer__brand strong {
  display: block;
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 1.35rem;
}

.inscale-manufacturer-footer__brand p {
  max-width: 460px;
  margin: 0;
  color: #aebdca;
}

.inscale-manufacturer-footer__contacts {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.inscale-manufacturer-footer__contacts h2 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 1rem;
}

.inscale-manufacturer-footer__contacts a,
.inscale-manufacturer-footer__contacts > span {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  color: #dce6ee;
  text-decoration: none;
}

.inscale-manufacturer-footer__contacts a:hover {
  color: #fff;
  text-decoration: underline;
}

.inscale-manufacturer-footer__vk {
  width: fit-content;
  min-width: 2.45rem;
  min-height: 2.45rem;
  margin-top: 0.35rem;
  padding: 0.4rem 0.65rem;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 0.55rem;
  background: rgb(255 255 255 / 8%);
}

.inscale-manufacturer-footer__bottom {
  grid-column: 1 / -1;
  padding-top: 1rem;
  color: #93a7b8;
  border-top: 1px solid rgb(255 255 255 / 10%);
}

/* ---------- Mobile ---------- */

@media (max-width: 767.98px) {
  .inscale-manufacturer-footer {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding-block: 2rem 1.15rem;
  }

  .inscale-manufacturer-footer__bottom {
    grid-column: 1;
  }
}
/* InScale manufacturer/store shell split:end */

/* InScale manufacturer catalog layout v2:begin */
/*
 * Manufacturer category blog:
 * 3 columns on modern wide screens, 2 on ordinary desktop/tablet,
 * 1 on mobile.
 */

body.inscale-manufacturer-shell .blog-items,
body.inscale-manufacturer .blog-items {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px;
  align-items: stretch;
}

@media (min-width: 1440px) {
  body.inscale-manufacturer-shell .blog-items,
  body.inscale-manufacturer .blog-items {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767.98px) {
  body.inscale-manufacturer-shell .blog-items,
  body.inscale-manufacturer .blog-items {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px;
  }
}

/*
 * Joomla blog wrappers must be allowed to stretch with the grid cell.
 */
body.inscale-manufacturer-shell .blog-item,
body.inscale-manufacturer .blog-item {
  min-width: 0;
  height: 100%;
  margin: 0;
}

/*
 * Cards with real box art:
 * render the image naturally at full card width.
 * JS later clips only the BOTTOM where a row needs equal height.
 */
body.inscale-manufacturer-shell
.inscale-model-card:not(.inscale-model-card--no-box)
.inscale-model-card__media,
body.inscale-manufacturer
.inscale-model-card:not(.inscale-model-card--no-box)
.inscale-model-card__media {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
  background: #fff;
}

body.inscale-manufacturer-shell
.inscale-model-card:not(.inscale-model-card--no-box)
.inscale-model-card__media img,
body.inscale-manufacturer
.inscale-model-card:not(.inscale-model-card--no-box)
.inscale-model-card__media img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  margin: 0;
  object-fit: contain;
  object-position: 50% 0%;
  background: #fff;
}

/*
 * No-box cards keep their deliberately compact placeholder mode.
 */
body.inscale-manufacturer-shell
.inscale-model-card--no-box
.inscale-model-card__media,
body.inscale-manufacturer
.inscale-model-card--no-box
.inscale-model-card__media {
  height: 108px;
  min-height: 108px;
  aspect-ratio: auto;
}

/*
 * Equal-height card shells make three-column rows visually orderly even
 * when titles wrap to a different number of lines.
 */
body.inscale-manufacturer-shell .inscale-model-card,
body.inscale-manufacturer .inscale-model-card {
  display: flex;
  height: 100%;
  min-width: 0;
  flex-direction: column;
}

body.inscale-manufacturer-shell .inscale-model-card__body,
body.inscale-manufacturer .inscale-model-card__body {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
}

body.inscale-manufacturer-shell .inscale-model-card__more,
body.inscale-manufacturer .inscale-model-card__more {
  margin-top: auto;
  padding-top: 14px;
}

/*
 * JS sets an inline pixel height only on real box media containers.
 * This class is useful for debugging and makes the behavior explicit.
 */
body.inscale-manufacturer-shell
.inscale-model-card__media.inscale-box-row-synced,
body.inscale-manufacturer
.inscale-model-card__media.inscale-box-row-synced {
  overflow: hidden;
}

/*
 * On one-column mobile layout the full natural image is always shown.
 */
@media (max-width: 767.98px) {
  body.inscale-manufacturer-shell
  .inscale-model-card__media.inscale-box-row-synced,
  body.inscale-manufacturer
  .inscale-model-card__media.inscale-box-row-synced {
    height: auto !important;
  }
}

/* Compact manufacturer hero */
body.inscale-manufacturer-shell .inscale-hero {
  height: 280px;
}

/* Bold text in hero Custom HTML module */
.inscale-hero .inscale-hero-bold h1,
.inscale-hero .inscale-hero-bold h2,
.inscale-hero .inscale-hero-bold h3,
.inscale-hero .inscale-hero-bold p,
.inscale-hero .inscale-hero-bold strong,
.inscale-hero .inscale-hero-bold b {
  font-weight: 400 !important;
}

/* Выравнивание трёх колонок подвала по верхнему краю */
.inscale-manufacturer-footer__brand,
.inscale-manufacturer-footer__about,
.inscale-manufacturer-footer__contacts {
  align-self: start;
  margin: 0;
  padding-top: 0;
}

/* Убираем возможные верхние отступы у первых элементов */
.inscale-manufacturer-footer__brand > :first-child,
.inscale-manufacturer-footer__about > :first-child,
.inscale-manufacturer-footer__contacts > :first-child {
  margin-top: 0 !important;
}

/* ==========================================================================
   Manufacturer menu directly below hero
   ========================================================================== */

@media (min-width: 992px) {

  body.inscale-manufacturer-shell
  .inscale-nav-shell--manufacturer-after-hero {
    margin: 0;
    padding: 0;
  }

  body.inscale-manufacturer-shell
  .inscale-nav-shell--manufacturer-after-hero
  .container-nav {
    display: flex;
    width: 100%;
    min-height: 56px;
    padding: 0;
    justify-content: center;
    align-items: center;
  }

  body.inscale-manufacturer-shell
  .inscale-nav-shell--manufacturer-after-hero
  .navbar {
    display: flex;
    width: auto;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
  }

  body.inscale-manufacturer-shell
  .inscale-nav-shell--manufacturer-after-hero
  .navbar-collapse {
    display: flex !important;
    width: auto;
    flex-basis: auto;
    flex-grow: 0;
    justify-content: center;
    align-items: center;
  }

  body.inscale-manufacturer-shell
  .inscale-nav-shell--manufacturer-after-hero
  .mod-menu {
    display: flex !important;
    width: auto;
    margin: 0;
    padding: 0;
    flex-direction: row !important;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
  }

  body.inscale-manufacturer-shell
  .inscale-nav-shell--manufacturer-after-hero
  .metismenu-item {
    display: flex;
    width: auto !important;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
  }

  body.inscale-manufacturer-shell
  .inscale-nav-shell--manufacturer-after-hero
  .metismenu-item > a,
  body.inscale-manufacturer-shell
  .inscale-nav-shell--manufacturer-after-hero
  .metismenu-item > button {
    display: inline-flex;
    width: auto !important;
    min-height: 56px;
    padding: 0.75rem 1rem;
    align-items: center;
    white-space: nowrap;
  }
}

/* ==========================================================
   Manufacturer: menu polish + compact spacing
   ========================================================== */

/* Никакого подчёркивания у пунктов меню */
body.inscale-manufacturer-shell
.inscale-nav-shell--manufacturer-after-hero
.mod-menu a,
body.inscale-manufacturer-shell
.inscale-nav-shell--manufacturer-after-hero
.mod-menu a:hover,
body.inscale-manufacturer-shell
.inscale-nav-shell--manufacturer-after-hero
.mod-menu a:focus,
body.inscale-manufacturer-shell
.inscale-nav-shell--manufacturer-after-hero
.mod-menu .active > a {
  text-decoration: none !important;
}

/* Меню вплотную к следующей области */
body.inscale-manufacturer-shell
.inscale-nav-shell--manufacturer-after-hero {
  margin-bottom: 0 !important;
}

/* Уменьшаем вертикальный зазор под меню примерно втрое */
body.inscale-manufacturer-shell .site-grid {
  padding-top: 0 !important;
}

/* Убираем возможные дополнительные отступы контейнера */
body.inscale-manufacturer-shell .container-component,
body.inscale-manufacturer-shell .container-component > main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Панель фильтров не создаёт дополнительный верхний зазор */
body.inscale-manufacturer-shell .inscale-catalog-toolbar {
  margin-top: 0 !important;
}

/* Убрать пустоту между меню производителя и каталогом */
body.inscale-manufacturer-shell.itemid-477 .container-component,
body.inscale-manufacturer-shell.itemid-477 .container-component > main,
body.inscale-manufacturer-shell.itemid-477 .com-content-category-blog,
body.inscale-manufacturer-shell.itemid-477 .blog {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Manufacturer: убрать пустые строки сетки Cassiopeia */
body.inscale-manufacturer-shell.itemid-477 .site-grid {
  margin-top: 0 !important;
  padding-top: 0 !important;
  grid-template-areas: none !important;
  grid-template-rows: auto !important;
  row-gap: 0 !important;
}

body.inscale-manufacturer-shell.itemid-477 .container-component {
  grid-area: auto !important;
  grid-row: 1 !important;
  grid-column: 1 / -1 !important;
}
body.inscale-manufacturer-shell.itemid-477 .inscale-catalog-toolbar {
  margin-top: 24px !important;
}

/* Chrome: prevent scroll jump on manufacturer catalog page */
body.inscale-manufacturer-shell.itemid-477 .site-grid,
body.inscale-manufacturer-shell.itemid-477 .blog-items,
body.inscale-manufacturer-shell.itemid-477 .inscale-catalog-toolbar {
    overflow-anchor: none;
}

/* InScale manufacturer catalog layout v2:end */
