/* ------------------------------------------------------------------
 * Snapshot UI layer
 * The public pages are static snapshots of the reference site. Their
 * bundled Webflow runtime is not available, so this stylesheet carries
 * the small amount of interaction styling the CMS adds on top:
 *   1. desktop/mobile navigation dropdowns
 *   2. the top-bar language switcher
 *   3. the footer block (friend links, footer nav, copyright)
 * ------------------------------------------------------------------ */

/* ---------------------------------------------------------------- */
/* 0. Layout stability                                              */
/* ---------------------------------------------------------------- */

/* Switching language changes how much text wraps, so the page height can
   cross the viewport threshold. Reserving the vertical scrollbar keeps the
   viewport width constant and stops the header from flashing wider. */
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

/* ---------------------------------------------------------------- */
/* 1. Navigation dropdowns                                          */
/* ---------------------------------------------------------------- */

#Nav .image-33 {
  transition: transform .2s ease;
}

#Nav .w-dropdown.w--open > .w-dropdown-toggle .image-33 {
  transform: rotate(180deg);
}

#Nav .w-dropdown.w--open {
  z-index: 1300;
}

/* Secondary dropdowns (OEM/ODM, About). Excludes the Products mega panel,
   which ships with its own full-width styles. */
#Nav .dropdown-list.w--open:not([data-mega="panel"]) {
  display: block;
  min-width: 248px;
  margin-top: 10px;
  padding: 8px;
  border: 1px solid rgba(41, 20, 78, .1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(25, 10, 52, .18);
  overflow: hidden;
  animation: lc-dd-in .16s ease both;
}

@keyframes lc-dd-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

#Nav .dropdown-list.w--open:not([data-mega="panel"]) .updated-dd-2ndary-links {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  line-height: 1.4;
  transition: background .16s ease, color .16s ease;
}

#Nav .dropdown-list.w--open:not([data-mega="panel"]) .updated-dd-2ndary-links:hover {
  background: var(--cms-accent-wash, #f5f0ff);
}

#Nav .dropdown-list.w--open:not([data-mega="panel"]) .updated-dd-2ndary-links span {
  display: block;
  margin-top: 2px;
  color: #7b6f92;
  font-size: 12px;
  font-weight: 400;
  white-space: normal;
}

/* Mobile hamburger drawer */
body.lc-nav-open {
  overflow: hidden;
}

body.lc-nav-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: rgba(22, 10, 40, .42);
  backdrop-filter: blur(1px);
}

#Nav .navbar_dropdown-2.w--open {
  z-index: 2147483600 !important;
}

#Nav .navbar_toggle.w--open .w-icon-nav-menu {
  opacity: .55;
}

/* ---------------------------------------------------------------- */
/* 2. Language switcher                                             */
/* ---------------------------------------------------------------- */

.lc-lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  /* Language names differ in width; lock the pill to one size so switching
     from "English" to a longer translation cannot reflow the header. */
  width: 128px;
  flex: 0 0 128px;
  margin-right: 6px;
  font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  z-index: 2600;
}

.lc-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  height: 30px;
  padding: 0 11px;
  white-space: nowrap;
  border: 1px solid rgba(47, 20, 92, .16);
  border-radius: 999px;
  background: #fff;
  color: #371a67;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.lc-lang-btn:hover,
.lc-lang-switch.is-open .lc-lang-btn {
  border-color: rgba(91, 43, 168, .45);
  box-shadow: 0 6px 18px rgba(47, 20, 92, .12);
}

.lc-lang-btn svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.lc-lang-btn > span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.lc-lang-btn .lc-chevron {
  width: 11px;
  height: 11px;
  transition: transform .18s ease;
}

.lc-lang-switch.is-open .lc-lang-btn .lc-chevron {
  transform: rotate(180deg);
}

.lc-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  min-width: 178px;
  padding: 6px;
  border: 1px solid #e8ddfa;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(28, 12, 56, .18);
}

.lc-lang-switch.is-open .lc-lang-menu {
  display: block;
}

.lc-lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #3b2a58;
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
}

.lc-lang-menu a:hover {
  background: var(--cms-accent-wash, #f5f0ff);
  color: #3b2a58;
}

.lc-lang-menu a.is-active {
  color: var(--cms-accent-deep, #6b2fd8);
  font-weight: 700;
}

.lc-lang-menu a svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

/* Mobile drawer language row */
.lc-mobile-lang {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0 2px;
  font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

.lc-mobile-lang a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid #e3d8f4;
  border-radius: 999px;
  color: #4a3670;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.lc-mobile-lang a.is-active {
  border-color: var(--cms-accent, #8b5cf6);
  background: var(--cms-accent-wash, #f3ecff);
  color: var(--cms-accent-deep, #5b21b6);
}

/* ---------------------------------------------------------------- */
/* 3. Footer block                                                  */
/* ---------------------------------------------------------------- */

.lc-site-bottom {
  position: relative;
  text-align: left;
  background: #170d2e;
  color: #cfc5e2;
  font-family: inherit;
  /* Friend links and footer navigation match the site body text. */
  font-size: var(--text-size-regular--font-size, 15px);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.lc-sb-inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 26px clamp(20px, 5vw, 96px) 22px;
}

.lc-sb-friends {
  padding-bottom: 20px;
  text-align: left;
}

.lc-sb-friends-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.lc-sb-friends h3 {
  margin: 0 0 6px;
  text-align: left;
  color: #fff;
  font-size: 1.06em;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .01em;
}

.lc-sb-friends p {
  margin: 0;
  max-width: 860px;
  color: #a99cc4;
  font-size: inherit;
  line-height: 1.65;
}

.lc-sb-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--cms-accent, #2f6bff);
  color: #fff;
  font-size: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background .16s ease, transform .16s ease;
}

.lc-sb-cta:hover {
  background: var(--cms-accent-deep, #1d54e0);
  color: #fff;
  transform: translateY(-1px);
}

.lc-sb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.lc-sb-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 15px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 7px;
  color: #e6ddf6;
  font-size: inherit;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.lc-sb-chips a:hover {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .07);
  color: #fff;
}

.lc-sb-chips img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 3px;
}

.lc-sb-chips .lc-sb-empty {
  color: #9186ab;
  font-size: inherit;
}

.lc-sb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.lc-sb-nav a {
  color: #cfc5e2;
  font-size: inherit;
  text-decoration: none;
  transition: color .16s ease;
}

.lc-sb-nav a:hover {
  color: #fff;
}

.lc-sb-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #8f84a8;
  /* Only the bottom copyright rows are configurable (footer_font_size). */
  font-size: var(--lc-copyright-font-size, 13px);
  line-height: 1.6;
}

.lc-sb-copy p,
.lc-sb-copy p a,
.lc-sb-copy .lc-sb-icp,
.lc-sb-copy .lc-sb-note {
  margin: 0;
  /* The Webflow bundle ships `p { font-size: var(--...button-label) }`
     (25px), which beats inheritance and made the copyright huge. Set the
     size on the paragraph itself so footer_font_size actually applies. */
  font-size: var(--lc-copyright-font-size, 13px);
  line-height: 1.5;
}

.lc-sb-copy a {
  color: #a99cc4;
  text-decoration: none;
}

.lc-sb-copy a:hover {
  color: #fff;
}

.lc-sb-copy .lc-sb-icp {
  margin-left: 10px;
}

.lc-sb-copy .lc-sb-note {
  text-align: right;
}

@media (max-width: 991px) {
  .lc-mobile-lang {
    display: flex;
  }

  .lc-lang-switch {
    display: none;
  }
}

@media (max-width: 767px) {
  .lc-sb-friends-head {
    flex-direction: column;
    gap: 14px;
  }

  .lc-sb-copy {
    flex-direction: column;
    align-items: flex-start;
  }

  .lc-sb-copy .lc-sb-note {
    text-align: left;
  }

  .lc-sb-nav {
    gap: 8px 18px;
  }
}

/* ------------------------------------------------------------------
 * Product FAQ: readable fallback for the raw snapshot markup
 *
 * The snapshot stores the buyer questions as a plain Q/A list and an
 * inline script upgrades them into the accordion. If that script is
 * blocked (stale CSP nonce after a domain switch, cached HTML, JS off)
 * the list must still look like a FAQ block instead of loose text.
 * These rules stop applying as soon as the accordion classes exist.
 * ------------------------------------------------------------------ */
#pdp-faq-section .w-dyn-items:not(.pdp-faq-grid) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 1340px !important;
  margin: 0 auto !important;
}

#pdp-faq-section .w-dyn-items:not(.pdp-faq-grid) > .w-dyn-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  padding: 18px 20px !important;
  border: 1px solid #f0e5de !important;
  border-radius: 14px !important;
  background: #fff !important;
}

#pdp-faq-section .w-dyn-items:not(.pdp-faq-grid) > .w-dyn-item > div:first-child {
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  color: #1f1a17 !important;
}

#pdp-faq-section .w-dyn-items:not(.pdp-faq-grid) > .w-dyn-item > div:last-child {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #6b625c !important;
}

@media (max-width: 820px) {
  #pdp-faq-section .w-dyn-items:not(.pdp-faq-grid) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}