/* Shared catalog legacy layout CSS. Extracted from catalog templates. */

    /* BIZWELL legacy header replica: isolated, no old global CSS */
    .bw-legacy-header,
    .bw-legacy-footer {
      font-family: Inter, sans-serif;
      color: #121416;
      line-height: 22px;
      letter-spacing: normal;
      box-sizing: border-box;
    }

    .bw-legacy-header *,
    .bw-legacy-footer * {
      box-sizing: border-box;
    }

    .bw-legacy-container {
      width: 100%;
      max-width: 1416px;
      margin: 0 auto;
      padding-left: 12px;
      padding-right: 12px;
    }

    .bw-legacy-desktop {
      display: block;
    }

    .bw-legacy-top {
      height: 50px;
      padding: 6px 0;
      background: #fff;
      color: #414d58;
    }

    .bw-legacy-top-row {
      height: 38px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      width: 100%;
    }

    .bw-legacy-contact {
      display: flex;
      align-items: center;
      flex: 0 0 auto;
      padding: 0;
      margin: 0;
      color: #000;
      background: transparent;
      text-decoration: none;
      white-space: nowrap;
      font-size: 14px;
      font-weight: 400;
      line-height: 22px;
      letter-spacing: normal;
    }

    .bw-legacy-contact img {
      display: block;
      width: 22px;
      height: 22px;
      max-width: 22px;
      max-height: 22px;
      margin: 0 7px 0 0;
      padding: 0;
      object-fit: contain;
      flex: 0 0 auto;
    }

    .bw-legacy-contact strong {
      font-weight: 700;
    }

    .bw-legacy-callback {
      display: block;
      width: 154px;
      min-width: 154px;
      max-width: 154px;
      height: 38px;
      padding: 8px 15px;
      margin: 0;
      border: 0;
      border-radius: 6px;
      background: #0053cd;
      color: #fff;
      font-family: Inter, sans-serif;
      font-size: 14px;
      font-weight: 500;
      line-height: 20px;
      text-align: center;
      text-decoration: none;
      white-space: nowrap;
      cursor: pointer;
      appearance: none;
    }

    .bw-legacy-bottom {
      height: 63px;
      padding: 13px 0;
      background: #f3f5f7;
      border-bottom: 1px solid #b8bdc2;
    }

    .bw-legacy-bottom-row {
      height: 37px;
      display: grid;
      grid-template-columns: 209px 1fr 88px;
      align-items: center;
      gap: 24px;
      width: 100%;
    }

    .bw-legacy-logo {
      display: block;
      width: 209px;
      height: 37px;
      text-decoration: none;
      padding: 0;
      margin: 0;
    }

    .bw-legacy-logo img {
      display: block;
      width: 209px;
      height: 37px;
      padding: 0;
      margin: 0;
      object-fit: contain;
    }

    .bw-legacy-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: nowrap;
      width: 100%;
      height: 20px;
      margin: 0;
      padding: 0 45px;
      list-style: none;
      color: #121416;
      font-size: 16px;
      font-weight: 400;
      line-height: 20px;
      letter-spacing: normal;
    }

    .bw-legacy-nav li {
      flex: 0 0 auto;
      margin: 0;
      padding: 0;
      font-size: 16px;
      font-weight: 400;
      line-height: 20px;
    }

    .bw-legacy-nav a,
    .bw-legacy-nav span {
      position: relative;
      display: inline-block;
      margin: 0;
      padding: 0;
      color: #121416;
      background: transparent;
      text-decoration: none;
      white-space: nowrap;
      cursor: pointer;
      font-family: Inter, sans-serif;
      font-size: 16px;
      font-weight: 400;
      line-height: 20px;
      letter-spacing: normal;
    }

    .bw-legacy-nav a:hover,
    .bw-legacy-nav span:hover {
      color: #0053cd;
    }


.bw-legacy-nav-trigger {
  border: 0;
  appearance: none;
  background: transparent;
  cursor: default;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: normal;
  color: #121416;
}

.bw-legacy-nav-trigger:focus {
  outline: none;
  color: #0053cd;
}

.bw-legacy-social {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 16px;
      width: 88px;
      height: 36px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .bw-legacy-social a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      padding: 0;
      margin: 0;
      border-radius: 0;
      background: transparent;
      color: #121416;
      text-decoration: none;
      overflow: visible;
    }

    .bw-legacy-social img {
      display: block;
      width: 36px;
      height: 36px;
      max-width: 36px;
      max-height: 36px;
      padding: 0;
      margin: 0;
      object-fit: contain;
    }

    .bw-legacy-mobile {
      display: none;
    }

    .bw-legacy-footer {
      margin-top: 64px;
      padding: 56px 0 48px;
      color: #fff;
      background: #051423;
    }

    .bw-legacy-footer-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr 1.1fr;
      gap: 34px;
    }

    .bw-legacy-footer-title {
      margin: 0 0 24px;
      font-size: 16px;
      font-weight: 500;
      line-height: 22px;
      opacity: .4;
    }

    .bw-legacy-footer-menu {
      display: grid;
      gap: 4px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .bw-legacy-footer-menu a,
    .bw-legacy-footer-contact a,
    .bw-legacy-footer-bottom a {
      color: rgba(255,255,255,.8);
      text-decoration: none;
      font-size: 14px;
      line-height: 20px;
    }

    .bw-legacy-footer-menu a:hover,
    .bw-legacy-footer-contact a:hover,
    .bw-legacy-footer-bottom a:hover {
      color: #fff;
    }

    .bw-legacy-footer-logo {
      display: block;
      width: 170px;
      margin-bottom: 24px;
      text-decoration: none;
    }

    .bw-legacy-footer-logo img {
      display: block;
      max-width: 170px;
      height: auto;
    }

    .bw-legacy-footer-contact {
      display: grid;
      gap: 4px;
      margin: 0 0 24px;
      padding: 0;
      list-style: none;
    }

    .bw-legacy-footer-social {
      display: flex;
      gap: 16px;
      margin: 0 0 24px;
      padding: 0;
      list-style: none;
    }

    .bw-legacy-footer-social a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
    }

    .bw-legacy-footer-social img {
      display: block;
      width: 36px;
      height: 36px;
      object-fit: contain;
    }

    .bw-legacy-footer-address {
      margin: 0 0 12px;
      color: rgba(255,255,255,.8);
      font-style: normal;
      font-size: 14px;
      line-height: 20px;
    }

    .bw-legacy-footer-work {
      color: rgba(255,255,255,.8);
      line-height: 20px;
    }

    .bw-legacy-footer-work strong {
      display: block;
      color: #fff;
      font-size: 22px;
      font-weight: 500;
      line-height: 28px;
    }

    .bw-legacy-footer-bottom {
      border-top: 1px solid rgba(255,255,255,.12);
      margin-top: 36px;
      padding-top: 18px;
      display: flex;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      color: rgba(255,255,255,.55);
      font-size: 14px;
      line-height: 20px;
    }

    @media (max-width: 1199.98px) {
      .bw-legacy-callback {
        display: none;
      }
    }

    @media (max-width: 1199.98px) {
      .bw-legacy-desktop {
        display: none;
      }

      .bw-legacy-mobile {
        display: block;
        background: #fff;
        padding: 10px;
        border-bottom: 1px solid #b8bdc2;
      }

      .bw-legacy-mobile-row {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
      }

      .bw-legacy-mobile-logo {
        display: block;
        width: 90px;
        text-decoration: none;
      }

      .bw-legacy-mobile-logo img {
        display: block;
        width: 90px;
        height: auto;
      }

      .bw-legacy-mobile-phone {
        display: flex;
        align-items: center;
        color: #121416;
        text-decoration: none;
        font-size: 14px;
        line-height: 20px;
        white-space: nowrap;
      }

      .bw-legacy-mobile-phone img {
        width: 16px;
        min-width: 23px;
        height: auto;
        margin-right: 7px;
        object-fit: none;
      }

      .bw-legacy-burger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 18px;
        padding: 0;
        border: 0;
        background: transparent;
        color: inherit;
        cursor: pointer;
      }

      .bw-legacy-mobile-menu {
        display: none;
        padding: 18px 0 12px;
      }

      .bw-legacy-mobile-menu.is-open {
        display: block;
      }

      .bw-legacy-mobile-menu a {
        display: block;
        padding: 9px 0;
        color: #121416;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        line-height: 22px;
      }

      .bw-legacy-footer-grid {
        grid-template-columns: 1fr;
      }
    }

    /* Phone should not be bold in legacy header */
    .bw-legacy-contact strong {
      font-weight: 400 !important;
    }

    /* ZSK color logic */
    .pill.zsk-green,
    .chip.zsk-green {
      background: #edf8f0 !important;
      color: #21A038 !important;
      border-color: rgba(33, 160, 56, .25) !important;
    }

    .pill.zsk-yellow,
    .chip.zsk-yellow {
      background: #fff8e1 !important;
      color: #9a6b00 !important;
      border-color: rgba(245, 176, 0, .35) !important;
    }

    .pill.zsk-red,
    .chip.zsk-red {
      background: #fff0f0 !important;
      color: #d93025 !important;
      border-color: rgba(217, 48, 37, .28) !important;
    }

    .pill.zsk-neutral,
    .chip.zsk-neutral {
      background: #f3f5f7 !important;
      color: #606b76 !important;
      border-color: rgba(96, 107, 118, .25) !important;
    }

    /* Keep footer at the bottom on short mobile pages */
    html {
      min-height: 100%;
    }

    body {
      min-height: 100vh;
      min-height: 100dvh;
      display: flex;
      flex-direction: column;
    }

    .bw-legacy-header {
      flex: 0 0 auto;
    }

    .wrap {
      flex: 1 0 auto;
    }

    .bw-legacy-footer {
      flex: 0 0 auto;
    }


/* Desktop header dropdown menu */
.bw-legacy-nav-item {
  position: relative;
}

.bw-legacy-nav-item.has-dropdown > a::after,
.bw-legacy-nav-item.has-dropdown > .bw-legacy-nav-trigger::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  margin-bottom: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.bw-legacy-nav-item.has-dropdown::after {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 18px;
}

.bw-legacy-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 200;
  min-width: 260px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(184, 189, 194, .55);
  border-radius: 6px;
  box-shadow: 0 18px 45px rgba(5, 20, 35, .14);
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

.bw-legacy-nav-item:hover > .bw-legacy-dropdown,
.bw-legacy-nav-item:focus-within > .bw-legacy-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.bw-legacy-dropdown li {
  display: block;
  width: 100%;
}

.bw-legacy-dropdown a {
  display: block !important;
  width: 100%;
  height: auto !important;
  padding: 10px 16px !important;
  color: #121416 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.bw-legacy-dropdown a:hover,
.bw-legacy-dropdown a:focus {
  color: #0053cd !important;
  background: #f3f5f7 !important;
}

@media (max-width: 767.98px) {
  .bw-legacy-dropdown {
    display: none !important;
  }

  .bw-legacy-nav-item.has-dropdown > a::after,
.bw-legacy-nav-item.has-dropdown > .bw-legacy-nav-trigger::after {
    display: none;
  }
}
