:root {
  --apl-ink: #101714;
  --apl-forest: #17352d;
  --apl-forest-2: #23493f;
  --apl-sage: #9db7a9;
  --apl-gold: #d1a84b;
  --apl-sky: #c9dfe7;
  --apl-mint: #d9e8e0;
  --apl-paper: #f4f5f1;
  --apl-white: #fff;
  --apl-muted: #68746f;
  --apl-line: #cfd7d2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
img { height: auto; }
.wp-site-blocks { min-height: 100vh; }
.wp-site-blocks > main { margin-block-start: 0; }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible { outline: 3px solid var(--apl-gold); outline-offset: 3px; }

.apl-topbar {
  background: var(--apl-ink);
  color: #e6eee9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  padding: 8px 20px;
  text-align: center;
  text-transform: uppercase;
}
.apl-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244,245,241,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16,23,20,.1);
}
.apl-header .wp-block-site-title { margin: 0; white-space: nowrap; }
.apl-header .wp-block-site-title a { color: var(--apl-ink); }
.apl-header .wp-block-navigation-item__content { padding: .35rem .2rem; }
.apl-header .wp-block-navigation-item__content:hover { color: var(--apl-forest-2); opacity: .72; }
.apl-brand { align-items: center; color: var(--apl-ink); display: inline-flex; gap: 10px; text-decoration: none; }
.apl-brand img { background: #fff; border-radius: 4px; display: block; height: 40px; object-fit: contain; width: 40px; }
.apl-brand span { font-size: 1.03rem; font-weight: 800; letter-spacing: .11em; white-space: nowrap; }
.apl-brand--footer { color: #fff; margin-bottom: 18px; }
.apl-brand--footer img { background: #fff; height: 46px; width: 46px; }
.apl-language-menu { align-self: center; margin-left: 12px; position: relative; z-index: 110; }
.apl-language-menu summary { background: transparent; border: 1px solid var(--apl-line); border-radius: 4px; color: var(--apl-ink); cursor: pointer; font-size: .78rem; font-weight: 750; list-style: none; padding: .48rem .65rem; }
.apl-language-menu summary::-webkit-details-marker { display: none; }
.apl-language-menu summary:after { content: ' \25BE'; font-size: .68rem; }
.apl-language-menu__list { background: #fff; border: 1px solid var(--apl-line); box-shadow: 0 12px 24px rgba(16,23,20,.12); display: grid; gap: 0; min-width: 185px; padding: 6px; position: absolute; right: 0; top: calc(100% + 8px); }
.apl-language-menu__list a { color: var(--apl-ink); font-size: .8rem; padding: 8px 9px; text-decoration: none; }
.apl-language-menu__list a:hover { background: var(--apl-mint); }
.apl-header-cta > a {
  background: var(--apl-forest);
  border-radius: 4px;
  color: #fff !important;
  padding: .62rem .9rem !important;
}

.apl-section { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.apl-section-sm { padding-top: 52px; padding-bottom: 52px; }
.apl-section-head { max-width: 760px; margin-bottom: 42px; }
.apl-section-head h2 { font-size: 3rem; margin: 10px 0 16px; }
.apl-eyebrow {
  font-size: .76rem !important;
  font-weight: 800;
  letter-spacing: .16em;
  margin-bottom: .7rem;
  text-transform: uppercase;
}
.apl-lede { font-size: 1.17rem; color: var(--apl-muted); max-width: 760px; }
.apl-caption { color: var(--apl-muted); font-size: .8rem; margin-top: 10px; }

.apl-hero {
  align-items: center;
  display: flex;
  min-height: min(650px, calc(100svh - 155px));
  overflow: hidden;
  padding: 72px 20px;
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8,16,13,.94) 0%, rgba(10,23,18,.88) 42%, rgba(10,23,18,.26) 72%, rgba(10,23,18,.15) 100%),
    url('../images/products-user/retatrutide.jpg') center 48% / cover no-repeat;
}
.apl-hero:after {
  background: linear-gradient(180deg, transparent 78%, rgba(8,16,13,.58));
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.apl-hero > .wp-block-group__inner-container,
.apl-hero > .wp-block-group { position: relative; z-index: 1; width: 100%; }
.apl-hero-copy { margin-left: 0 !important; max-width: 820px; }
.apl-hero-brand { align-items: center; display: inline-flex; gap: 12px; margin-bottom: 22px; }
.apl-hero-brand img { background: #fff; border-radius: 4px; display: block; height: 56px; object-fit: contain; width: 56px; }
.apl-hero-brand span { color: #fff; font-size: .92rem; font-weight: 800; letter-spacing: .16em; }
.apl-hero h1 {
  color: #fff !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 4.75rem !important;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 24px;
  max-width: 780px;
}
.apl-hero .apl-lede { color: #dce7e1; font-size: 1.2rem; max-width: 680px; }
.apl-hero .wp-block-button__link { background: var(--apl-gold); color: var(--apl-ink); }
.apl-hero .is-style-outline .wp-block-button__link { background: transparent; border-color: rgba(255,255,255,.72); color: #fff; }
.apl-hero .wp-block-buttons { margin-top: 30px; }

.apl-proof-band { background: #fff; border-bottom: 1px solid var(--apl-line); }
.apl-proof-band .wp-block-columns { margin-bottom: 0; }
.apl-proof-item { border-left: 1px solid var(--apl-line); padding: 20px 26px; min-height: 108px; }
.apl-proof-item:first-child { border-left: 0; }
.apl-proof-item strong { display: block; font-size: 1.35rem; line-height: 1.1; margin-bottom: 7px; }
.apl-proof-item span { color: var(--apl-muted); font-size: .86rem; }

.apl-card {
  background: #fff;
  border: 1px solid rgba(16,23,20,.11);
  border-radius: 6px;
  height: 100%;
  padding: 28px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.apl-card:hover { border-color: var(--apl-sage); box-shadow: 0 14px 36px rgba(16,23,20,.08); transform: translateY(-3px); }
.apl-product-card { overflow: hidden; padding: 0; }
.apl-product-card .wp-block-image { margin: 0; background: #e9eeeb; }
.apl-product-card img { aspect-ratio: 3 / 4; background: #e9eeeb; display: block; object-fit: contain; padding: 8px; width: 100%; }
.apl-product-card .apl-card-body { padding: 24px; }
.apl-product-card h3 { font-size: 1.45rem; margin: 8px 0 10px; }
.apl-product-card p { color: var(--apl-muted); font-size: .94rem; }
.apl-product-card .apl-product-link { color: var(--apl-forest); font-size: .86rem; font-weight: 800; }
.apl-chip {
  border: 1px solid var(--apl-line);
  border-radius: 999px;
  display: inline-block;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .04em;
  padding: .3rem .62rem;
  text-transform: uppercase;
}
.apl-chip--gold { background: #f7efdb; border-color: #e6cf96; color: #684e13; }
.apl-chip--blue { background: #eaf4f7; border-color: var(--apl-sky); color: #234452; }

.apl-dark { background: var(--apl-ink); color: #e9efec; }
.apl-dark h1,
.apl-dark h2,
.apl-dark h3,
.apl-dark h4 { color: #fff; }
.apl-dark p { color: #c8d2cd; }
.apl-dark .is-style-outline .wp-block-button__link { border-color: rgba(255,255,255,.58); color: #fff; }
.apl-soft { background: #e8edeb; }
.apl-gold-band { background: var(--apl-gold); color: var(--apl-ink); }
.apl-gold-band h2, .apl-gold-band p { color: var(--apl-ink); }

.apl-photo img,
.apl-split-img img {
  border-radius: 6px;
  display: block;
  min-height: 520px;
  object-fit: cover;
  width: 100%;
}
.apl-photo--wide img { aspect-ratio: 16 / 9; min-height: 0; }
.apl-photo--portrait img { aspect-ratio: 4 / 5; }
.apl-photo-credit { color: var(--apl-muted); font-size: .72rem; }

.apl-metric { border-left: 1px solid var(--apl-line); padding-left: 22px; }
.apl-metric strong { display: block; font-family: Georgia, serif; font-size: 3.2rem; font-weight: 400; line-height: 1; }
.apl-number { color: var(--apl-gold); font-family: Georgia, serif; font-size: 2.7rem; line-height: 1; }
.apl-step { border-top: 2px solid var(--apl-ink); padding-top: 24px; }
.apl-step h3 { font-size: 1.2rem; margin: 18px 0 10px; }
.apl-step p { color: var(--apl-muted); font-size: .92rem; }
.apl-dark .apl-step { border-top-color: rgba(255,255,255,.34); }
.apl-dark .apl-step p { color: #becbc5; }

.apl-image-band {
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(11,19,16,.88), rgba(11,19,16,.2)),
    url('../images/photography/research-glassware.jpg') center / cover no-repeat;
  color: #fff;
  display: flex;
  min-height: 470px;
  padding: 70px 20px;
}
.apl-image-band h2 { color: #fff; font-family: Georgia, serif; font-size: 3.5rem; max-width: 760px; }
.apl-image-band p { color: #dbe5df; max-width: 640px; }

.apl-page-hero {
  background: linear-gradient(135deg, var(--apl-forest), var(--apl-ink));
  color: #fff;
  min-height: 390px;
  padding: 88px 20px 76px;
  position: relative;
}
.apl-page-hero > * { position: relative; z-index: 1; }
.apl-page-hero h1,
.apl-page-hero h2 { color: #fff; font-family: Georgia, serif; font-size: 4rem !important; font-weight: 400; letter-spacing: 0; margin: 10px 0 18px; }
.apl-page-hero p { color: #d9e8e0; max-width: 760px; }
.apl-page-hero--catalog { background: linear-gradient(90deg, rgba(11,23,18,.96), rgba(11,23,18,.52)), url('../images/photography/research-glassware.jpg') center / cover no-repeat; }
.apl-page-hero--quality { background: linear-gradient(90deg, rgba(11,23,18,.95), rgba(11,23,18,.45)), url('../images/photography/quality-pipette.jpg') center 42% / cover no-repeat; }
.apl-page-hero--about { background: linear-gradient(90deg, rgba(11,23,18,.95), rgba(11,23,18,.38)), url('../images/photography/about-researcher.jpg') center 43% / cover no-repeat; }
.apl-page-hero--research { background: linear-gradient(90deg, rgba(11,23,18,.95), rgba(11,23,18,.42)), url('../images/photography/laboratory-microscope.jpg') center / cover no-repeat; }

.apl-product-detail .wp-block-image img { background: #e9eeeb; border-radius: 6px; width: 100%; }
.apl-product-detail h2 { font-size: 2.6rem; }
.apl-product-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 26px; }
.apl-product-spec {
  border-top: 1px solid var(--apl-line);
  display: grid;
  gap: 16px;
  grid-template-columns: 132px 1fr;
  margin: 0;
  padding: 13px 0;
}
.apl-product-spec:last-child { border-bottom: 1px solid var(--apl-line); }
.apl-product-spec strong { color: var(--apl-ink); }

.apl-doc-table { border-top: 1px solid var(--apl-line); }
.apl-doc-row { border-bottom: 1px solid var(--apl-line); display: grid; gap: 24px; grid-template-columns: minmax(140px, .55fr) 1.45fr; padding: 20px 0; }
.apl-doc-row strong { color: var(--apl-ink); }
.apl-doc-row span { color: var(--apl-muted); }
.apl-callout { border-left: 4px solid var(--apl-gold); padding: 6px 0 6px 22px; }
.apl-callout h3 { margin-top: 0; }
.apl-callout p:last-child { margin-bottom: 0; }

.apl-faq .wp-block-details { border-bottom: 1px solid var(--apl-line); margin: 0; padding: 20px 0; }
.apl-faq .wp-block-details:first-child { border-top: 1px solid var(--apl-line); }
.wp-block-details summary { cursor: pointer; font-size: 1.06rem; font-weight: 750; list-style-position: outside; }
.wp-block-details summary::marker { color: var(--apl-forest); }
.wp-block-details[open] summary { color: var(--apl-forest); }

.apl-contact-form { display: grid; gap: 16px; }
.apl-contact-form label { display: block; font-size: .82rem; font-weight: 750; margin-bottom: 6px; }
.apl-contact-form input,
.apl-contact-form textarea { background: #fff; border: 1px solid #bfcac4; border-radius: 4px; color: var(--apl-ink); font: inherit; padding: 13px 14px; width: 100%; }
.apl-contact-form textarea { min-height: 150px; resize: vertical; }
.apl-contact-form button { background: var(--apl-forest); border: 0; border-radius: 4px; color: #fff; cursor: pointer; font-weight: 750; padding: 14px 20px; }
.apl-contact-form .apl-form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.apl-success { background: var(--apl-mint); border-left: 4px solid var(--apl-forest); margin-bottom: 16px; padding: 12px 16px; }

.apl-post-card { border-bottom: 1px solid var(--apl-line); padding: 30px 0; }
.apl-post-card:first-child { border-top: 1px solid var(--apl-line); }
.apl-post-card h2, .apl-post-card h3 { margin: .5rem 0; }
.apl-post-card .wp-block-post-date { color: var(--apl-muted); font-size: .8rem; }

.apl-footer { border-top: 1px solid rgba(255,255,255,.14); }
.apl-footer a { color: #dde8e2; }
.apl-footer a:hover { opacity: .72; }
.apl-footer h4 { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.apl-footer .apl-footer-meta { border-top: 1px solid rgba(255,255,255,.16); margin-top: 42px; padding-top: 22px; }

.apl-contact-team { margin-top: 54px; }
.apl-contact-team__head { margin-bottom: 26px; max-width: 760px; }
.apl-contact-team__head h2 { font-size: 2.25rem; margin: 8px 0 12px; }
.apl-contact-team__head p:last-child { color: var(--apl-muted); margin-bottom: 0; }
.apl-contact-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.apl-contact-card { background: #fff; border: 1px solid rgba(16,23,20,.12); border-radius: 6px; display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.apl-contact-card__portrait { background: #e9eeeb; margin: 0; }
.apl-contact-card__portrait img { aspect-ratio: 4 / 3; display: block; object-fit: cover; width: 100%; }
.apl-contact-card__body { display: flex; flex: 1; flex-direction: column; padding: 17px 18px 19px; }
.apl-contact-card__body h3 { font-size: 1.12rem; margin: 0 0 4px; }
.apl-contact-card__role { color: var(--apl-muted); font-size: .78rem; margin: 0 0 12px; }
.apl-contact-card__phone { color: var(--apl-forest); font-size: .95rem; font-weight: 750; margin: auto 0 0; }
.apl-contact-card__phone a { color: inherit; }
.apl-contact-card__whatsapp { font-size: .78rem; font-weight: 750; margin: 8px 0 0; }
.apl-contact-card__whatsapp a { color: #198754; }
.apl-contact-note { color: var(--apl-muted); font-size: .82rem; margin-top: 18px; }

.apl-report-carousel { margin-top: 34px; position: relative; }
.apl-report-viewport { overflow: hidden; }
.apl-report-track { align-items: stretch; display: flex; transition: transform .45s ease; will-change: transform; }
.apl-report-slide { background: #fff; border: 1px solid rgba(16,23,20,.12); border-radius: 6px; display: grid; flex: 0 0 100%; gap: clamp(24px, 5vw, 72px); grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); min-width: 0; padding: clamp(18px, 3vw, 34px); }
.apl-report-slide__image { align-self: stretch; background: #f0f3f0; border: 1px solid var(--apl-line); border-radius: 4px; display: flex; margin: 0; min-height: 320px; }
.apl-report-slide__image img { display: block; height: 100%; object-fit: contain; width: 100%; }
.apl-report-slide__body { align-self: center; }
.apl-report-slide__body h3 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.7rem, 3vw, 2.65rem); font-weight: 400; line-height: 1.08; margin: 10px 0 15px; }
.apl-report-slide__body p { color: var(--apl-muted); }
.apl-report-slide__facts { border-top: 1px solid var(--apl-line); margin: 23px 0 0; }
.apl-report-slide__fact { border-bottom: 1px solid var(--apl-line); display: grid; gap: 14px; grid-template-columns: minmax(100px, .7fr) 1.3fr; padding: 11px 0; }
.apl-report-slide__fact strong { color: var(--apl-ink); font-size: .84rem; }
.apl-report-slide__fact span { color: var(--apl-muted); font-size: .87rem; }
.apl-report-controls { align-items: center; display: flex; gap: 12px; justify-content: space-between; margin-top: 18px; }
.apl-report-control { align-items: center; background: var(--apl-forest); border: 0; border-radius: 4px; color: #fff; cursor: pointer; display: inline-flex; font: inherit; font-size: .86rem; font-weight: 750; gap: 7px; min-height: 42px; padding: 10px 14px; }
.apl-report-control:hover { background: var(--apl-forest-2); }
.apl-report-control[disabled] { cursor: default; opacity: .46; }
.apl-report-dots { align-items: center; display: flex; flex: 1; gap: 8px; justify-content: center; }
.apl-report-dot { background: #c3ceca; border: 0; border-radius: 999px; cursor: pointer; height: 9px; padding: 0; transition: background .2s ease, transform .2s ease; width: 9px; }
.apl-report-dot[aria-current="true"] { background: var(--apl-gold); transform: scale(1.35); }
.apl-report-disclaimer { color: var(--apl-muted); font-size: .78rem; margin-top: 15px; }
.apl-dark .apl-report-slide { background: #f8faf8; color: var(--apl-ink); }
.apl-dark .apl-report-slide p { color: var(--apl-muted); }

.apl-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.apl-reveal.is-visible { opacity: 1; transform: none; }

.apl-gate[hidden] { display: none; }
.apl-gate {
  align-items: center;
  background: rgba(7,12,10,.82);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 1000;
}
.apl-gate__panel { background: var(--apl-paper); border-top: 5px solid var(--apl-gold); max-width: 620px; padding: 34px; width: 100%; }
.apl-gate__panel h2 { font-family: Georgia, serif; font-size: 2.2rem; margin: 8px 0 16px; }
.apl-gate__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.apl-gate__accept, .apl-gate__leave { border: 0; border-radius: 4px; cursor: pointer; font: inherit; font-weight: 750; padding: 13px 17px; }
.apl-gate__accept { background: var(--apl-forest); color: #fff; }
.apl-gate__leave { background: transparent; color: var(--apl-ink); text-decoration: underline; }
body.apl-gate-open { overflow: hidden; }

@media (max-width: 980px) {
  .apl-header-cta { display: none !important; }
  .apl-hero h1 { font-size: 3.7rem !important; }
  .apl-page-hero h1, .apl-page-hero h2 { font-size: 3.35rem !important; }
  .apl-section-head h2 { font-size: 2.5rem; }
  .apl-image-band h2 { font-size: 3rem; }
  .apl-photo img, .apl-split-img img { min-height: 390px; }
  .apl-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apl-report-slide { gap: 26px; }
}

@media (max-width: 781px) {
  .apl-header .wp-block-navigation { --navigation-layout-justification-setting: flex-end; }
  .apl-header > .wp-block-group { flex-wrap: wrap !important; gap: 8px; }
  .apl-header .apl-language-menu { margin-left: auto; }
  .apl-proof-item { border-left: 0; border-top: 1px solid var(--apl-line); min-height: 0; padding: 18px 0; }
  .apl-proof-item:first-child { border-top: 0; }
  .apl-metric { border-left: 0; border-top: 1px solid var(--apl-line); padding: 18px 0 0; }
  .apl-doc-row { grid-template-columns: 1fr; gap: 5px; }
  .apl-report-slide { grid-template-columns: 1fr; }
  .apl-report-slide__image { min-height: 260px; }
}

@media (max-width: 640px) {
  .apl-topbar { font-size: 10px; padding: 7px 12px; }
  .apl-section { padding-top: 56px; padding-bottom: 56px; }
  .apl-section-sm { padding-top: 38px; padding-bottom: 38px; }
  .apl-hero { min-height: min(590px, calc(100svh - 142px)); padding: 58px 20px; background-position: 59% center; }
  .apl-hero-brand img { height: 46px; width: 46px; }
  .apl-hero-brand span { font-size: .78rem; }
  .apl-hero h1 { font-size: 2.75rem !important; line-height: 1.04; }
  .apl-hero .apl-lede { font-size: 1.05rem; }
  .apl-page-hero { min-height: 330px; padding-top: 68px; padding-bottom: 58px; }
  .apl-page-hero h1, .apl-page-hero h2 { font-size: 2.7rem !important; }
  .apl-section-head h2 { font-size: 2.25rem; }
  .apl-image-band { min-height: 430px; padding: 54px 20px; }
  .apl-image-band h2 { font-size: 2.45rem; }
  .apl-card { padding: 22px; }
  .apl-product-card .apl-card-body { padding: 19px; }
  .apl-product-spec { grid-template-columns: 1fr; gap: 3px; }
  .apl-contact-form .apl-form-grid { grid-template-columns: 1fr; }
  .apl-contact-grid { grid-template-columns: 1fr; }
  .apl-contact-card__portrait img { aspect-ratio: 5 / 4; }
  .apl-report-slide { padding: 15px; }
  .apl-report-slide__image { min-height: 220px; }
  .apl-report-slide__fact { grid-template-columns: 1fr; gap: 3px; }
  .apl-report-control { font-size: .78rem; padding-left: 10px; padding-right: 10px; }
  .wp-block-buttons { gap: 10px; }
  .wp-block-buttons > .wp-block-button { width: 100%; }
  .wp-block-button__link { text-align: center; width: 100%; }
  .apl-gate__panel { padding: 26px 22px; }
  .apl-gate__panel h2 { font-size: 1.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .apl-reveal { opacity: 1; transform: none; transition: none; }
  .apl-report-track, .apl-report-dot { transition: none; }
}

/* ==========================================================
   Wantalin v7 — user-requested layout and content updates
   ========================================================== */

/* Official logo */
.apl-brand img {
  background: transparent;
  border-radius: 0;
  height: 46px;
  object-fit: contain;
  padding: 0;
  width: 42px;
}
.apl-brand--footer img { height: 44px; width: 38px; }
.apl-hero-brand img,
.apl-catalog-brand img {
  background: transparent;
  border-radius: 0;
  object-fit: contain;
}

/* Testing report carousel — reference layout with multiple cards visible */
.apl-test-reports {
  background: #f8f4eb;
  border-bottom: 1px solid #eadfca;
  border-top: 1px solid #eadfca;
  padding: clamp(54px, 6vw, 86px) 0;
}
.apl-test-report-shell { overflow: hidden; }
.apl-test-report-toolbar {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 26px;
}
.apl-test-report-heading {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  max-width: 820px;
}
.apl-test-report-heading .apl-eyebrow {
  color: #b88711;
  margin: 0 0 5px;
}
.apl-test-report-heading h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
  margin: 0 0 4px;
}
.apl-test-report-heading p:last-child {
  color: #5f5a50;
  font-size: .9rem;
  margin: 0;
}
.apl-test-report-seal {
  align-items: center;
  border: 1px solid #d4a719;
  border-radius: 50%;
  color: #b88711;
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 1rem;
  height: 42px;
  justify-content: center;
  margin-top: 2px;
}
.apl-test-report-nav {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 13px;
}
.apl-test-report-nav button {
  align-items: center;
  background: #d1a817;
  border: 0;
  border-radius: 10px;
  color: #18150f;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 1.5rem;
  height: 42px;
  justify-content: center;
  line-height: 1;
  width: 42px;
}
.apl-test-report-nav button:hover { filter: brightness(.96); }
.apl-test-report-nav span {
  color: #373127;
  font-size: .92rem;
  font-weight: 800;
  min-width: 52px;
  text-align: center;
}
.apl-test-report-viewport { overflow: hidden; width: 100%; }
.apl-test-report-track {
  display: flex;
  gap: 18px;
  transform: translate3d(0,0,0);
  transition: transform .5s ease;
  will-change: transform;
}
.apl-test-report-card {
  background: #fff;
  border: 1px solid #e8ddc8;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(68,52,23,.05);
  flex: 0 0 clamp(265px, 25vw, 330px);
  min-width: 0;
  overflow: hidden;
}
.apl-test-report-card__image {
  background: #fff;
  margin: 0;
  padding: 12px 12px 4px;
}
.apl-test-report-card__image img {
  aspect-ratio: 1.34 / 1;
  display: block;
  object-fit: contain;
  width: 100%;
}
.apl-test-report-card__body { padding: 11px 13px 15px; }
.apl-test-report-card__body strong { display: block; font-size: .96rem; }
.apl-test-report-card__body span {
  color: #b88711;
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  margin-top: 4px;
  text-transform: uppercase;
}
.apl-test-report-dots {
  align-items: center;
  display: flex;
  gap: 7px;
  justify-content: center;
  margin-top: 20px;
}
.apl-test-report-dot {
  background: #d9cfae;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 7px;
  padding: 0;
  width: 7px;
}
.apl-test-report-dot[aria-current="true"] { background: #b88711; transform: scale(1.35); }
.apl-test-report-note {
  color: #777063;
  font-size: .73rem;
  margin: 16px 0 0;
  text-align: center;
}
.apl-test-reports--quality {
  min-height: 68vh;
  padding-top: clamp(72px, 9vw, 130px);
}

/* Transparent peptide workflow */
.apl-workflow-section { background: #fafaf6; }
.apl-workflow-section .apl-section-head { max-width: 1020px; }
.apl-workflow-section .apl-section-head h2 { font-size: clamp(2.25rem, 4.4vw, 4.5rem); }
.apl-workflow-grid { gap: clamp(18px, 2.7vw, 38px); }
.apl-workflow-grid .apl-step {
  border-top: 2px solid #858d89;
  padding-top: 18px;
}
.apl-workflow-grid .apl-number { color: #00a9a3; font-size: 1.8rem; }
.apl-workflow-grid .apl-step h3 { font-size: 1.05rem; margin: 12px 0 10px; }
.apl-workflow-grid .apl-step p { font-size: .8rem; line-height: 1.55; }

/* Payment methods */
.apl-payment-section { background: #fbfbf8; padding: clamp(46px, 6vw, 74px) 0; }
.apl-payment-title-row {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 26px;
}
.apl-payment-title-row span { background: #b79c61; height: 1px; width: 55px; }
.apl-payment-title-row p {
  color: #8a6f32;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .18em;
  margin: 0;
}
.apl-payment-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6,minmax(0,1fr));
}
.apl-payment-card {
  align-items: center;
  background: #fff;
  border: 1px solid #d9d8d1;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 118px;
  padding: 14px 9px;
  text-align: center;
}
.apl-payment-card strong { font-size: .82rem; margin-top: 8px; }
.apl-payment-card span { color: #686d69; font-size: .61rem; margin-top: 5px; }
.apl-pay-icon {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: .72rem;
  font-weight: 900;
  height: 27px;
  justify-content: center;
  min-width: 27px;
  padding: 0 5px;
}
.apl-pay-icon--wise { background: #14b8a6; color: #fff; }
.apl-pay-icon--wechat { background: #2fbd45; color: #fff; }
.apl-pay-icon--alipay { background: #1683ea; color: #fff; }
.apl-pay-icon--wu { background: #ffe433; color: #171717; }
.apl-pay-icon--paypal { background: #eef7ff; color: #0865aa; }
.apl-pay-icon--crypto { background: #f7bb2c; color: #fff; }

/* Homepage FAQ */
.apl-home-faq { background: #f7f7f3; }
.apl-faq-inner { max-width: 860px !important; }
.apl-faq-inner > h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); margin: 7px 0 28px; }
.apl-faq-inner .wp-block-details {
  border-bottom: 1px solid #d4d8d4;
  margin: 0;
  padding: 17px 0;
}
.apl-faq-inner .wp-block-details summary {
  color: #17352d;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 800;
  list-style: none;
}
.apl-faq-inner .wp-block-details summary::-webkit-details-marker { display: none; }
.apl-faq-inner .wp-block-details summary:before { content: "▾"; display: inline-block; margin-right: 8px; }
.apl-faq-inner .wp-block-details[open] summary:before { transform: rotate(180deg); }
.apl-faq-inner .wp-block-details p { color: #535f59; font-size: .8rem; line-height: 1.65; margin: 12px 0 0 22px; max-width: 760px; }

/* Referral rewards */
.apl-referral-section { background: #1d160c; color: #fff8eb; padding: clamp(64px,8vw,110px) 0; }
.apl-referral-inner { max-width: 760px !important; margin-left: max(0px, calc((100% - 1120px)/2)) !important; }
.apl-referral-section .apl-eyebrow { color: #c7a33a; }
.apl-referral-section h2 {
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.02;
  margin: 12px 0 20px;
}
.apl-referral-section h2 em { color: #d5ae38; font-weight: inherit; }
.apl-referral-section p { color: #d7d0c4; max-width: 640px; }
.apl-referral-note { color: #b9ae9d !important; font-size: .77rem; }
.apl-referral-section .wp-block-button__link {
  background: #d3aa36;
  border-radius: 999px;
  color: #1b160d;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
  margin-top: 12px;
  padding: 15px 24px;
}

/* Products catalog hero with logo and product range */
.apl-page-hero--catalog-v7 {
  background: radial-gradient(circle at 80% 12%, rgba(70,134,194,.28), transparent 34%), linear-gradient(120deg,#061625,#0a2e51 54%,#0a1826);
  min-height: clamp(470px, 45vw, 650px);
  overflow: hidden;
  padding: clamp(62px,8vw,110px) 20px;
  position: relative;
}
.apl-page-hero--catalog-v7:after {
  background: linear-gradient(90deg,rgba(2,11,18,.1),rgba(2,11,18,.45));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.apl-catalog-hero-grid { position: relative; z-index: 1; }
.apl-catalog-hero-copy { flex: 0 1 54%; margin-left: 0 !important; }
.apl-catalog-hero-copy h1 { font-family: Georgia,serif; font-size: clamp(2.8rem,5vw,5rem) !important; }
.apl-catalog-hero-copy .apl-lede { max-width: 680px; }
.apl-catalog-brand { align-items: center; color: #fff; display: flex; gap: 13px; margin-bottom: 20px; }
.apl-catalog-brand img { height: 54px; width: 46px; }
.apl-catalog-brand span { font-size: .78rem; font-weight: 850; letter-spacing: .15em; }
.apl-catalog-products-visual {
  align-items: center;
  display: flex;
  flex: 0 0 47%;
  height: 400px;
  justify-content: center;
  margin-right: -4vw;
  perspective: 1000px;
  position: relative;
}
.apl-catalog-products-visual img {
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 10px;
  box-shadow: 0 25px 55px rgba(0,0,0,.28);
  height: 72%;
  object-fit: cover;
  position: absolute;
  width: auto;
}
.apl-catalog-products-visual img:nth-child(1) { transform: translateX(-175px) rotate(-8deg) scale(.84); z-index: 1; }
.apl-catalog-products-visual img:nth-child(2) { transform: translateX(-90px) rotate(-4deg) scale(.92); z-index: 2; }
.apl-catalog-products-visual img:nth-child(3) { transform: translateX(0) scale(1); z-index: 5; }
.apl-catalog-products-visual img:nth-child(4) { transform: translateX(90px) rotate(4deg) scale(.92); z-index: 3; }
.apl-catalog-products-visual img:nth-child(5) { transform: translateX(175px) rotate(8deg) scale(.84); z-index: 1; }

/* China brand trust block */
.apl-brand-trust { background: #fffaf1; border-block: 1px solid #eadcb9; padding: clamp(62px,8vw,100px) 20px; }
.apl-brand-trust-inner { max-width: 900px !important; text-align: center; }
.apl-brand-trust-logo { display: block; height: 72px; margin: 0 auto 12px; object-fit: contain; width: 62px; }
.apl-brand-trust .apl-eyebrow { color: #b88711; }
.apl-brand-trust h2 { color: #b88711; font-size: clamp(1.4rem,2.3vw,2rem); letter-spacing: .08em; margin: 7px 0 13px; }
.apl-brand-trust p { color: #6c6558; margin-inline: auto; max-width: 760px; }
.apl-brand-trust-points { color: #b88711; display: flex; flex-wrap: wrap; font-size: .7rem; font-weight: 850; gap: 14px 28px; justify-content: center; letter-spacing: .08em; margin-top: 22px; }

/* Production images interspersed through pages */
.apl-production-strip { background: #eef3f5; padding: clamp(60px,7vw,96px) 0; }
.apl-production-strip .apl-section-head { max-width: 900px; }
.apl-production-grid { gap: 16px; }
.apl-production-image { margin: 0; overflow: hidden; }
.apl-production-image img { aspect-ratio: 4/3; display: block; object-fit: cover; width: 100%; }
.apl-production-grid .apl-caption { font-size: .72rem; margin-top: 8px; }
.apl-about-reasons { gap: 18px; }
.apl-about-reasons > .wp-block-column { border-top: 2px solid #17352d; padding-top: 18px; }
.apl-about-reasons h3 { font-size: 1.1rem; }
.apl-about-reasons p { color: var(--apl-muted); font-size: .85rem; }
.apl-about-subsection { border-top: 1px solid var(--apl-line); margin-top: 42px !important; padding-top: 32px; }
.apl-check-list { max-width: 900px; }
.apl-disclaimer { border-top: 1px solid var(--apl-line); color: #5f6964; font-size: .8rem; margin-top: 48px !important; padding-top: 22px; }

/* Footer — compact multi-column layout from reference */
.apl-footer-v7 {
  background: #091b17;
  padding: 58px 20px 24px;
}
.apl-footer-columns { gap: clamp(28px,4vw,62px); }
.apl-footer-brand p { max-width: 410px; }
.apl-footer-v7 h4 { color: #fff; font-size: .68rem; letter-spacing: .08em; margin-bottom: 16px; text-transform: uppercase; }
.apl-footer-v7 p { color: #c6d1cc; font-size: .72rem; line-height: 1.8; }
.apl-footer-v7 a { color: #e5ece8; font-size: .72rem; text-decoration: none; }
.apl-footer-v7 .apl-footer-meta { margin-top: 34px; padding-top: 18px; }
.apl-footer-v7 .apl-footer-meta p { font-size: .65rem; margin: 0; }

/* Floating contact buttons output by theme settings */
.apl-floating-contact {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: fixed;
  right: 18px;
  top: 58%;
  transform: translateY(-50%);
  z-index: 95;
}
.apl-floating-contact a {
  align-items: center;
  border: 3px solid rgba(255,255,255,.92);
  border-radius: 999px;
  box-shadow: 0 7px 20px rgba(0,0,0,.2);
  display: inline-flex;
  height: 58px;
  justify-content: center;
  text-decoration: none;
  transition: transform .18s ease;
  width: 58px;
}
.apl-floating-contact a:hover { transform: translateX(-4px); }
.apl-floating-contact svg { height: 29px; width: 29px; }
.apl-float-whatsapp { background: #111; color: #e1b83e; }
.apl-float-line { background: #050505; color: #fff; }
.apl-float-email { background: #0e4c86; color: #fff; }
.apl-floating-contact .apl-float-label {
  background: #15231f;
  border-radius: 999px 0 0 999px;
  color: #fff;
  display: none;
  font-size: .69rem;
  font-weight: 800;
  padding: 7px 10px;
  position: absolute;
  right: 66px;
  white-space: nowrap;
}
.apl-floating-contact a:hover .apl-float-label { display: inline-block; }

@media (max-width: 1100px) {
  .apl-payment-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .apl-catalog-products-visual { height: 350px; margin-right: -10vw; }
  .apl-catalog-products-visual img:nth-child(1) { transform: translateX(-125px) rotate(-7deg) scale(.8); }
  .apl-catalog-products-visual img:nth-child(2) { transform: translateX(-65px) rotate(-3deg) scale(.9); }
  .apl-catalog-products-visual img:nth-child(4) { transform: translateX(65px) rotate(3deg) scale(.9); }
  .apl-catalog-products-visual img:nth-child(5) { transform: translateX(125px) rotate(7deg) scale(.8); }
  .apl-footer-columns { flex-wrap: wrap !important; }
  .apl-footer-columns > .wp-block-column { flex-basis: calc(25% - 24px) !important; }
  .apl-footer-columns > .apl-footer-brand { flex-basis: 100% !important; }
}

@media (max-width: 782px) {
  .apl-test-reports { padding-inline: 0; }
  .apl-test-report-shell { padding-inline: 18px; }
  .apl-test-report-toolbar { align-items: flex-start; flex-direction: column; }
  .apl-test-report-nav { align-self: flex-end; margin-top: -8px; }
  .apl-test-report-card { flex-basis: min(82vw, 320px); }
  .apl-workflow-grid { gap: 24px; }
  .apl-payment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .apl-catalog-hero-grid { display: block !important; }
  .apl-catalog-hero-copy { max-width: 720px; }
  .apl-catalog-products-visual { height: 330px; margin: 28px 0 -30px; }
  .apl-catalog-products-visual img { height: 72%; }
  .apl-catalog-products-visual img:nth-child(1) { transform: translateX(-115px) rotate(-8deg) scale(.8); }
  .apl-catalog-products-visual img:nth-child(2) { transform: translateX(-58px) rotate(-4deg) scale(.9); }
  .apl-catalog-products-visual img:nth-child(4) { transform: translateX(58px) rotate(4deg) scale(.9); }
  .apl-catalog-products-visual img:nth-child(5) { transform: translateX(115px) rotate(8deg) scale(.8); }
  .apl-production-grid { gap: 24px; }
  .apl-footer-columns > .wp-block-column { flex-basis: calc(50% - 20px) !important; }
  .apl-footer-columns > .apl-footer-brand { flex-basis: 100% !important; }
  .apl-floating-contact { gap: 9px; right: 9px; top: auto; transform: none; bottom: 20px; }
  .apl-floating-contact a { border-width: 2px; height: 48px; width: 48px; }
  .apl-floating-contact svg { height: 24px; width: 24px; }
}

@media (max-width: 520px) {
  .apl-payment-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .apl-payment-card { min-height: 108px; }
  .apl-catalog-products-visual { height: 270px; overflow: visible; }
  .apl-catalog-products-visual img { height: 68%; }
  .apl-catalog-products-visual img:nth-child(1),
  .apl-catalog-products-visual img:nth-child(5) { display: none; }
  .apl-catalog-products-visual img:nth-child(2) { transform: translateX(-72px) rotate(-5deg) scale(.9); }
  .apl-catalog-products-visual img:nth-child(4) { transform: translateX(72px) rotate(5deg) scale(.9); }
  .apl-footer-columns > .wp-block-column { flex-basis: 100% !important; }
  .apl-brand-trust-points { align-items: center; flex-direction: column; }
}


/* ===== V8 width, hero and layout refinements ===== */
:root {
  --apl-site-wide: min(80vw, 1440px);
  --apl-site-content: min(80vw, 1320px);
}
@media (max-width: 1100px) {
  :root { --apl-site-wide: min(90vw, 1440px); --apl-site-content: min(90vw, 1320px); }
}
@media (max-width: 782px) {
  :root { --apl-site-wide: min(95vw, 1440px); --apl-site-content: min(95vw, 1320px); }
}
.wp-site-blocks .alignwide,
.wp-site-blocks .wp-block-group.alignwide,
.wp-site-blocks .wp-block-columns.alignwide,
.wp-site-blocks .wp-block-buttons.alignwide {
  max-width: var(--apl-site-wide) !important;
  width: min(100% - 32px, var(--apl-site-wide)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.wp-site-blocks .wp-block-group.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: var(--apl-site-content);
}
.apl-hero,
.apl-page-hero {
  min-height: clamp(460px, 52vw, 680px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.apl-hero::before,
.apl-page-hero::before {
  background: linear-gradient(90deg, rgba(2,9,15,.84) 0%, rgba(2,10,20,.62) 34%, rgba(2,10,20,.18) 62%, rgba(2,10,20,0) 100%);
  content: "";
  inset: 0;
  position: absolute;
}
.apl-hero > .alignwide,
.apl-page-hero > .alignwide { position: relative; z-index: 2; }
.apl-hero--v8 { background: #071a2d url('../images/banners-v8/banner-home-v8.jpg') center center / cover no-repeat; }
.apl-page-hero--products-v8 { background: #071a2d url('../images/banners-v8/banner-products-v8.jpg') center center / cover no-repeat; }
.apl-page-hero--single-product-v8 { background: #071a2d url('../images/banners-v8/banner-product-single-v8.jpg') center center / cover no-repeat; }
.apl-page-hero--quality-v8 { background: #071a2d url('../images/banners-v8/banner-quality-v8.jpg') center center / cover no-repeat; }
.apl-page-hero--about-v8 { background: #071a2d url('../images/banners-v8/banner-about-v8.jpg') center center / cover no-repeat; }
.apl-page-hero--reports-v8 { background: #071a2d url('../images/banners-v8/banner-reports-v8.jpg') center center / cover no-repeat; }
.apl-page-hero--research-v8 { background: #071a2d url('../images/banners-v8/banner-research-v8.jpg') center center / cover no-repeat; }
.apl-page-hero--contact-v8 { background: #071a2d url('../images/banners-v8/banner-contact-v8.jpg') center center / cover no-repeat; }
.apl-hero__inner,
.apl-page-hero .alignwide { padding-block: clamp(72px, 9vw, 118px); }
.apl-hero__copy, .apl-page-hero .alignwide { max-width: 760px; }
.apl-hero h1, .apl-page-hero h1 { font-size: clamp(2.8rem, 5.4vw, 5.4rem); line-height: .98; }
.apl-page-hero p, .apl-page-hero h1, .apl-hero p, .apl-hero h1 { color: #fff; }
.apl-hero-brand, .apl-catalog-brand {
  align-items: center;
  display: inline-flex;
  gap: 14px;
  margin-bottom: 28px;
}
.apl-hero-brand span, .apl-catalog-brand span { color: #fff; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.apl-section, .apl-section-sm { position: relative; }
.apl-section .apl-section-head { max-width: 980px; }
.apl-card.apl-product-card figure { margin: 0; }
.apl-product-card .apl-card-body { padding-top: 16px; }
.apl-product-card p { min-height: 88px; }
.apl-product-card--empty { background: transparent !important; border: 0 !important; box-shadow: none !important; min-height: 1px; }
.apl-photo img { display: block; width: 100%; }
.apl-dark .apl-photo, .apl-soft .apl-photo { margin-bottom: 0; }
.apl-photo--portrait img { aspect-ratio: 1 / 1.25; object-fit: cover; }
.apl-photo--wide img { aspect-ratio: 4 / 3; object-fit: cover; }
.apl-workflow-panel {
  background: #f5f5ef;
  border: 1px solid #e1dfd3;
  padding: clamp(36px, 4vw, 58px);
}
.apl-gallery3 .wp-block-column { display: flex; flex-direction: column; }
.apl-gallery3 .apl-caption { color: #5d645d; font-size: .78rem; margin-top: 10px; }
.apl-faq-sheet {
  background: #fbfbf8;
  border: 1px solid #e7e6df;
  padding: clamp(36px, 4vw, 62px);
}
.apl-faq-sheet h2 { font-size: clamp(2rem, 4vw, 4rem); max-width: 760px; }
.apl-faq-item { border-top: 1px solid #d8d8d0; padding: 18px 0 8px; }
.apl-faq-item:first-of-type { margin-top: 8px; }
.apl-faq-item h3 { font-size: 1.06rem; margin: 0 0 10px; }
.apl-faq-item p { margin: 0; color: #313b3e; }
.apl-test-report-shell[data-apl-report-strip] { overflow: visible; }
.apl-test-reports .alignwide,
.apl-proof-band .alignwide,
.apl-soft .alignwide,
.apl-dark .alignwide { width: min(100% - 32px, var(--apl-site-wide)) !important; }
.apl-test-reports { padding-inline: 0; }
.apl-proof-item { border-left: 1px solid #e2ded2; padding-left: 26px; }
.apl-proof-item:first-child { border-left: 0; padding-left: 0; }
.apl-proof-item h3 { margin-bottom: 6px; }
.apl-product-detail .apl-product-spec { font-size: 1rem; }
.apl-product-detail .apl-product-badges { margin-bottom: 16px; }
.apl-product-detail .apl-product-badges .apl-chip { margin-right: 8px; }
@media (max-width: 900px) {
  .apl-proof-item { border-left: 0; padding-left: 0; }
  .apl-product-card p { min-height: 0; }
}

/* ==========================================================
   Wantalin v9 — 80% desktop system + advanced banner refresh
   ========================================================== */
:root {
  --apl-v9-wide: 80vw;
  --apl-v9-paper: #f5f6f2;
  --apl-v9-soft: #eef3f3;
  --apl-v9-cream: #faf7ee;
}
body { background: var(--apl-v9-paper); }
.wp-site-blocks .alignwide,
.wp-site-blocks .wp-block-group.alignwide,
.wp-site-blocks .wp-block-columns.alignwide,
.wp-site-blocks .wp-block-buttons.alignwide,
.apl-header > .alignwide,
.apl-footer-v7 > .alignwide,
.apl-footer-columns.alignwide,
.apl-footer-meta.alignwide {
  box-sizing: border-box;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1600px !important;
  width: var(--apl-v9-wide) !important;
}
@media (max-width: 1100px) { :root { --apl-v9-wide: 90vw; } }
@media (max-width: 782px) { :root { --apl-v9-wide: 95vw; } }

/* High-end AI-assisted page banner family */
.apl-page-hero {
  align-items: center;
  display: flex;
  min-height: clamp(480px, 42vw, 720px);
  overflow: hidden;
  padding: 0;
  position: relative;
}
.apl-page-hero::before {
  background: linear-gradient(90deg, rgba(2,10,16,.86) 0%, rgba(2,12,20,.72) 32%, rgba(2,12,20,.24) 62%, rgba(2,12,20,.03) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}
.apl-page-hero > .alignwide { position: relative; z-index: 2; }
.apl-hero-copy-v9 { padding-block: clamp(72px, 8vw, 116px); }
.apl-hero-copy-v9 > * { max-width: 760px; }
.apl-page-hero .apl-eyebrow { color: #d9b453; }
.apl-page-hero h1 {
  color: #fff !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3rem, 5vw, 5.4rem) !important;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: .98;
  margin: 12px 0 24px;
}
.apl-page-hero .apl-lede { color: rgba(255,255,255,.88); font-size: clamp(1rem,1.25vw,1.2rem); max-width: 690px; }
.apl-page-hero--home-v9 { background: #061727 url('../images/v9/banner-home-v9.jpg') center / cover no-repeat; }
.apl-page-hero--products-v9 { background: #061727 url('../images/v9/banner-products-v9.jpg') center / cover no-repeat; }
.apl-page-hero--quality-v9 { background: #071b20 url('../images/v9/banner-quality-v9.jpg') center / cover no-repeat; }
.apl-page-hero--reports-v9 { background: #0b1421 url('../images/v9/banner-reports-v9.jpg') center / cover no-repeat; }
.apl-page-hero--about-v9 { background: #0a2023 url('../images/v9/banner-about-v9.jpg') center / cover no-repeat; }
.apl-page-hero--research-v9 { background: #061a2d url('../images/v9/banner-research-v9.jpg') center / cover no-repeat; }
.apl-page-hero--contact-v9 { background: #08191e url('../images/v9/banner-contact-v9.jpg') center / cover no-repeat; }
.apl-page-hero--single-v9 { background: #061727 url('../images/v9/banner-single-v9.jpg') center / cover no-repeat; }
.apl-hero-brand { align-items: center; display: inline-flex; gap: 13px; margin-bottom: 24px; }
.apl-hero-brand img { background: transparent; border-radius: 0; height: 48px; object-fit: contain; width: 43px; }
.apl-hero-brand span { color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

/* Section rhythm: full-width background, 80% inner content */
.apl-section { padding-block: clamp(70px, 7vw, 108px); }
.apl-section-sm { padding-block: clamp(34px, 4vw, 56px); }
.apl-section-head { margin-bottom: clamp(28px, 3vw, 42px); max-width: 940px; }
.apl-section-head h2 { font-size: clamp(2.25rem, 3.4vw, 3.6rem); line-height: 1.06; }
.apl-section-head .apl-lede { max-width: 820px; }
.apl-soft { background: #edf2f2; }
.apl-proof-band { background: #fff; }
.apl-proof-band .wp-block-columns { margin-bottom: 0; }
.apl-proof-item { padding: 8px 24px; }
.apl-proof-item h3 { font-size: 1.05rem; margin: 0 0 6px; }
.apl-proof-item p { color: var(--apl-muted); font-size: .8rem; margin: 0; }

/* Reports always sit inside the same width system */
.apl-test-reports { background: var(--apl-v9-cream); padding-block: clamp(56px, 6vw, 86px); }
.apl-test-reports .apl-test-report-shell { margin-left: auto !important; margin-right: auto !important; width: var(--apl-v9-wide) !important; max-width: 1600px !important; }
.apl-test-report-toolbar { margin-bottom: 22px; }
.apl-test-report-viewport { overflow: hidden; }
.apl-test-report-card { flex-basis: clamp(250px, 20vw, 320px); }
.apl-test-report-card__image img { object-fit: contain; }
.apl-test-reports--quality { min-height: auto; padding-top: clamp(62px,7vw,94px); }

/* Four equal product cards per desktop row */
.apl-products-home .apl-product-row,
.apl-catalog-section .apl-product-row { align-items: stretch; gap: clamp(14px, 1.5vw, 24px); margin-bottom: clamp(18px, 2vw, 26px); }
.apl-product-row > .wp-block-column { min-width: 0; }
.apl-product-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.apl-product-card .wp-block-image { background: #edf2f4; margin: 0; }
.apl-product-card img { aspect-ratio: 3 / 4; object-fit: contain; padding: 0; width: 100%; }
.apl-product-card .apl-card-body { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 22px; }
.apl-product-card h3 { font-size: 1.18rem; margin: 9px 0 9px; }
.apl-product-card p { color: #5f6b67; font-size: .83rem; line-height: 1.6; margin-top: 0; }
.apl-product-card .apl-product-link { margin-top: auto; padding-top: 10px; }
.apl-product-placeholder { visibility: hidden; }

/* Products page spacing and background connection */
.apl-catalog-filter-section { background: #fff; border-bottom: 1px solid #e2e5e1; padding-block: 30px; }
.apl-catalog-filter { gap: 10px; }
.apl-catalog-section { background: var(--apl-v9-paper); padding-block: 52px 82px; }
.apl-catalog-section .apl-section-head { margin-bottom: 28px; }
.apl-brand-trust { background: #fffaf1; border-block: 1px solid #eadcb9; }
.apl-brand-trust-inner { padding-block: clamp(58px,6vw,88px); }

/* Factory block: balanced halves and no abrupt end */
.apl-factory-feature { background: #0b1714; }
.apl-factory-feature .wp-block-columns { gap: clamp(34px,5vw,76px); margin-bottom: 0; }
.apl-photo--factory { margin: 0; }
.apl-photo--factory img { aspect-ratio: 4 / 3; border-radius: 2px; display: block; min-height: 0; object-fit: cover; width: 100%; }
.apl-factory-feature h2 { font-size: clamp(2rem,3.2vw,3.4rem); line-height: 1.07; }

/* Workflow: no boxed cut-off, one continuous background */
.apl-workflow-section { background: #f5f5ef; }
.apl-workflow-wrap { padding: 0 !important; }
.apl-workflow-section .apl-section-head { margin-bottom: 34px; max-width: 960px; }
.apl-workflow-section .apl-section-head h2 { font-size: clamp(2.5rem,4vw,4.6rem); }
.apl-workflow-grid { gap: clamp(18px,2.2vw,34px); }
.apl-workflow-grid .apl-step { border-top: 2px solid #8f9793; min-height: 180px; padding-top: 18px; }
.apl-workflow-grid .apl-number { color: #00a6a2; font-size: 1.7rem; }
.apl-workflow-grid .apl-step h3 { margin: 10px 0 8px; }
.apl-workflow-grid .apl-step p { font-size: .78rem; line-height: 1.55; }

/* Symmetrical 3-image production/about galleries */
.apl-production-section { background: #eef4f5; }
.apl-gallery3 { gap: 16px; }
.apl-gallery3 > .wp-block-column { display: flex; flex-direction: column; }
.apl-gallery3 .wp-block-image { margin: 0; }
.apl-gallery3 .wp-block-image img { aspect-ratio: 4 / 3; display: block; object-fit: cover; width: 100%; }
.apl-gallery3 .apl-caption { color: #626c68; font-size: .72rem; margin: 8px 0 0; }

/* FAQ matches compact reference rather than an oversized accordion */
.apl-faq-section { background: #f8f8f4; padding-block: clamp(56px,6vw,86px); }
.apl-faq-reference { max-width: 980px !important; }
.apl-faq-reference > .apl-eyebrow { font-size: .62rem !important; margin-bottom: 7px; }
.apl-faq-reference > h2 { font-size: clamp(1.7rem,2.2vw,2.35rem); line-height: 1.08; margin: 0 0 26px; }
.apl-faq-item { border-bottom: 1px solid #d8ddd9; padding: 12px 0 13px; }
.apl-faq-item:first-of-type { border-top: 1px solid #d8ddd9; }
.apl-faq-item h3 { color: #183a32; font-size: .76rem; margin: 0 0 8px; }
.apl-faq-item h3 span { display: inline-block; font-size: .55rem; margin-right: 8px; transform: translateY(-1px); }
.apl-faq-item p { color: #3f4d48; font-size: .7rem; line-height: 1.55; margin: 0 0 0 18px; max-width: 820px; }

/* Payment + referral keep the prior requested look */
.apl-payment-section { background: #fff; padding-block: 46px; }
.apl-payment-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
.apl-payment-card { min-height: 110px; }
.apl-payment-card small { color: #68716d; font-size: .6rem; margin-top: 5px; }
.apl-referral-section { background: #1d160c; }
.apl-referral-inner { margin-left: auto !important; margin-right: auto !important; max-width: 980px !important; }

/* Quality page now distinct from COA */
.apl-quality-intro { background: #f6f7f3; }
.apl-quality-manufacturing { background: #0b1714; }
.apl-quality-docs { background: #fff; }
.apl-quality-docs .wp-block-columns { gap: clamp(34px,5vw,72px); }
.apl-quality-storage { background: #edf2f2; }

/* Product single-page enrichment */
.apl-product-detail { background: #fff; }
.apl-product-detail .wp-block-columns { gap: clamp(34px,5vw,72px); }
.apl-product-detail .wp-block-image { margin: 0; }
.apl-product-detail .wp-block-image img { aspect-ratio: 3 / 4; object-fit: contain; width: 100%; }
.apl-product-detail h2 { font-size: clamp(2rem,3vw,3.2rem); }
.apl-product-spec { grid-template-columns: 140px 1fr; }
.apl-product-longform { background: #eef3f3; }
.apl-detail-grid { gap: 18px; margin-bottom: 18px; }
.apl-detail-grid > .wp-block-column { background: #fff; border: 1px solid #dfe6e2; padding: 28px; }
.apl-detail-grid h3 { font-size: 1.05rem; margin-top: 0; }
.apl-detail-grid p { color: #596662; font-size: .85rem; line-height: 1.65; margin-bottom: 0; }

/* About page receives more imagery while staying balanced */
.apl-about-gallery-section { background: #f7f8f5; }
.apl-disclaimer { border-top: 1px solid #cfd7d2; color: #59645f; font-size: .78rem; padding-top: 18px; }

/* Header/footer content follows the same width system */
.apl-header { width: 100%; }
.apl-footer-v7 { padding-inline: 0; }

@media (max-width: 1100px) {
  .apl-payment-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .apl-page-hero h1 { font-size: clamp(2.8rem,6vw,4.6rem) !important; }
}
@media (max-width: 781px) {
  .apl-page-hero { min-height: 470px; }
  .apl-page-hero::before { background: linear-gradient(90deg,rgba(2,10,16,.88),rgba(2,10,16,.56)); }
  .apl-page-hero--home-v9,
  .apl-page-hero--products-v9,
  .apl-page-hero--quality-v9,
  .apl-page-hero--reports-v9,
  .apl-page-hero--about-v9,
  .apl-page-hero--research-v9,
  .apl-page-hero--contact-v9,
  .apl-page-hero--single-v9 { background-position: 60% center; }
  .apl-product-row { flex-wrap: wrap !important; }
  .apl-product-row > .wp-block-column { flex-basis: calc(50% - 12px) !important; }
  .apl-product-placeholder { display: none; }
  .apl-gallery3 { flex-wrap: wrap !important; }
  .apl-gallery3 > .wp-block-column { flex-basis: 100% !important; }
  .apl-gallery3 .wp-block-image img { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .apl-page-hero { min-height: 430px; }
  .apl-hero-copy-v9 { padding-block: 58px; }
  .apl-page-hero h1 { font-size: 2.55rem !important; }
  .apl-page-hero .apl-lede { font-size: .96rem; }
  .apl-product-row > .wp-block-column { flex-basis: 100% !important; }
  .apl-product-card img { aspect-ratio: 4 / 5; }
  .apl-payment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .apl-faq-reference > h2 { font-size: 1.65rem; }
  .apl-detail-grid { display: block !important; }
  .apl-detail-grid > .wp-block-column { margin-bottom: 12px; }
}

/* ==========================================================
   Wantalin v10 — generated banner artwork integrated sitewide
   ========================================================== */

/* Keep the approved homepage banner exactly as in v9. */
.apl-page-hero--home-v9 {
  background-image: url('../images/v9/banner-home-v9.jpg');
}

/* Desktop/tablet secondary-page banner artwork generated to match the approved homepage look. */
.apl-page-hero--products-v9,
.apl-page-hero--quality-v9,
.apl-page-hero--reports-v9,
.apl-page-hero--about-v9,
.apl-page-hero--research-v9,
.apl-page-hero--single-v9 {
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  height: clamp(440px, 33.333vw, 724px);
  min-height: 0;
}
.apl-page-hero--products-v9 { background-image: url('../images/v10/banner-products-v10.png') !important; }
.apl-page-hero--quality-v9 { background-image: url('../images/v10/banner-quality-v10.png') !important; }
.apl-page-hero--reports-v9 { background-image: url('../images/v10/banner-reports-v10.png') !important; }
.apl-page-hero--about-v9 { background-image: url('../images/v10/banner-about-v10.png') !important; }
.apl-page-hero--research-v9 { background-image: url('../images/v10/banner-research-v10.png') !important; }
.apl-page-hero--single-v9 { background-image: url('../images/v10/banner-single-v10.png') !important; }

/* The generated desktop banners already contain their headline treatment, logo and visual copy.
   Keep the semantic page heading in the DOM but visually hide the duplicate overlay on desktop. */
@media (min-width: 782px) {
  .apl-page-hero--products-v9::before,
  .apl-page-hero--quality-v9::before,
  .apl-page-hero--reports-v9::before,
  .apl-page-hero--about-v9::before,
  .apl-page-hero--research-v9::before,
  .apl-page-hero--single-v9::before {
    background: none !important;
  }
  .apl-page-hero--products-v9 .apl-hero-copy-v9,
  .apl-page-hero--quality-v9 .apl-hero-copy-v9,
  .apl-page-hero--reports-v9 .apl-hero-copy-v9,
  .apl-page-hero--about-v9 .apl-hero-copy-v9,
  .apl-page-hero--research-v9 .apl-hero-copy-v9,
  .apl-page-hero--single-v9 .apl-hero-copy-v9 {
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}

/* Contact uses the same generated visual language but preserves live editable text. */
.apl-page-hero--contact-v9 {
  background-image: url('../images/v10/banner-contact-v10.jpg') !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  height: clamp(440px, 33.333vw, 724px);
  min-height: 0;
}
.apl-page-hero--contact-v9::before {
  background: linear-gradient(90deg, rgba(2,15,30,.82) 0%, rgba(2,15,30,.70) 34%, rgba(2,15,30,.18) 51%, rgba(2,15,30,0) 64%) !important;
}
.apl-page-hero--contact-v9 .apl-hero-copy-v9 > * { max-width: 680px; }

/* Mobile keeps the original v9 crop-friendly artwork and live headings for readability. */
@media (max-width: 781px) {
  .apl-page-hero--products-v9,
  .apl-page-hero--quality-v9,
  .apl-page-hero--reports-v9,
  .apl-page-hero--about-v9,
  .apl-page-hero--research-v9,
  .apl-page-hero--contact-v9,
  .apl-page-hero--single-v9 {
    height: auto;
    min-height: 470px;
    background-position: 60% center !important;
    background-size: cover !important;
  }
  .apl-page-hero--products-v9 { background-image: url('../images/v10/mobile-originals/banner-products-v9.jpg') !important; }
  .apl-page-hero--quality-v9 { background-image: url('../images/v10/mobile-originals/banner-quality-v9.jpg') !important; }
  .apl-page-hero--reports-v9 { background-image: url('../images/v10/mobile-originals/banner-reports-v9.jpg') !important; }
  .apl-page-hero--about-v9 { background-image: url('../images/v10/mobile-originals/banner-about-v9.jpg') !important; }
  .apl-page-hero--research-v9 { background-image: url('../images/v10/mobile-originals/banner-research-v9.jpg') !important; }
  .apl-page-hero--contact-v9 { background-image: url('../images/v10/mobile-originals/banner-contact-v9.jpg') !important; }
  .apl-page-hero--single-v9 { background-image: url('../images/v10/mobile-originals/banner-single-v9.jpg') !important; }
  .apl-page-hero--products-v9::before,
  .apl-page-hero--quality-v9::before,
  .apl-page-hero--reports-v9::before,
  .apl-page-hero--about-v9::before,
  .apl-page-hero--research-v9::before,
  .apl-page-hero--contact-v9::before,
  .apl-page-hero--single-v9::before {
    background: linear-gradient(90deg, rgba(2,10,16,.90), rgba(2,10,16,.54)) !important;
  }
}


/* ==========================================================
   Wantalin v11 — payment polish, image replacements, no-gap footer
   ========================================================== */

/* 1) Homepage banner shows the full approved composition on desktop. */
@media (min-width: 782px) {
  .apl-page-hero--home-v9 {
    background-color: #041423 !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    height: clamp(420px, 31vw, 620px);
    min-height: 0;
  }
  .apl-page-hero--home-v9::before {
    background: linear-gradient(90deg, rgba(2,10,16,.76) 0%, rgba(2,10,16,.42) 28%, rgba(2,10,16,.10) 56%, rgba(2,10,16,0) 100%) !important;
  }
}
@media (max-width: 781px) {
  .apl-page-hero--home-v9 {
    background-position: 61% center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
  }
}

/* 2) Payment method cards match the compact reference style with icon chips on top. */
.apl-payment-section {
  background: #fff;
  padding-block: 38px 34px;
}
.apl-payment-title-row {
  gap: 10px;
  margin-bottom: 18px;
}
.apl-payment-title-row span {
  opacity: .82;
  width: 44px;
}
.apl-payment-title-row p {
  font-size: .58rem;
  letter-spacing: .22em;
}
.apl-payment-grid {
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.apl-payment-card {
  border: 1px solid #dfddd5;
  border-radius: 8px;
  box-shadow: none;
  min-height: 84px;
  padding: 10px 8px 9px;
}
.apl-pay-icon {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: .64rem;
  font-weight: 900;
  height: 18px;
  justify-content: center;
  line-height: 1;
  margin-bottom: 7px;
  min-width: 18px;
  padding: 0 4px;
}
.apl-payment-card strong {
  font-size: .78rem;
  margin-top: 0;
}
.apl-payment-card small {
  color: #737875;
  font-size: .54rem;
  line-height: 1.35;
  margin-top: 4px;
}
@media (max-width: 1100px) {
  .apl-payment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .apl-payment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 3) Make the three-image workflow and the quality visual feel cleaner and fully photographic. */
.apl-gallery3 .wp-block-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.apl-quality-manufacturing .apl-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* 4) Remove the visible white gap between the rewards section and the footer. */
.apl-referral-section {
  margin-bottom: 0 !important;
  padding-bottom: clamp(22px, 3vw, 34px);
}
.apl-footer-v7,
.wp-site-blocks .apl-footer-v7,
.apl-referral-section + .apl-footer-v7 {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}

/* 5) Slightly tighten the dark footer block so it connects directly below the referral band. */
.apl-footer-v7 {
  padding-top: clamp(22px, 2.8vw, 34px);
}
