.official-links-page { --teal: #087b77; --deep: #075a57; --line: #d2dde3; --surface: #fbfcfd; background: #fff; }
.official-links-page .shared-header.topbar { position: sticky; left: auto; transform: none; top: 0; }
.directory { width: min(80%, 1376px); margin: 48px auto 56px; display: grid; grid-template-columns: 35% minmax(0, 1fr); }
.directory a, .links-qr-dialog a { text-decoration: none; }
.directory svg, .links-qr-dialog svg { width: 1.15em; height: 1.15em; flex: none; }
.directory button { font: inherit; }
.websites { padding: 33px 26px 36px; background: #f5f7f8; border-radius: 8px; }
.brand-heading { margin: 0 0 18px; }
.brand-heading::before { content: ""; display: block; width: 44px; height: 4px; margin-bottom: 8px; background: #086e6a; }
.brand-heading h1 { color: #086e6a; font-size: 50px; line-height: 1.18; margin: 0; font-weight: 800; }
.brand-heading p { color: #28353b; font-size: 20px; line-height: 1.38; margin: 4px 0 0; font-weight: 750; }
.factory-photo { overflow: hidden; border-radius: 8px; background: #d7dfe2; }
.factory-photo .product { display: block; width: 100%; height: auto; transform: scale(1.03); }
.primary-site { margin-top: 20px; padding: 15px 16px; min-height: 66px; display: grid; grid-template-columns: auto auto minmax(0,1fr) auto; gap: 12px; align-items: center; background: var(--teal); color: white; border-radius: 8px; }
.primary-site strong { border-inline-start: 1px solid #8ac5c2; padding-inline-start: 13px; font-size: 20px; }
.primary-site span { text-align: right; font-size: 16px; overflow-wrap: anywhere; }
.primary-site > svg:first-child { font-size: 26px; }
.site-heading { border-inline-start: 5px solid var(--teal); padding-inline-start: 13px; margin: 26px 0 12px 3px; font-size: 21px; line-height: 1.15; }
.secondary-site { display: flex; gap: 13px; align-items: center; padding: 10px 15px; min-height: 46px; border: 1px solid var(--line); border-radius: 7px; margin-top: 8px; background: var(--surface); font-size: 17px; }
.secondary-site span { flex: 1; overflow-wrap: anywhere; }
.secondary-site svg { color: var(--teal); }
.right-panel { min-width: 0; padding: 24px 24px 28px 32px; }
.follow-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; border-inline-start: 4px solid var(--teal); padding-inline-start: 16px; margin: 0 0 24px; color: #102834; font-size: 22px; line-height: 1.3; }
.follow-heading strong { font-size: 25px; }
.follow-heading span { font-weight: 700; }
.social-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px 14px; }
.social { min-width: 0; min-height: 201px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 24px 17px 20px; }
.social h2 { margin: 0; min-height: 68px; display: flex; align-items: center; gap: 12px; font-size: 24px; line-height: 1.2; font-weight: 750; overflow-wrap: anywhere; }
.platform-mark { flex: none; display: grid; place-items: center; width: 57px; height: 57px; object-fit: contain; border-radius: 8px; }
.linkedin img { width: 100%; border-radius: inherit; filter: invert(34%) sepia(98%) saturate(1038%) hue-rotate(158deg) brightness(88%) contrast(94%); }
.youtube { height: 43px; }
.youtube img { width: 100%; filter: invert(15%) sepia(97%) saturate(6014%) hue-rotate(354deg) brightness(102%) contrast(121%); }
.directory .action { min-height: 46px; width: 100%; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 7px; border: 1px solid transparent; font-size: 15px; font-weight: 650; line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
.visit { background: #d1edec; color: var(--deep); }
.directory .qr { border-color: #9bc5c7; background: transparent; }
.qr svg { color: var(--deep); }
.action-pair { display: grid; grid-template-columns: .88fr 1.12fr; gap: 8px; }
.manual-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.manual-download { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 49px; padding: 11px 15px; border: 1px solid var(--teal); border-radius: 7px; background: var(--teal); color: #fff; font-size: 16px; font-weight: 700; }
.manual-download small { font-size: 11px; font-weight: 600; }
.manual-download-secondary { background: #fff; color: var(--deep); }
.visit:hover, .qr:hover, .secondary-site:hover { background: #e0f2ef; }
.primary-site:hover, .manual-download:hover { background: var(--deep); }
.manual-download-secondary:hover { background: #e0f2ef; }
.links-qr-dialog { position: fixed; margin: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: inherit; padding: 32px 24px 25px; width: min(360px, calc(100% - 28px)); text-align: center; }
.links-qr-dialog::backdrop { background: #15252d91; }
.links-qr-dialog h2 { margin: 12px 0 6px; font-size: 22px; }
.links-qr-dialog p { margin: 0; color: #425463; }
.qr-frame { position: relative; overflow: hidden; aspect-ratio: 1; width: min(100%, 280px, 54svh); margin: 14px auto 10px; border-radius: 6px; }
.qr-frame img { position: absolute; top: var(--qr-top); left: var(--qr-left); width: var(--qr-width); max-width: none; height: auto; }
.qr-frame[data-platform="tiktok"] { --qr-top: -69%; --qr-left: -26.57%; --qr-width: 153.14%; }
.qr-frame[data-platform="douyin"] { --qr-top: -26.24%; --qr-left: -21.66%; --qr-width: 143.31%; }
.qr-frame[data-platform="wechat-channels"] { --qr-top: -29.29%; --qr-left: -22.5%; --qr-width: 145.71%; }
.qr-original { display: inline-flex; gap: 5px; align-items: center; margin-top: 12px; color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.qr-original[hidden], .qr-frame[hidden] { display: none; }
html[lang="en"] .brand-heading p { font-size: 18px; }
html[lang="en"] .primary-site strong { font-size: 16px; }
html[lang="en"] .primary-site span { font-size: 14px; }
html[lang="en"] .action { padding-inline: 5px; }
@media (min-width: 841px) and (max-width: 1150px) {
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.dismiss { position: absolute; inset: 7px 7px auto auto; display: grid; place-items: center; height: 36px; width: 36px; border: 0; border-radius: 6px; background: transparent; }
.dismiss:hover { background: #e0f2ef; }
@media (min-width: 1500px) {
  .websites { padding: 32px 22px; }
  .right-panel { padding-left: 36px; }
  .social { min-height: 189px; padding: 22px 17px; }
  .social h2 { font-size: 23px; }
  .platform-mark { width: 54px; height: 54px; }
  .youtube { height: 39px; }
  .action { min-height: 44px; font-size: 16px; }
}
@media (max-width: 1350px) {
  .websites { padding-inline: 20px; }
  .right-panel { padding: 24px 18px; }
  .social { min-height: 168px; padding: 18px 12px 14px; }
  .social h2 { gap: 7px; font-size: 20px; min-height: 47px; }
  .platform-mark { width: 39px; height: 39px; }
  .youtube { height: 30px; }
  .action { font-size: 14px; }
  .action-pair { gap: 4px; }
  .primary-site { grid-template-columns: auto minmax(0,1fr) auto; gap: 3px 9px; }
  .primary-site strong { border: 0; padding: 0; }
  .primary-site span { grid-column: 2; text-align: left; }
  .primary-site svg:last-child { grid-area: 1 / 3 / span 2 / span 1; }
}
@media (max-width: 840px) {
  .directory { width: calc(100% - 24px); margin: 22px auto 32px; grid-template-columns: 1fr; }
  .websites { padding: 23px 20px; }
  .brand-heading h1 { font-size: 38px; }
  .brand-heading p { font-size: 17px; }
  .primary-site { margin-top: 12px; }
  .site-heading { margin-top: 18px; font-size: 17px; }
  .right-panel { padding: 20px; }
}
@media (max-width: 620px) {
  .official-links-page .bowo-contact-dock { display: none; }
  html[lang="en"] .brand-heading h1 { font-size: 34px; }
  html[lang="en"] .brand-heading p { font-size: 16px; }
  html[lang="en"] .manual-download { font-size: 13px; }
  html[lang="en"] .action-pair .action { font-size: 12px; padding-inline: 3px; gap: 4px; }
  .social-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .social { min-height: 128px; gap: 12px; padding: 12px 9px 10px; }
  .social h2 { font-size: 17px; }
  .platform-mark { width: 32px; height: 32px; }
  .youtube { height: 25px; }
  .directory .action { font-size: 13px; min-height: 44px; padding-inline: 3px; }
  .action svg { width: 13px; height: 13px; }
  .follow-heading { gap: 4px 10px; margin-bottom: 16px; padding-inline-start: 10px; font-size: 15px; }
  .follow-heading strong { font-size: 19px; }
  .manual-downloads { margin-top: 18px; gap: 8px; }
  .manual-download { gap: 6px; padding-inline: 9px; font-size: 14px; }
}
@media (max-width: 360px) {
  .websites, .right-panel { padding-inline: 12px; }
  .action { gap: 3px; }
  .action-pair .action svg { display: none; }
}
