/* Approved Apple design; components styles. CMS templates own the content. */
.ap-site [hidden] {
  display: none !important;
}

.ap-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 220;
  height: var(--ap-header-h);
  color: #ffffff;
  background: transparent;
  border-block-end: 1px solid transparent;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.ap-header.is-solid {
  background: var(--ap-page);
  color: var(--ap-ink);
  border-block-end-color: rgba(0, 0, 0, 0.08);
}

.ap-header.has-open-mega,
.ap-header.has-open-mega .ap-nav-link,
.ap-header.has-open-mega .ap-pill-tool,
.ap-header.has-open-mega .ap-brand img {
  transition: none;
}

.ap-nav-has-menu {
  height: var(--ap-header-h);
}

.ap-header:not(.is-solid) :focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.ap-header:not(.is-solid) .ap-mega :focus-visible,
.ap-header:not(.is-solid) .ap-lang-menu :focus-visible {
  outline: 2px solid var(--ap-accent);
  outline-offset: 2px;
}

.ap-header-inner {
  max-width: var(--ap-max-w);
  height: 100%;
  margin-inline: auto;
  padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ap-brand {
  display: inline-grid;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
}

.ap-brand img {
  grid-area: 1 / 1;
  height: 34px;
  width: auto;
  transition: opacity 180ms ease;
}

.ap-brand-white {
  opacity: 1;
  filter: drop-shadow(0 1px 6px rgba(8, 20, 34, 0.32));
}

.ap-brand-color {
  opacity: 0;
}

.ap-header.is-solid .ap-brand-white {
  opacity: 0;
}

.ap-header.is-solid .ap-brand-color {
  opacity: 1;
}

.ap-nav {
  display: flex;
  align-items: center;
  min-width: 0;
}

.ap-nav-list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.ap-nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.ap-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 2px;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 10px rgba(8, 20, 34, 0.42), 0 1px 2px rgba(8, 20, 34, 0.3);
  white-space: nowrap;
  transition: color 160ms ease;
}

.ap-nav-link[aria-current="page"] {
  color: #ffffff;
}

.ap-header.is-solid .ap-nav-link {
  color: var(--ap-ink);
  text-shadow: none;
}

.ap-header.is-solid .ap-nav-link[aria-current="page"] {
  color: var(--ap-accent);
}

.ap-nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-inline: 2px;
  inset-block-end: 6px;
  height: 2px;
  background: currentColor;
}

.ap-nav-has-menu {
  gap: 0;
}

.ap-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 34px;
  margin-inline-end: -6px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  transition: background-color 160ms ease, color 160ms ease;
}

.ap-submenu-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.ap-header.is-solid .ap-submenu-toggle {
  color: var(--ap-muted);
}

.ap-header.is-solid .ap-submenu-toggle[aria-expanded="true"] {
  background: var(--ap-accent-soft);
  color: var(--ap-accent);
}

.ap-submenu-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms var(--ap-ease);
}

.ap-submenu-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.ap-mega-backdrop {
  position: fixed;
  inset: var(--ap-header-h) 0 0 0;
  z-index: 210;
  background: rgba(29, 29, 31, 0.28);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.ap-mega {
  position: fixed;
  inset-block-start: var(--ap-header-h);
  inset-inline: 0;
  z-index: 215;
  background: var(--ap-page);
  color: var(--ap-ink);
  border-block-end: 1px solid var(--ap-line);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.1);
  max-height: calc(100dvh - var(--ap-header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ap-mega-inner {
  max-width: var(--ap-max-w);
  margin-inline: auto;
  padding: 28px 24px 36px;
}

.ap-mega-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-block-end: 20px;
}

.ap-mega-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ap-ink);
}

.ap-mega-products {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.ap-mega-prod-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 16px 14px 14px;
  border-radius: 18px;
  background: var(--ap-surface);
  transition: background-color 160ms ease, transform 200ms var(--ap-ease);
}

.ap-mega-prod-stage {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap-mega-prod-stage img {
  max-width: 88%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 220ms var(--ap-ease);
}

.ap-mega-prod-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ap-mega-prod-name {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ap-ink);
}

.ap-mega-prod-models {
  font-size: 0.75rem;
  color: var(--ap-muted);
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

.ap-mega-support {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ap-mega-sup-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--ap-surface);
  transition: background-color 160ms ease, transform 200ms var(--ap-ease);
}

.ap-mega-sup-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ap-mega-sup-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ap-ink);
  line-height: 1.35;
}

.ap-mega-sup-desc {
  font-size: 0.875rem;
  color: var(--ap-muted);
  line-height: 1.5;
}

.ap-mega-sup-card svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--ap-accent);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-block-start: 2px;
  transition: transform 180ms var(--ap-ease);
}

.ap-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ap-lang-wrap {
  position: relative;
}

.ap-pill-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  min-width: 44px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--ap-radius-pill);
  background: rgba(8, 22, 36, 0.34);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.ap-header.is-solid .ap-pill-tool {
  background: var(--ap-surface);
  border-color: rgba(0, 0, 0, 0.06);
  color: var(--ap-ink);
}

.ap-pill-tool svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.ap-lang-chevron {
  width: 14px !important;
  height: 14px !important;
  opacity: 0.72;
  transition: transform 180ms var(--ap-ease);
}

.ap-lang-btn[aria-expanded="true"] .ap-lang-chevron {
  transform: rotate(180deg);
}

.ap-lang-menu {
  position: absolute;
  inset-block-start: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 176px;
  padding: 6px;
  margin: 0;
  list-style: none;
  border-radius: 16px;
  border: 1px solid var(--ap-line);
  background: var(--ap-page);
  color: var(--ap-ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  z-index: 230;
}

.ap-lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ap-ink);
  transition: background-color 140ms ease, color 140ms ease;
}

.ap-lang-option[aria-current="true"] {
  background: var(--ap-accent-soft);
  color: var(--ap-accent);
}

.ap-lang-code {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ap-muted);
  letter-spacing: 0.03em;
}

.ap-lang-option[aria-current="true"] .ap-lang-code {
  color: var(--ap-accent);
}

.ap-menu-btn {
  display: none;
}

.ap-drawer {
  width: min(380px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  margin-block: 0;
  margin-inline: auto 0;
  padding: 0;
  border: 0;
  background: var(--ap-page);
  color: var(--ap-ink);
  box-shadow: -18px 0 48px rgba(0, 0, 0, 0.16);
  overscroll-behavior: contain;
}

.ap-drawer::backdrop {
  background: rgba(29, 29, 31, 0.42);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.ap-drawer-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: max(18px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) 20px;
}

.ap-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block-end: 16px;
  border-block-end: 1px solid var(--ap-line);
}

.ap-drawer-top img {
  height: 28px;
  width: auto;
}

.ap-drawer-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--ap-radius-pill);
  background: var(--ap-surface);
  color: var(--ap-ink);
}

.ap-drawer-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.ap-drawer-nav {
  display: flex;
  flex-direction: column;
  margin-block-start: 8px;
}

.ap-drawer-nav > a {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-block-end: 1px solid var(--ap-line-soft);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ap-ink);
}

.ap-drawer-nav > a[aria-current="page"] {
  color: var(--ap-accent);
}

.ap-drawer-sub {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 10px 0 14px;
  border-block-end: 1px solid var(--ap-line-soft);
}

.ap-drawer-sub a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--ap-surface);
  font-size: 0.875rem;
  color: var(--ap-ink);
}

.ap-drawer-sub > a:only-child { grid-column: 1 / -1; }

@media (max-width: 540px) {
  .ap-header .ap-account.suntek-account-button .suntek-account-label { display: none; }
}

.ap-drawer-foot {
  margin-block-start: auto;
  padding-block-start: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ap-drawer-lang,
.ap-drawer-member {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--ap-radius-pill);
  background: var(--ap-surface);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ap-ink);
}

/* Unsupported discrete transitions keep the existing instant show/hide behavior. */
@supports (transition-behavior: allow-discrete) {
  .ap-mega,
  .ap-lang-menu {
    opacity: 1;
    transition: opacity 180ms var(--ap-ease), display 180ms;
    transition-behavior: allow-discrete;
  }
  .ap-mega[hidden],
  .ap-lang-menu[hidden] {
    opacity: 0;
    pointer-events: none;
    transition-duration: 140ms;
  }
  .ap-mega-backdrop {
    opacity: 1;
    transition: opacity 160ms ease, display 160ms;
    transition-behavior: allow-discrete;
  }
  .ap-mega-backdrop[hidden] {
    opacity: 0;
    pointer-events: none;
  }
  .ap-drawer {
    opacity: 0;
    transition: opacity 180ms var(--ap-ease), display 180ms, overlay 180ms;
    transition-behavior: allow-discrete;
  }
  .ap-drawer[open] {
    opacity: 1;
    transition-duration: 240ms;
  }
  .ap-drawer:not([open]),
  .ap-drawer:not([open])::backdrop {
    pointer-events: none;
  }
  .ap-drawer::backdrop {
    opacity: 0;
    transition: opacity 180ms ease, display 180ms, overlay 180ms;
    transition-behavior: allow-discrete;
  }
  .ap-drawer[open]::backdrop { opacity: 1; }
  @starting-style {
    .ap-mega:not([hidden]),
    .ap-mega-backdrop:not([hidden]),
    .ap-lang-menu:not([hidden]),
    .ap-drawer[open],
    .ap-drawer[open]::backdrop { opacity: 0; }
  }
  @media (prefers-reduced-motion: no-preference) {
    .ap-mega,
    .ap-lang-menu {
      translate: 0 0;
      transition-property: opacity, translate, display;
    }
    .ap-mega[hidden] { translate: 0 -8px; }
    .ap-lang-menu[hidden] { translate: 0 -4px; }
    .ap-drawer {
      translate: 100% 0;
      transition-property: opacity, translate, display, overlay;
    }
    .ap-drawer[open] { translate: 0 0; }
    @starting-style {
      .ap-mega:not([hidden]) { translate: 0 -8px; }
      .ap-lang-menu:not([hidden]) { translate: 0 -4px; }
      .ap-drawer[open] { translate: 100% 0; }
    }
  }
}

.ap-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--ap-radius-pill);
  background: var(--ap-accent);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  transition: background-color 160ms ease, transform 140ms ease;
}

.ap-btn-primary:has(svg) {
  padding-inline: 24px 20px;
}

.ap-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius-pill);
  background: var(--ap-page);
  color: var(--ap-ink);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.ap-btn-primary svg,
.ap-btn-secondary svg,
.ap-more svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 200ms var(--ap-ease);
}

.ap-btn-primary:not(:disabled):active,
.ap-btn-secondary:not(:disabled):active {
  transform: scale(0.97);
}

.ap-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  min-height: 44px;
  padding-block: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ap-accent);
  overflow-wrap: break-word;
}

.ap-more > span {
  min-width: 0;
}

.ap-section {
  padding-block: 80px;
  background: var(--ap-page);
}

.ap-section--alt {
  background: var(--ap-surface);
}

.ap-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-block-end: 32px;
}

.ap-section-head h2 {
  margin: 0;
  font-size: clamp(1.625rem, 3vw, 2.375rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--ap-ink);
  text-wrap: balance;
}

.ap-section-sub {
  margin: 8px 0 0;
  font-size: 1rem;
  color: var(--ap-muted);
  line-height: 1.6;
  max-width: 56ch;
}

.ap-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--ap-muted);
}

.ap-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ap-breadcrumb li + li::before {
  content: "/";
  color: rgba(0, 0, 0, 0.25);
}

.ap-breadcrumb a {
  color: var(--ap-muted);
  transition: color 140ms ease;
}

.ap-breadcrumb [aria-current="page"] {
  color: var(--ap-ink);
  font-weight: 500;
}

.ap-site .global-footer {
  background: var(--ap-surface);
  color: var(--ap-muted);
  border-block-start: 1px solid var(--ap-line);
  padding: 48px 0 36px;
  font-size: 0.8125rem;
  line-height: 1.65;
}

.ap-site .footer-wrap {
  width: 100%;
  max-width: var(--ap-max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.ap-site .footer-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-block-end: 36px;
  border-block-end: 1px solid var(--ap-line);
}

.ap-site .footer-brand-logo {
  display: inline-block;
  margin-block-end: 12px;
}

.ap-site .footer-brand-logo img {
  height: 26px;
  width: auto;
  mix-blend-mode: multiply;
}

.ap-site .footer-brand-name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ap-ink);
}

.ap-site .footer-brand-note {
  margin: 6px 0 0;
  max-width: 220px;
  color: var(--ap-muted);
}

.ap-site .preline {
  white-space: pre-line;
}

.ap-site .footer-link-group,
.ap-site .footer-contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.ap-site .footer-link-group h3,
.ap-site .footer-contact-block h3 {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ap-ink);
}

.ap-site .footer-link-group > a,
.ap-site .footer-contact-block > a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: var(--ap-muted);
  transition: color 160ms ease;
}

.ap-site .footer-phone {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ap-ink);
  font-variant-numeric: tabular-nums;
}

.ap-site .footer-email {
  overflow-wrap: anywhere;
}

.ap-site .footer-contact-block > p {
  margin: 6px 0 4px;
  color: var(--ap-muted);
}

.ap-site .footer-contact-block > .footer-contact-link {
  gap: 6px;
  color: var(--ap-accent);
  font-weight: 500;
}

.ap-site .footer-contact-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ap-site .footer-legal {
  padding-block-start: 20px;
  font-size: 0.75rem;
  color: var(--ap-muted);
}

.ap-site .footer-copyright {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.ap-site .footer-registration {
  margin-block-start: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--ap-muted);
}

.ap-site .footer-registration > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.ap-site .footer-registration a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

.ap-site .footer-language {
  font-weight: 500;
  color: var(--ap-ink);
}

.ap-site .suntek-member-dialog {
  border-radius: var(--ap-radius-card);
}

.ap-site .suntek-member-field input {
  border-radius: 12px;
  background: var(--ap-surface);
}

.ap-site .suntek-member-primary {
  border-radius: var(--ap-radius-pill);
}

.ap-site .suntek-member-close {
  border-radius: var(--ap-radius-pill);
}

.ap-site .suntek-member-menu {
  border-radius: 16px;
}

.ap-site .suntek-member-toast {
  border-radius: var(--ap-radius-pill);
}

@media (hover: hover) {
.ap-nav-link:hover {
    color: #ffffff;
  }
.ap-header.is-solid .ap-nav-link:hover {
    color: var(--ap-accent);
  }
.ap-submenu-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
  }
.ap-header.is-solid .ap-submenu-toggle:hover {
    background: var(--ap-accent-soft);
    color: var(--ap-accent);
  }
.ap-mega-prod-card:hover,
.ap-mega-sup-card:hover {
    background: var(--ap-surface-hover);
    transform: translateY(-2px);
  }
.ap-mega-prod-card:hover .ap-mega-prod-stage img {
    transform: scale(1.04);
  }
.ap-mega-sup-card:hover svg {
    transform: translateX(3px);
  }
.ap-lang-option:hover {
    background: var(--ap-surface);
    color: var(--ap-accent);
  }
.ap-pill-tool:hover {
    background: rgba(8, 22, 36, 0.44);
    border-color: rgba(255, 255, 255, 0.56);
    color: #ffffff;
  }
.ap-header.is-solid .ap-pill-tool:hover {
    background: var(--ap-surface-hover);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--ap-accent);
  }
.ap-btn-primary:hover {
    background: var(--ap-accent-deep);
  }
.ap-btn-secondary:hover {
    background: var(--ap-surface);
    border-color: rgba(0, 0, 0, 0.16);
    color: var(--ap-accent);
  }
.ap-btn-primary:hover svg,
.ap-more:hover svg {
    transform: translateX(3px);
  }
.ap-more:hover,
.ap-breadcrumb a:hover {
    color: var(--ap-accent);
    text-decoration: underline;
    text-underline-offset: 4px;
  }
.ap-site .global-footer a:hover {
    color: var(--ap-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
.ap-site *,
.ap-site *::before,
.ap-site *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1160px) {
.ap-brand img {
    height: 30px;
  }
.ap-nav-list {
    gap: 14px;
  }
.ap-nav-link {
    font-size: 0.9375rem;
  }
.ap-pill-tool {
    font-size: 0.875rem;
    padding: 0 12px;
  }
.ap-mega-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
.ap-site .footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
.ap-nav,
.ap-mega,
.ap-mega-backdrop {
    display: none !important;
  }
.ap-header-inner {
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
    gap: 12px;
  }
.ap-brand img {
    height: 28px;
  }
.ap-actions {
    gap: 8px;
  }
.ap-pill-tool {
    height: 44px;
    min-width: 44px;
    padding: 0 12px;
    font-size: 0.875rem;
  }
.ap-menu-btn {
    display: inline-flex;
    width: 44px;
    height: 44px;
    padding: 0;
  }
.ap-account:not(.is-member) {
    width: 44px;
    padding: 0;
  }
.ap-account:not(.is-member) .suntek-account-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
.ap-account svg,
.ap-menu-btn svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 767px) {
.ap-site .footer-wrap {
    padding-inline: 20px;
  }
.ap-section {
    padding-block: 56px;
  }
.ap-section-head {
    margin-block-end: 24px;
  }
.ap-site .footer-link-group > a,
.ap-site .footer-contact-block > a {
    min-height: 36px;
  }
}

@media (max-width: 540px) {
.ap-site .footer-wrap {
    padding-inline: 16px;
  }
.ap-site .footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
.ap-site .footer-brand-block,
.ap-site .footer-contact-block {
    grid-column: 1 / -1;
  }
.ap-site .footer-main-grid > .footer-link-group:first-of-type {
    grid-row: span 2;
  }
.ap-site .footer-link-group > a {
    line-height: 1.4;
    padding-block: 4px;
    overflow-wrap: break-word;
  }
}

@media (max-width: 420px) {
.ap-lang-btn {
    padding: 0 10px;
    gap: 0;
  }
.ap-lang-btn svg {
    display: none;
  }
}

@media (max-width: 380px) {
.ap-header-inner {
    padding-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
    gap: 8px;
  }
.ap-brand img {
    height: 22px;
  }
.ap-actions {
    gap: 6px;
  }
.ap-lang-btn {
    padding: 0 8px;
    font-size: 0.8125rem;
  }
}

.ap-app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.ap-app-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.ap-app-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--ap-radius-card);
  overflow: hidden;
  background: var(--ap-page);
  transition: transform 220ms var(--ap-ease), box-shadow 220ms ease;
}

.ap-app-photo { width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: #e5ebf1; }

.ap-app-photo picture { display: block; width: 100%; height: 100%; }

.ap-app-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--ap-pos, 58% 46%);
  transition: transform 340ms var(--ap-ease);
}

.ap-app-caption { padding: 22px 26px 24px; }

.ap-app-caption h3 { margin: 0; font-size: 1.25rem; font-weight: 600; line-height: 1.3; color: var(--ap-ink); }

.ap-app-caption p { margin: 6px 0 0; font-size: 0.875rem; color: var(--ap-muted); line-height: 1.5; }

.ap-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.ap-news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--ap-radius-md);
  overflow: hidden;
  background: var(--ap-page);
  border: 1px solid var(--ap-line-soft);
  transition: transform 200ms var(--ap-ease), box-shadow 200ms ease;
}

.ap-news-thumb { width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: #e9edf2; }

.ap-news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ap-ease); }

.ap-news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.ap-news-tag { font-size: 0.75rem; font-weight: 600; color: var(--ap-accent); }

.ap-news-body h3 { margin: 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.42; color: var(--ap-ink); }

.ap-contact { padding-block: 72px; background: var(--ap-surface); border-block-start: 1px solid rgba(0, 0, 0, 0.05); }

.ap-contact--white { background: var(--ap-page); }

.ap-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.ap-contact h2 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.125rem); font-weight: 600; letter-spacing: -0.015em; color: var(--ap-ink); }

.ap-contact p { margin: 6px 0 0; font-size: 1rem; color: var(--ap-muted); }

.ap-contact-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

[data-ab-section] {
  scroll-margin-top: calc(var(--ap-header-h) + 64px);
}

@media (hover: hover) {
.ap-app-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06); }
.ap-app-card:hover .ap-app-photo img { transform: scale(1.025); }
.ap-news-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06); }
.ap-news-card:hover .ap-news-thumb img { transform: scale(1.03); }
}

@media (max-width: 900px) {
.ap-app-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
.ap-app-grid,
.ap-app-grid--three,
.ap-news-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ap-seg-btn[aria-current="page"] { background: var(--ap-accent); color: #fff; }
