/* Architecture-specific layout fixes for the multisolutions branch. */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  padding: 11px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--graphite-light);
  font: inherit;
  font-size: 16.5px;
  font-weight: 850;
  cursor: pointer;
  transition: 0.2s ease;
}

.main-nav a:focus-visible,
.nav-dropdown > button:hover,
.nav-dropdown > button:focus-visible {
  background: var(--white);
  color: var(--orange);
  box-shadow: var(--soft-shadow);
  outline: none;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 34px rgba(52, 56, 59, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-panel a {
  display: block;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-dropdown-panel a.is-active {
  background: rgba(251, 156, 9, 0.12);
  color: var(--orange);
}

body.solution-subsite .site-header:not(.is-scrolled) {
  background: rgba(247, 249, 248, 0.88);
  box-shadow: none;
}

body.solution-subsite .site-header.is-scrolled {
  background: rgba(247, 249, 248, 0.88);
  box-shadow: 0 10px 26px rgba(52, 56, 59, 0.08);
}

.subsite-global-strip {
  position: relative;
  z-index: 4;
  border-bottom: 1px solid rgba(52, 56, 59, 0.10);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.subsite-global-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subsite-global-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.subsite-global-nav a,
.subsite-global-nav .nav-dropdown > button {
  padding: 8px 12px;
  color: var(--graphite-light);
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
}

.subsite-global-nav .nav-dropdown-panel a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  white-space: nowrap;
}

body.solution-subsite .header-inner {
  position: relative;
  z-index: 1;
  min-height: 92px;
}

.subsite-global-nav .nav-dropdown-panel {
  z-index: 220;
}

body.solution-subsite .solution-main-nav {
  justify-self: center;
  gap: 4px;
}

body.solution-subsite .solution-main-nav a,
body.solution-subsite .solution-main-nav .nav-dropdown > button {
  padding: 11px 15px;
  color: var(--graphite-light);
  font-size: 16.5px;
  font-weight: 850;
  text-decoration: none;
}

body.solution-subsite .solution-main-nav a:hover,
body.solution-subsite .solution-main-nav a:focus-visible,
body.solution-subsite .solution-main-nav .nav-dropdown > button:hover,
body.solution-subsite .solution-main-nav .nav-dropdown > button:focus-visible,
body.solution-subsite .solution-main-nav .nav-dropdown:focus-within > button {
  background: var(--white);
  color: var(--orange);
  box-shadow: var(--soft-shadow);
  outline: none;
}

body.solution-subsite .solution-main-nav a.is-active,
body.solution-subsite .solution-main-nav .nav-dropdown > button.is-active {
  color: var(--orange);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 20px rgba(52, 56, 59, 0.05);
}

.solution-context-nav {
  position: sticky;
  top: 134px;
  z-index: 80;
  border-top: 1px solid rgba(52, 56, 59, 0.06);
  border-bottom: 1px solid rgba(52, 56, 59, 0.14);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(52, 56, 59, 0.06);
  backdrop-filter: blur(18px);
}

.solution-context-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 70px;
  overflow-x: auto;
  scrollbar-width: none;
}

.solution-context-inner::-webkit-scrollbar {
  display: none;
}

.solution-context-inner a,
.solution-context-dropdown > button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--graphite);
  font: inherit;
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 900;
  padding: 13px 18px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.solution-context-inner a:hover,
.solution-context-inner a:focus-visible,
.solution-context-dropdown > button:hover,
.solution-context-dropdown > button:focus-visible {
  color: var(--graphite);
  background: rgba(240, 106, 18, 0.10);
  box-shadow: 0 8px 20px rgba(52, 56, 59, 0.06);
  outline: none;
}

.solution-context-dropdown {
  position: relative;
  flex: 0 0 auto;
}

.solution-context-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 34px rgba(52, 56, 59, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.solution-context-dropdown:hover .solution-context-panel,
.solution-context-dropdown:focus-within .solution-context-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.solution-context-panel a {
  display: block;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 15px;
  padding: 11px 12px;
}

.solution-rubro {
  background: #ffffff;
  color: var(--graphite);
}

.solution-rubro .container {
  padding-top: 13px;
  padding-bottom: 13px;
}

.solution-rubro span {
  display: inline-block;
}

.home-products-section .section-heading {
  max-width: 760px;
}

.about-sunnyflip-copy p:not(.about-sunnyflip-support) {
  color: var(--graphite);
  font-size: 19px;
  line-height: 1.72;
  font-weight: 400;
}

.home-products-intro {
  max-width: 820px;
  margin: 18px auto 0;
  color: var(--graphite);
  font-size: 19px;
  line-height: 1.72;
  font-weight: 400;
  text-align: center;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-product-link {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  min-width: 0;
  min-height: 100%;
  padding: clamp(20px, 3vw, 34px);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, color 0.18s ease;
}

.home-product-link + .home-product-link {
  border-left: 1px solid var(--line);
}

.home-product-link:hover,
.home-product-link:focus-visible {
  color: var(--orange);
  transform: translateY(-3px);
  outline: none;
}

.home-product-media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 10px;
}

.home-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-product-title {
  color: var(--graphite);
  font-size: 25px;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.home-product-text {
  color: var(--graphite-light);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 450;
}

@media (min-width: 1041px) {
  body.solution-subsite .site-header .header-inner,
  body.solution-subsite .site-header:not(.is-scrolled) .header-inner,
  body.solution-subsite .site-header.is-scrolled .header-inner {
    min-height: 84px;
  }

  body.solution-subsite .site-header .header-brand-mark,
  body.solution-subsite .site-header:not(.is-scrolled) .header-brand-mark,
  body.solution-subsite .site-header.is-scrolled .header-brand-mark {
    width: clamp(108px, 8.2vw, 118px);
  }
}

html[data-theme="dark"] .subsite-global-strip {
  background: rgba(27, 30, 31, 0.86);
  border-color: rgba(255, 255, 255, 0.10);
}

html[data-theme="dark"] body.solution-subsite .site-header,
html[data-theme="dark"] body.solution-subsite .site-header.is-scrolled {
  background: rgba(24, 26, 28, 0.88);
  background-color: rgba(24, 26, 28, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.10);
  box-shadow: none;
}

html[data-theme="dark"] body.solution-subsite .solution-main-nav a,
html[data-theme="dark"] body.solution-subsite .solution-main-nav .nav-dropdown > button,
html[data-theme="dark"] .subsite-global-nav a,
html[data-theme="dark"] .subsite-global-nav .nav-dropdown > button {
  color: rgba(240, 242, 241, 0.78);
}

html[data-theme="dark"] body.solution-subsite .solution-main-nav a:hover,
html[data-theme="dark"] body.solution-subsite .solution-main-nav a:focus-visible,
html[data-theme="dark"] body.solution-subsite .solution-main-nav .nav-dropdown > button:hover,
html[data-theme="dark"] body.solution-subsite .solution-main-nav .nav-dropdown > button:focus-visible,
html[data-theme="dark"] body.solution-subsite .solution-main-nav .nav-dropdown:focus-within > button,
html[data-theme="dark"] .subsite-global-nav a:hover,
html[data-theme="dark"] .subsite-global-nav a:focus-visible,
html[data-theme="dark"] .subsite-global-nav .nav-dropdown > button:hover,
html[data-theme="dark"] .subsite-global-nav .nav-dropdown > button:focus-visible,
html[data-theme="dark"] .subsite-global-nav .nav-dropdown:focus-within > button {
  background: rgba(255, 255, 255, 0.08);
  color: #f0f2f1;
  box-shadow: none;
}

html[data-theme="dark"] body.solution-subsite .solution-main-nav a.is-active,
html[data-theme="dark"] body.solution-subsite .solution-main-nav .nav-dropdown > button.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #f0f2f1;
}

html[data-theme="dark"] .solution-context-nav {
  background: rgba(27, 30, 31, 0.94);
  border-color: rgba(255, 255, 255, 0.10);
}

html[data-theme="dark"] .solution-context-panel,
html[data-theme="dark"] .nav-dropdown-panel {
  background: #202425;
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .home-product-grid,
html[data-theme="dark"] .home-product-link + .home-product-link {
  border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .subsite-global-strip {
    display: none;
  }

  .home-product-grid {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .home-product-link {
    border-bottom: 1px solid var(--line);
  }

  .home-product-link + .home-product-link {
    border-left: 0;
  }

  .solution-context-nav {
    top: 72px;
  }

  .solution-context-inner {
    justify-content: flex-start;
    min-height: 62px;
  }

  .solution-context-inner a,
  .solution-context-dropdown > button {
    font-size: 15px;
    padding: 11px 14px;
  }

  .home-product-media {
    aspect-ratio: 1 / 1;
    max-height: none;
  }
}
