/* CloudWill product showroom — spacious, Chinese-first, single-layer navigation. */
.cw-enhanced .cw-mega-menu {
  position: fixed;
  top: 90px;
  left: 50%;
  right: auto;
  width: min(1640px, calc(100vw - 64px));
  max-height: calc(100dvh - 118px);
  padding: 0;
  border: 1px solid rgba(71, 112, 165, 0.13);
  border-radius: 30px;
  background: rgba(250, 252, 255, 0.97);
  box-shadow: 0 28px 80px rgba(28, 62, 108, 0.17), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(24px) saturate(1.06);
  backdrop-filter: blur(24px) saturate(1.06);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px) scale(0.992);
  transform-origin: 50% 0;
  transition: opacity 180ms ease-out, transform 220ms cubic-bezier(.22, 1, .36, 1), visibility 220ms;
}

.cw-enhanced .cw-mega-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.cw-showroom,
.cw-showroom * {
  box-sizing: border-box;
}

.cw-enhanced .cw-mega-menu > .cw-showroom {
  --cw-blue: #2878ff;
  --cw-ink: #10233f;
  --cw-muted: #61758f;
  --cw-line: rgba(54, 100, 158, 0.11);
  position: relative;
  display: block;
  grid-template-columns: none;
  grid-template-areas: none;
  gap: 0;
  max-height: calc(100dvh - 118px);
  color: var(--cw-ink);
  background:
    radial-gradient(circle at 7% 22%, rgba(75, 139, 255, 0.10), transparent 27%),
    radial-gradient(circle at 93% 78%, rgba(54, 204, 164, 0.10), transparent 25%),
    linear-gradient(135deg, #fff 0%, #f8fbff 60%, #f5fcfa 100%);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(71, 115, 171, 0.28) transparent;
}

.cw-showroom-topline,
.cw-showroom-section {
  position: relative;
  z-index: 1;
}

.cw-showroom-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 84px;
  padding: 18px 36px;
  border-bottom: 1px solid var(--cw-line);
  background: rgba(255, 255, 255, 0.64);
}

.cw-showroom-topline h2 {
  margin: 0;
  font-size: clamp(28px, 1.85vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.cw-showroom-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 10px 0 20px;
  border: 1px solid rgba(40, 120, 255, 0.15);
  border-radius: 999px;
  background: rgba(240, 246, 255, 0.9);
  color: #2469cd;
  font-size: 14px;
  font-weight: 720;
  white-space: nowrap;
  transition: color 180ms ease-out, background 180ms ease-out, transform 180ms ease-out, box-shadow 180ms ease-out;
}

.cw-showroom-all span,
.cw-showroom-link-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--cw-blue);
  box-shadow: 0 5px 16px rgba(40, 120, 255, 0.12);
}

.cw-showroom svg {
  display: block;
  width: 18px;
  height: 18px;
}

.cw-showroom-all:hover,
.cw-showroom-all:focus-visible {
  color: #fff;
  background: #173e74;
  transform: translateY(-2px);
}

.cw-showroom-section {
  padding: 24px 36px 30px;
  border-bottom: 1px solid var(--cw-line);
}

.cw-showroom-section-heading {
  margin-bottom: 18px;
}

.cw-showroom-section-heading h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.cw-showroom-products {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.cw-showroom-product {
  position: relative;
  display: grid;
  grid-template-rows: 132px auto;
  min-width: 0;
  min-height: 184px;
  padding: 10px 12px 13px;
  border-radius: 22px;
  color: var(--cw-ink);
  isolation: isolate;
  transition: background 180ms ease-out, box-shadow 180ms ease-out, transform 200ms cubic-bezier(.22, 1, .36, 1);
}

.cw-showroom-product::before {
  content: "";
  position: absolute;
  inset: 10% 5% 2%;
  z-index: -1;
  border-radius: 44%;
  background: radial-gradient(circle, rgba(65, 143, 255, 0.13), transparent 68%);
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 180ms ease-out, transform 220ms cubic-bezier(.22, 1, .36, 1);
}

.cw-showroom-product-visual {
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
}

.cw-showroom-product-visual img {
  display: block;
  width: 100%;
  height: 126px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 14px 15px rgba(24, 55, 90, 0.12));
  transform: scale(0.94);
  transition: transform 220ms cubic-bezier(.22, 1, .36, 1), filter 180ms ease-out;
}

.cw-showroom-product-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}

.cw-showroom-product-info strong {
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.cw-showroom-product-info small {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(65, 211, 171, 0.14);
  color: #25856d;
  font-size: 13px;
  font-weight: 740;
  line-height: 1;
}

.cw-showroom-product-info small.is-hot {
  background: rgba(255, 91, 145, 0.13);
  color: #c93e75;
}

.cw-showroom-product-info small.is-blue {
  background: rgba(40, 120, 255, 0.13);
  color: #246ee2;
}

.cw-showroom-product-info small.is-violet {
  background: rgba(143, 83, 231, 0.13);
  color: #7950bf;
}

.cw-showroom-product > .cw-showroom-link-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  opacity: 0;
  transform: translate(-5px, -50%);
  transition: opacity 160ms ease-out, transform 200ms cubic-bezier(.22, 1, .36, 1);
}

.cw-showroom-product:hover,
.cw-showroom-product:focus-visible {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 15px 34px rgba(39, 79, 128, 0.10), inset 0 1px 0 #fff;
  transform: translateY(-3px);
}

.cw-showroom-product:hover::before,
.cw-showroom-product:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.cw-showroom-product:hover img,
.cw-showroom-product:focus-visible img {
  filter: drop-shadow(0 18px 18px rgba(24, 55, 90, 0.16));
  transform: scale(1);
}

.cw-showroom-product:hover > .cw-showroom-link-arrow,
.cw-showroom-product:focus-visible > .cw-showroom-link-arrow {
  opacity: 1;
  transform: translate(0, -50%);
}

.cw-showroom-platforms {
  padding-top: 24px;
  padding-bottom: 32px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 91% 88%, rgba(54, 204, 164, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.34);
}

.cw-showroom-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cw-showroom-platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-width: 0;
  min-height: 204px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(64, 117, 185, 0.12);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(244, 249, 255, 0.96), rgba(255, 255, 255, 0.92));
  color: var(--cw-ink);
  isolation: isolate;
  transition: border-color 180ms ease-out, box-shadow 180ms ease-out, transform 220ms cubic-bezier(.22, 1, .36, 1);
}

.cw-showroom-platform-card::before {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -88px;
  z-index: -1;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(40, 120, 255, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(40, 120, 255, 0.035), 0 0 0 58px rgba(57, 201, 164, 0.025);
  transition: transform 260ms cubic-bezier(.22, 1, .36, 1);
}

.cw-showroom-platform-card.is-mint {
  background: linear-gradient(145deg, rgba(239, 252, 247, 0.98), rgba(255, 255, 255, 0.94));
}

.cw-showroom-platform-card.is-web {
  border-color: rgba(51, 176, 164, 0.22);
  background: linear-gradient(135deg, rgba(230, 242, 255, 0.98), rgba(229, 252, 245, 0.98));
}

.cw-showroom-platform-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.cw-showroom-platform-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  overflow: hidden;
}

.cw-showroom-platform-icon img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.cw-showroom-platform-type {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(40, 120, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #52708f;
  font-size: 14px;
  font-weight: 720;
}

.cw-showroom-platform-copy {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
}

.cw-showroom-platform-copy strong,
.cw-showroom-platform-copy small {
  display: block;
}

.cw-showroom-platform-copy strong {
  font-size: clamp(20px, 1.5vw, 24px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.cw-showroom-platform-copy small {
  margin-top: 8px;
  color: var(--cw-muted);
  font-size: 14px;
  line-height: 1.55;
}

.cw-showroom-platform-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 11px;
  min-height: 48px;
  color: #2469cd;
  font-size: 15px;
  font-weight: 740;
}

.cw-showroom-platform-action .cw-showroom-link-arrow {
  width: 48px;
  height: 48px;
}

.cw-showroom-platform-action .cw-showroom-link-arrow svg {
  width: 20px;
  height: 20px;
}

.cw-showroom-platform-card:hover,
.cw-showroom-platform-card:focus-visible {
  border-color: rgba(40, 120, 255, 0.28);
  box-shadow: 0 20px 44px rgba(39, 79, 128, 0.13), inset 0 1px 0 #fff;
  transform: translateY(-4px);
}

.cw-showroom-platform-card:hover::before,
.cw-showroom-platform-card:focus-visible::before {
  transform: translate(-8px, -6px) scale(1.04);
}

.cw-showroom-platform-card:hover .cw-showroom-link-arrow,
.cw-showroom-platform-card:focus-visible .cw-showroom-link-arrow {
  color: #fff;
  background: var(--cw-blue);
  transform: translateX(2px);
}

.cw-showroom-product:focus-visible,
.cw-showroom-platform-card:focus-visible,
.cw-showroom-all:focus-visible,
.cw-mobile-products a:focus-visible {
  outline: 3px solid rgba(40, 120, 255, 0.48);
  outline-offset: 3px;
}

.cw-mobile-products section {
  display: contents;
}

@media (max-width: 1199px) {
  .cw-enhanced .cw-mega-menu {
    top: 86px;
    width: min(980px, calc(100vw - 32px));
    max-height: calc(100dvh - 102px);
    border-radius: 26px;
  }

  .cw-showroom {
    max-height: calc(100dvh - 102px);
  }

  .cw-showroom-topline,
  .cw-showroom-section {
    padding-inline: 24px;
  }

  .cw-showroom-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 12px;
  }

  .cw-showroom-product {
    grid-template-columns: minmax(82px, .8fr) minmax(82px, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
    min-height: 110px;
    padding: 8px 12px;
  }

  .cw-showroom-product-visual img {
    height: 92px;
  }

  .cw-showroom-product-info {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .cw-showroom-platform-card {
    min-height: 190px;
  }
}

@media (max-width: 960px) {
  .cw-enhanced .cw-mega-menu {
    display: none;
  }

  .cw-mobile-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 8px;
    overflow-x: hidden;
  }

  .cw-mobile-products section {
    display: contents;
  }

  .cw-mobile-product-grid {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .cw-mobile-products p {
    grid-column: 1 / -1;
    margin: 16px 5px 4px;
    color: #61758f;
    font-size: 13px;
    font-weight: 760;
  }

  .cw-mobile-products a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(50, 100, 164, 0.09);
    border-radius: 12px;
    background: #fff;
    font-size: 13px;
    font-weight: 650;
  }

  .cw-mobile-products a small {
    color: #6e819a;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
  }

  .cw-mobile-products a:focus-visible {
    outline: 3px solid rgba(40, 120, 255, 0.45);
    outline-offset: 2px;
  }
}

@media (max-width: 767px) {
  .cw-mobile-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cw-showroom-platform-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 820px) and (min-width: 961px) {
  .cw-showroom-topline {
    min-height: 68px;
  }

  .cw-showroom-section {
    padding-top: 13px;
    padding-bottom: 15px;
  }

  .cw-showroom-section-heading {
    margin-bottom: 8px;
  }

  .cw-showroom-product {
    grid-template-rows: 94px auto;
    min-height: 138px;
  }

  .cw-showroom-product-visual img {
    height: 92px;
  }

  .cw-showroom-platform-card {
    min-height: 154px;
    padding-block: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cw-enhanced .cw-mega-menu,
  .cw-showroom a,
  .cw-showroom a::before,
  .cw-showroom img,
  .cw-showroom-link-arrow {
    transition: none !important;
  }
}
/* The homepage is outside .cw-standalone; shared navigation must own link states. */
.cw-site-header .cw-mobile-menu a,
.cw-site-header .cw-mobile-menu a:visited{color:var(--cw-ink,#10223e);text-decoration:none}
.cw-site-header .cw-mobile-menu a:hover{color:var(--cw-blue,#2878ff);background:#eef5ff}
.cw-site-header .cw-mobile-menu a:focus-visible,
.cw-site-header .cw-mobile-menu summary:focus-visible,
.cw-site-header .cw-mobile-toggle:focus-visible{outline:2px solid #2878ff;outline-offset:3px}
