cas-site-header,
cas-site-footer {
  display: block;
}

.brand-link {
  display: flex;
  align-items: center;
  min-width: 250px;
  flex-shrink: 0;
}

.brand-logo {
  width: min(250px, 100%);
  height: auto;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.cas-products-dropdown {
  position: relative;
  z-index: 1200;
  overflow: visible;
}

.cas-products-toggle {
  grid-column-gap: 6px;
  cursor: pointer;
}

.nav-main .main-nav-menu {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nav-main .nav-link,
.nav-main .top-nav-link,
.nav-main .cas-products-toggle {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.nav-main .nav-link.w--current,
.nav-main .top-nav-link.w--current,
.nav-main .cas-products-toggle.w--current {
  font-weight: 500;
}

.cas-products-toggle.w-dropdown-toggle {
  padding-right: 22px;
}

.cas-products-toggle .main-nav-dropdown-icon {
  width: 0.9em;
  margin-right: 0;
  right: 2px;
}

.cas-products-list {
  z-index: 1201;
  background-color: transparent;
  min-width: 0;
  padding: 14px 0 0;
  pointer-events: auto;
  position: absolute;
  inset: 100% auto auto 0;
}

.cas-products-list.w--open {
  display: block;
}

.cas-products-list-content {
  position: relative;
  z-index: 1202;
  width: 360px;
  margin-top: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 22px;
  box-shadow:
    0 26px 60px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.cas-product-link {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: #111827;
  text-decoration: none;
  pointer-events: auto;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.cas-product-link + .cas-product-link {
  margin-top: 10px;
}

.cas-product-link:hover,
.cas-product-link.w--current {
  background-color: rgba(255, 255, 255, 0.54);
  border-color: rgba(255, 71, 95, 0.22);
  color: #111827;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 71, 95, 0.08),
    0 10px 24px rgba(15, 23, 42, 0.08);
}

.cas-product-link-title {
  color: #101828;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.cas-product-link-body {
  margin-top: 6px;
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
}

@media screen and (min-width: 992px) {
  .nav-main .main-nav-menu {
    flex: 1 1 auto;
    justify-content: center;
    gap: clamp(32px, 4vw, 56px);
  }

  .nav-main .main-nav-link-holder,
  .nav-main .cas-products-dropdown {
    flex: 0 0 auto;
    align-items: center;
    margin: 0;
    padding: 0;
    display: flex;
  }

  .nav-main .nav-link,
  .nav-main .cas-products-toggle {
    padding-left: 0;
    padding-right: 0;
  }

  .cas-products-toggle.w-dropdown-toggle {
    padding-right: 18px;
  }
}

@media screen and (max-width: 991px) {
  .brand-link {
    min-width: 200px;
  }

  .brand-logo {
    width: min(220px, 100%);
  }

  .cas-products-dropdown {
    width: 100%;
  }

  .cas-products-list {
    padding-top: 8px;
    position: static;
    inset: auto;
  }

  .cas-products-list-content {
    width: 100%;
    padding: 8px 0 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .cas-product-link {
    background-color: rgba(245, 247, 251, 0.96);
  }
}

@media screen and (max-width: 767px) {
  .brand-link {
    min-width: 0;
    max-width: 72vw;
  }

  .brand-logo {
    width: min(168px, 100%);
  }
}
