/* ==========================================================================
   Wenergy — Apple-style edition (APL)
   Light translucent global nav, product tiles on white and #f5f5f7 with 12px
   gutters, centred headlines, pill buttons, store shelves and a dense footer.
   ========================================================================== */

:root {
    --apl-ink: #1d1d1f;
    --apl-ink-2: #333336;
    --apl-grey: #6e6e73;
    --apl-grey-2: #86868b;
    --apl-line: #d2d2d7;
    --apl-bg-2: #f5f5f7;
    --apl-bg-3: #fafafc;
    --apl-white: #fff;
    --apl-accent: #1d1d1f;      /* black-and-white edition: actions are black */
    --apl-accent-hover: #000;
    --apl-link: #1d1d1f;
    --apl-link-dark: #f5f5f7;
    --apl-eyebrow: #6e6e73;
    --apl-sage: #829177;        /* from the Wenergy logo */
    --apl-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Inter, Helvetica, Arial, sans-serif;
    --apl-ease: cubic-bezier(.28, .11, .32, 1);
    --apl-nav-h: 44px;
}

html { scroll-behavior: smooth; }
body.apl {
    margin: 0;
    background: var(--apl-white) !important;
    color: var(--apl-ink);
    font-family: var(--apl-font) !important;
    font-size: 17px;
    line-height: 1.47059;
    letter-spacing: -.022em;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}
.apl-shell { min-height: 100vh; }
.apl-skip { position: fixed; top: 6px; left: 6px; z-index: 100000; padding: 8px 14px; border-radius: 8px; background: var(--apl-ink); color: #fff; transform: translateY(-160%); }
.apl-skip:focus { transform: none; }
body.apl :focus-visible { outline: 2px solid var(--apl-accent); outline-offset: 2px; }
.apl .elx-i { display: block; flex: 0 0 auto; }

/* ---------- Logo mark (monochrome, like a nav glyph) ---------- */
.apl .elx-mark { display: block; width: 26px; height: auto; overflow: visible; }
.apl .elx-mark__sun, .apl .elx-mark__sage { fill: currentColor; opacity: .55; }
.apl .elx-mark__rays, .apl .elx-mark__ink { color: currentColor; }

/* ==========================================================================
   Global nav
   ========================================================================== */
.apl .apl-nav { position: sticky; top: 0; z-index: 9997; height: var(--apl-nav-h); }
.apl .apl-nav::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(250, 250, 252, .8);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    transition: background .3s;
}
.apl .apl-nav.is-open::before { background: var(--apl-bg-3); }
.apl .apl-nav__in { display: flex; align-items: center; justify-content: space-between; max-width: 1024px; height: 100%; margin: 0 auto; padding: 0 22px; box-sizing: border-box; }
.apl .apl-nav__logo { display: flex; align-items: center; height: 100%; padding: 0 8px; color: var(--apl-ink) !important; opacity: .88; transition: opacity .3s; }
.apl .apl-nav__logo:hover { opacity: 1; }
.apl .apl-nav__logo .elx-mark { width: 22px; }
.apl .apl-nav__list { display: flex; flex: 1; justify-content: space-between; margin: 0 8px; padding: 0; list-style: none; height: 100%; }
.apl .apl-nav__item { height: 100%; }
.apl .apl-nav__link {
    display: flex; align-items: center; height: 100%; padding: 0 8px;
    font-size: 12px; font-weight: 400; letter-spacing: -.01em; line-height: 1;
    color: rgba(0, 0, 0, .8) !important; text-decoration: none !important; transition: color .3s;
}
.apl .apl-nav__link:hover, .apl .apl-nav__item.is-active .apl-nav__link { color: var(--apl-ink) !important; }
.apl .apl-nav__tools { display: flex; align-items: center; height: 100%; }
.apl .apl-nav__icon { position: relative; display: flex; align-items: center; justify-content: center; width: 36px; height: 100%; padding: 0; border: 0; background: none; color: rgba(0, 0, 0, .8) !important; cursor: pointer; }
.apl .apl-nav__icon .elx-i { width: 16px; height: 16px; stroke-width: 1.7; }
.apl .apl-nav__icon:hover { color: var(--apl-ink) !important; }
.apl .apl-nav__bag .elx-cart-count {
    position: absolute; top: 25px; left: 50%; display: grid; place-items: center; min-width: 14px; height: 14px; padding: 0 3px; box-sizing: border-box; border-radius: 7px;
    background: var(--apl-ink); color: #fff; font-size: 9px; font-weight: 600; letter-spacing: 0;
}
.apl .apl-nav__bag .elx-cart-count[data-count="0"] { display: none; }
.apl .elx-cart-count.is-bump { animation: apl-bump .6s var(--apl-ease); }
@keyframes apl-bump { 40% { transform: scale(1.4); } }
.apl .apl-nav__burger { display: none; flex-direction: column; gap: 5px; }
.apl .apl-nav__burger span { display: block; width: 16px; height: 1.3px; background: currentColor; border-radius: 1px; transition: transform .35s var(--apl-ease); }
.apl.apl-menu-open .apl-nav__burger span:first-child { transform: translateY(3.2px) rotate(45deg); }
.apl.apl-menu-open .apl-nav__burger span:last-child { transform: translateY(-3.2px) rotate(-45deg); }

/* flyouts */
.apl .apl-fly {
    position: absolute; left: 0; right: 0; top: var(--apl-nav-h);
    background: var(--apl-bg-3);
    visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0);
    transition: clip-path .32s var(--apl-ease), opacity .2s, visibility 0s .32s;
}
.apl .apl-nav__item.is-active .apl-fly { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0); transition: clip-path .4s var(--apl-ease), opacity .2s, visibility 0s; }
.apl .apl-fly__in { display: flex; gap: 44px; max-width: 980px; margin: 0 auto; padding: 40px 22px 84px; box-sizing: border-box; }
.apl .apl-fly__col h2 { margin: 0 0 14px; font-size: 12px; font-weight: 400; letter-spacing: -.01em; color: var(--apl-grey); }
.apl .apl-fly__col ul { margin: 0; padding: 0; list-style: none; }
.apl .apl-fly__col li { margin-bottom: 8px; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s var(--apl-ease); }
.apl .apl-nav__item.is-active .apl-fly__col li { opacity: 1; transform: none; transition-delay: calc(.06s + var(--c) * .04s + var(--l) * .02s); }
.apl .apl-fly__col a { font-size: 12px; font-weight: 600; letter-spacing: -.01em; color: var(--apl-ink-2) !important; text-decoration: none !important; }
.apl .apl-fly__col--big { min-width: 260px; }
.apl .apl-fly__col--big a { font-size: 24px; line-height: 1.17; letter-spacing: .009em; }
.apl .apl-fly__col a:hover { color: var(--apl-ink) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.apl .apl-curtain {
    position: fixed; inset: var(--apl-nav-h) 0 0; z-index: 9996; pointer-events: none;
    background: rgba(232, 232, 237, .4); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    opacity: 0; transition: opacity .3s;
}
.apl .apl-curtain.is-on { opacity: 1; }

/* search */
.apl .apl-search { position: absolute; left: 0; right: 0; top: var(--apl-nav-h); background: var(--apl-bg-3); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .32s var(--apl-ease), visibility 0s .32s; }
.apl .apl-search.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .4s var(--apl-ease); }
.apl .apl-search__in { max-width: 980px; margin: 0 auto; padding: 40px 22px 70px; box-sizing: border-box; }
.apl .apl-search__field { display: flex; align-items: center; gap: 12px; color: var(--apl-grey); }
.apl .apl-search__field .elx-i { width: 24px; height: 24px; }
.apl .apl-search__field input[type="search"] {
    flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; height: auto !important; outline: none;
    font: 600 24px/1.17 var(--apl-font) !important; letter-spacing: .009em; color: var(--apl-ink) !important;
}
.apl .apl-search__in h2 { margin: 34px 0 12px; font-size: 12px; font-weight: 400; color: var(--apl-grey); letter-spacing: -.01em; }
.apl .apl-search__in ul { margin: 0; padding: 0; list-style: none; }
.apl .apl-search__in li a { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 12px; font-weight: 600; color: var(--apl-ink-2) !important; text-decoration: none !important; }
.apl .apl-search__in li a .elx-i { width: 12px; height: 12px; color: var(--apl-grey); }
.apl .apl-search__in li a:hover { color: var(--apl-link) !important; }

/* mobile menu */
.apl .apl-menu { position: fixed; inset: var(--apl-nav-h) 0 0; z-index: 9995; background: var(--apl-bg-3); visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s; overflow-y: auto; }
.apl.apl-menu-open .apl-menu { visibility: visible; opacity: 1; transition: opacity .3s; }
.apl .apl-menu__in { padding: 20px 48px 60px; }
.apl .apl-menu ul { margin: 0; padding: 0; list-style: none; }
.apl .apl-menu li { opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--apl-ease); }
.apl.apl-menu-open .apl-menu li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * .03s + .05s); }
.apl .apl-menu a { display: block; padding: 6px 0; font-size: 28px; font-weight: 600; line-height: 1.14; letter-spacing: .007em; color: var(--apl-ink-2) !important; text-decoration: none !important; }
.apl .apl-menu__small { margin-top: 30px !important; }
.apl .apl-menu__small a { font-size: 17px; font-weight: 400; color: var(--apl-grey) !important; }
html.apl-locked, html.apl-locked body { overflow: hidden; }

/* checkout nav */
.apl .apl-nav--checkout .apl-nav__in { max-width: 980px; }
.apl .apl-nav__secure { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--apl-grey); }
.apl .apl-nav__secure .elx-i { width: 14px; height: 14px; }
.apl .apl-nav__phone { font-size: 12px; color: var(--apl-ink) !important; text-decoration: none !important; }

/* ribbon */
.apl .apl-ribbon { background: var(--apl-bg-2); text-align: center; padding: 15px 22px 16px; }
.apl .apl-ribbon p { margin: 0 auto; max-width: 980px; font-size: 14px; line-height: 1.43; letter-spacing: -.016em; color: var(--apl-ink); }
.apl .apl-ribbon a, .apl .apl-link { color: var(--apl-link) !important; text-decoration: none !important; white-space: nowrap; }
.apl .apl-ribbon a::after, .apl .apl-link::after { content: " ›"; }
.apl .apl-ribbon a:hover, .apl .apl-link:hover { text-decoration: underline !important; }

@media (max-width: 833px) {
    .apl .apl-nav__list { display: none; }
    .apl .apl-nav__burger { display: flex; }
    .apl .apl-nav__in { padding: 0 8px 0 12px; }
    .apl .apl-fly, .apl .apl-curtain { display: none; }
    .apl .apl-search__in { padding: 26px 48px 50px; }
}

/* ==========================================================================
   Type & buttons
   ========================================================================== */
.apl .apl-h-xl { margin: 0; font-size: 56px; line-height: 1.07143; font-weight: 600; letter-spacing: -.005em; color: inherit; }
.apl .apl-sub-xl { margin: 6px 0 0; font-size: 28px; line-height: 1.14286; font-weight: 400; letter-spacing: .007em; }
.apl .apl-h-l { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: 0; color: inherit; }
.apl .apl-sub-l { margin: 6px 0 0; font-size: 21px; line-height: 1.19048; font-weight: 400; letter-spacing: .011em; }
.apl .apl-note { margin: 8px 0 0; font-size: 17px; line-height: 1.23536; color: var(--apl-grey); letter-spacing: -.022em; }
.apl .apl-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.apl .apl-ctas--sm .apl-btn { font-size: 14px; padding: 8px 15px; min-width: 0; }
.apl .apl-btn {
    display: inline-block; box-sizing: border-box; min-width: 28px; padding: 11px 21px;
    border: 1px solid var(--apl-accent); border-radius: 980px;
    background: var(--apl-accent); color: #fff !important;
    font-size: 17px; line-height: 1.17648; font-weight: 400; letter-spacing: -.022em; text-align: center; white-space: nowrap;
    text-decoration: none !important; cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
}
.apl .apl-btn:hover { background: var(--apl-accent-hover); border-color: var(--apl-accent-hover); }
.apl .apl-btn--ghost { background: transparent; color: var(--apl-link) !important; border-color: var(--apl-link); }
.apl .apl-btn--ghost:hover { background: var(--apl-link); color: #fff !important; }
.apl .apl-theme-dark .apl-btn--ghost { color: var(--apl-link-dark) !important; border-color: var(--apl-link-dark); }
.apl .apl-theme-dark .apl-btn--ghost:hover { background: var(--apl-link-dark); color: #000 !important; }
.apl .apl-btn--sm { padding: 8px 15px; font-size: 14px; line-height: 1.29; }

/* gentle reveal */
html.elx-js .apl [data-apl-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--apl-ease), transform 1s var(--apl-ease); }
html.elx-js .apl [data-apl-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Homepage tiles
   ========================================================================== */
.apl .apl-theme-light { background: var(--apl-white); color: var(--apl-ink); }
.apl .apl-theme-grey { background: var(--apl-bg-2); color: var(--apl-ink); }
.apl .apl-theme-dark { background: #000; color: #f5f5f7; }
.apl .apl-theme-dark .apl-note { color: #86868b; }

.apl .apl-hero { position: relative; overflow: hidden; height: 692px; margin-bottom: 12px; text-align: center; }
.apl .apl-copy { position: relative; z-index: 2; padding: 52px 22px 0; }
.apl .apl-hero__stage { position: absolute; left: 0; right: 0; bottom: 0; height: 430px; display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.apl .apl-hero__p { width: auto; height: 300px; object-fit: contain; mix-blend-mode: multiply; transition: transform 1.2s var(--apl-ease); }
.apl .apl-hero__p--c { height: 400px; position: relative; z-index: 2; margin: 0 -60px; }
.apl .apl-hero__p--l { transform: translateX(30px); opacity: .95; }
.apl .apl-hero__p--r { transform: translateX(-30px); opacity: .95; }
.apl .apl-hero:hover .apl-hero__p--l { transform: translateX(10px); }
.apl .apl-hero:hover .apl-hero__p--r { transform: translateX(-10px); }

.apl .apl-hero--photo .apl-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.apl .apl-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .25) 38%, rgba(0, 0, 0, 0) 60%); }

.apl .apl-hero--calc .apl-quick { position: relative; z-index: 2; margin: 44px auto 0; }

.apl .apl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 12px; margin-bottom: 12px; }
.apl .apl-tile { position: relative; overflow: hidden; height: 580px; text-align: center; }
.apl .apl-tile .apl-copy { padding-top: 54px; }
.apl .apl-tile__bg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 66%; object-fit: cover; transition: transform 1.4s var(--apl-ease); }
.apl .apl-tile:hover .apl-tile__bg { transform: scale(1.03); }
.apl .apl-tile--photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 66%; pointer-events: none; }
.apl .apl-tile--photo.apl-theme-light::after { background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 22%); }
.apl .apl-tile--photo.apl-theme-grey::after { background: linear-gradient(180deg, #f5f5f7 0%, rgba(245, 245, 247, 0) 22%); }
.apl .apl-tile--photo.apl-theme-dark::after { background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 26%); }

/* finance "card" tile */
.apl .apl-paycard { position: absolute; left: 0; right: 0; bottom: 40px; display: flex; justify-content: center; perspective: 1200px; }
.apl .apl-paycard__card {
    position: relative; width: 340px; aspect-ratio: 1.586; border-radius: 18px; box-sizing: border-box; padding: 22px;
    background: linear-gradient(135deg, #fdfdfd 0%, #eceef0 45%, #dfe2e5 100%);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .7);
    color: #8a8f94; text-align: left;
    transform: rotateX(18deg) rotateZ(-9deg); transition: transform 1.2s var(--apl-ease);
}
.apl .apl-tile:hover .apl-paycard__card { transform: rotateX(8deg) rotateZ(-4deg) translateY(-6px); }
.apl .apl-paycard__card .elx-mark { width: 36px; color: #9aa0a6; }
.apl .apl-paycard__chip { position: absolute; right: 26px; top: 70px; width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #e3e3e6, #c7c7cc); }
.apl .apl-paycard__name { position: absolute; left: 22px; bottom: 40px; font-size: 15px; font-weight: 600; letter-spacing: .02em; color: #6d7277; }
.apl .apl-paycard__sub { position: absolute; left: 22px; bottom: 20px; font-size: 12px; color: #9aa0a6; }

@media (max-width: 1068px) {
    .apl .apl-hero { height: 650px; }
    .apl .apl-h-xl { font-size: 48px; line-height: 1.08349; }
    .apl .apl-sub-xl { font-size: 24px; line-height: 1.16667; }
    .apl .apl-h-l { font-size: 32px; line-height: 1.125; }
    .apl .apl-sub-l { font-size: 19px; line-height: 1.21053; }
    .apl .apl-tile { height: 500px; }
    .apl .apl-hero__p { height: 240px; }
    .apl .apl-hero__p--c { height: 330px; }
}
@media (max-width: 734px) {
    .apl .apl-hero { height: 580px; }
    .apl .apl-h-xl { font-size: 32px; line-height: 1.125; }
    .apl .apl-sub-xl { font-size: 19px; line-height: 1.21053; }
    .apl .apl-note { font-size: 14px; }
    .apl .apl-copy { padding-top: 40px; }
    .apl .apl-ctas { gap: 10px; }
    .apl .apl-ctas .apl-btn { font-size: 14px; padding: 8px 15px; }
    .apl .apl-grid { grid-template-columns: 1fr; padding: 0; }
    .apl .apl-tile { height: 500px; }
    .apl .apl-hero__stage { height: 300px; }
    .apl .apl-hero__p { height: 150px; }
    .apl .apl-hero__p--c { height: 220px; margin: 0 -40px; }
    .apl .apl-hero--calc { height: auto; padding-bottom: 40px; }
    .apl .apl-paycard__card { width: 280px; }
}

/* ==========================================================================
   Store shelves
   ========================================================================== */
.apl .apl-shelf-sec { background: var(--apl-bg-2); padding: 80px 0 40px; }
.apl .apl-shelf-sec--white { background: var(--apl-white); }
.apl .apl-shelf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; box-sizing: border-box; padding: 0 max(22px, calc((100vw - 980px) / 2)); }
.apl .apl-shelf-head--center { display: block; text-align: center; padding-bottom: 40px; }
.apl .apl-shelf-title { margin: 0; max-width: 760px; font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: 0; color: var(--apl-ink); }
.apl .apl-shelf-title span { color: var(--apl-grey); }
.apl .apl-shelf-head .apl-link { font-size: 17px; margin-bottom: 6px; }
.apl .apl-shelf { position: relative; }
.apl .apl-shelf__track {
    display: flex; gap: 20px; margin: 0; padding: 30px max(22px, calc((100vw - 980px) / 2)) 40px; list-style: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(22px, calc((100vw - 980px) / 2)); scrollbar-width: none; overscroll-behavior-x: contain;
}
.apl .apl-shelf__track::-webkit-scrollbar { display: none; }
.apl .apl-card {
    position: relative; flex: 0 0 400px; box-sizing: border-box; min-height: 500px; scroll-snap-align: start;
    border-radius: 18px; background: var(--apl-white);
    box-shadow: 2px 4px 12px rgba(0, 0, 0, .08);
    transition: box-shadow .3s cubic-bezier(0, 0, .5, 1), transform .3s cubic-bezier(0, 0, .5, 1);
}
.apl .apl-card:hover { box-shadow: 2px 4px 16px rgba(0, 0, 0, .16); transform: scale3d(1.01, 1.01, 1.01); }
.apl .apl-card > a, .apl .apl-card__link { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; padding: 28px 30px 30px; color: var(--apl-ink) !important; text-decoration: none !important; }
.apl .apl-card__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: -.01em; color: var(--apl-eyebrow); text-transform: none; }
.apl .apl-card h3 { margin: 6px 0 0; font-size: 28px; line-height: 1.14; font-weight: 600; letter-spacing: .007em; }
.apl .apl-card__specs { margin: 8px 0 0; font-size: 14px; color: var(--apl-grey); line-height: 1.43; }
.apl .apl-card figure { flex: 1; display: flex; align-items: center; justify-content: center; margin: 14px 0; min-height: 200px; }
.apl .apl-card figure img { width: 100%; max-height: 240px; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.apl .apl-card__price { margin: 0 0 14px; font-size: 17px; font-weight: 400; }
.apl .apl-card > a .apl-btn { align-self: flex-start; }
.apl .apl-card--product { display: flex; flex-direction: column; }
.apl .apl-card--product .apl-card__link { padding-bottom: 0; flex: 1; }
.apl .apl-card--product h3 { font-size: 21px; line-height: 1.19; }
.apl .apl-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 30px 28px; }
.apl .apl-card__foot .apl-card__price { margin: 0; font-size: 15px; }
.apl .apl-card__foot .apl-card__price del { color: var(--apl-grey); margin-right: 4px; }
.apl .apl-card__foot .apl-card__price ins { text-decoration: none; }
.apl .apl-card .added_to_cart { display: none !important; }
.apl .apl-card .add_to_cart_button.loading { opacity: .5; }
.apl .apl-card .add_to_cart_button.added::after { content: " ✓"; }
.apl .apl-card--small { flex-basis: 313px; min-height: 0; padding: 30px; }
.apl .apl-card--small h3 { margin-top: 16px; font-size: 24px; line-height: 1.17; }
.apl .apl-card--small p { margin: 10px 0 0; font-size: 17px; color: var(--apl-ink); }
.apl .apl-card__icon { display: block; color: var(--apl-accent); }
.apl .apl-card__icon .elx-i { width: 34px; height: 34px; stroke-width: 1.4; }
.apl .apl-card__icon .elx-i--star { fill: none; }
.apl .apl-shelf__track--small .apl-card:hover { transform: none; }

.apl .apl-paddles { display: flex; justify-content: flex-end; gap: 18px; padding: 0 max(22px, calc((100vw - 980px) / 2)); }
.apl .apl-paddles button { width: 36px; height: 36px; border: 0; border-radius: 50%; padding: 0; background: rgba(210, 210, 215, .64); color: rgba(0, 0, 0, .56); cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.apl .apl-paddles button:hover { background: rgba(223, 223, 227, .7); color: rgba(0, 0, 0, .64); }
.apl .apl-paddles button[disabled] { opacity: .42; cursor: default; }
.apl .apl-paddles svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 734px) {
    .apl .apl-shelf-sec { padding-top: 56px; }
    .apl .apl-shelf-title { font-size: 28px; line-height: 1.14; }
    .apl .apl-card { flex-basis: 78vw; min-height: 440px; }
    .apl .apl-card--small { flex-basis: 70vw; min-height: 0; }
    .apl .apl-paddles { display: none; }
}

/* ==========================================================================
   Quick-size card
   ========================================================================== */
.apl .apl-quick {
    width: min(560px, calc(100% - 44px)); box-sizing: border-box; padding: 26px 28px 24px; border-radius: 28px;
    background: var(--apl-white); text-align: left; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .18);
}
.apl .elx-quick__label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 17px; color: var(--apl-ink); }
.apl .elx-quick__label output { font-size: 40px; line-height: 1.1; font-weight: 600; color: var(--apl-ink); }
.apl .apl-quick input[type="range"], .apl .elx-advisor input[type="range"] {
    -webkit-appearance: none; appearance: none; width: 100%; height: 4px; margin: 20px 0 22px; padding: 0 !important; border: 0 !important; border-radius: 4px; box-shadow: none !important;
    background: linear-gradient(90deg, var(--apl-accent) 0 var(--p, 11%), var(--apl-line) var(--p, 11%)) !important;
}
.apl input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 0.5px 4px rgba(0, 0, 0, .12), 0 6px 13px rgba(0, 0, 0, .12); cursor: grab; }
.apl input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0.5px 4px rgba(0, 0, 0, .12), 0 6px 13px rgba(0, 0, 0, .12); cursor: grab; }
.apl .elx-quick__result { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 16px; padding: 14px; border-radius: 18px; background: var(--apl-bg-2); }
.apl .elx-quick__result figure { margin: 0; aspect-ratio: 720 / 470; }
.apl .elx-quick__result img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.apl .elx-quick__result small { display: block; font-size: 12px; font-weight: 600; color: var(--apl-eyebrow); }
.apl .elx-quick__result strong { display: block; margin: 2px 0; font-size: 17px; font-weight: 600; }
.apl .elx-quick__result span { font-size: 14px; color: var(--apl-grey); }
.apl .elx-quick__result b { font-size: 17px; font-weight: 600; }

/* ==========================================================================
   Advisor — Apple buy-flow style
   ========================================================================== */
.apl .apl-advisor-wrap { background: var(--apl-white); padding: 100px 0 40px; }
.apl .elx-advisor { padding: 0 0 60px; }
.apl .elx-advisor .elx-tiles, .apl .elx-advisor .elx-rays.elx-flow__sun { display: none; }
.apl .elx-advisor .elx-wrap { max-width: 1024px; margin: 0 auto; padding: 0 22px; box-sizing: border-box; }
.apl .elx-advisor .elx-sechead { text-align: center; margin-bottom: 40px; }
.apl .elx-advisor .elx-eyebrow { font-size: 17px; font-weight: 600; color: var(--apl-eyebrow); margin: 0 0 6px; }
.apl .elx-advisor .elx-h2 { margin: 0; font-size: 48px; line-height: 1.08; font-weight: 600; }
.apl .elx-advisor .elx-h2 em { font-style: normal; color: var(--apl-grey); }
.apl .elx-advisor__lede { margin: 12px auto 0; max-width: 640px; font-size: 21px; color: var(--apl-grey); }
.apl .elx-advisor__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: start; }
.apl .elx-advisor__panel { padding: 0; }
.apl .elx-stepno { display: flex; align-items: baseline; gap: 8px; margin: 0 0 16px; font-size: 24px; line-height: 1.17; font-weight: 600; letter-spacing: .009em; color: var(--apl-ink); }
.apl .elx-stepno b { font-weight: 600; color: var(--apl-grey); }
.apl .elx-stepno--gap { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--apl-line); }
.apl .elx-seg { display: flex; padding: 2px; border-radius: 9px; background: rgba(118, 118, 128, .12); }
.apl .elx-seg button { flex: 1; min-height: 34px; padding: 6px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--apl-ink); font: 500 14px/1.2 var(--apl-font); letter-spacing: -.016em; cursor: pointer; transition: background .2s, box-shadow .2s; }
.apl .elx-seg button.is-active { background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 3px 1px rgba(0, 0, 0, .04); }
.apl .elx-seg .elx-ai { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 5px; }
.apl .elx-seg--tabs { margin-bottom: 26px; }
.apl .elx-seg--tabs button { min-height: 40px; font-size: 15px; }
.apl .elx-advisor__step[hidden] { display: none; }
.apl .elx-field { display: block; margin-top: 22px; }
.apl .elx-field__label { display: block; margin: 0 0 10px; font-size: 17px; font-weight: 600; color: var(--apl-ink); }
.apl .elx-field__label small { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--apl-grey); }
.apl .elx-field__big { display: flex; align-items: baseline; gap: 4px; }
.apl .elx-field__big > span { font-size: 40px; font-weight: 600; color: var(--apl-grey-2); }
.apl .elx-field__big input { width: 100%; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; height: auto !important; outline: none; font: 600 56px/1.07 var(--apl-font) !important; letter-spacing: -.005em; color: var(--apl-ink) !important; -moz-appearance: textfield; }
.apl .elx-advisor input::-webkit-outer-spin-button, .apl .elx-advisor input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.apl .elx-field__scale { position: relative; display: flex; justify-content: space-between; font-size: 12px; color: var(--apl-grey); }
.apl .elx-field__scale span:nth-child(2) { position: absolute; left: 24.1%; transform: translateX(-50%); }
.apl .elx-field__scale span:nth-child(3) { position: absolute; left: 49.7%; transform: translateX(-50%); }
.apl .elx-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.apl .elx-presets button { padding: 7px 14px; border: 1px solid var(--apl-grey-2); border-radius: 980px; background: transparent; color: var(--apl-ink); font: 400 14px/1.2 var(--apl-font); cursor: pointer; transition: border-color .2s; }
.apl .elx-presets button:hover { border-color: var(--apl-ink); }
.apl .elx-presets button.is-active { border: 2px solid var(--apl-accent); padding: 6px 13px; }
.apl .elx-field--inline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--apl-grey-2); }
.apl .elx-field--inline .elx-field__label { margin: 0; }
.apl .elx-field__unit { display: inline-flex; align-items: center; gap: 6px; color: var(--apl-grey); }
.apl .elx-field__unit input { width: 76px; height: 40px !important; padding: 0 8px !important; border: 1px solid var(--apl-line) !important; border-radius: 10px !important; background: #fff !important; text-align: center; font: 500 17px var(--apl-font) !important; color: var(--apl-ink) !important; box-shadow: none !important; }

.apl .elx-cards { display: grid; gap: 12px; }
.apl .elx-cards--3 { grid-template-columns: repeat(3, 1fr); }
.apl .elx-cards button {
    display: grid; justify-items: center; align-content: center; gap: 8px; min-height: 108px; padding: 16px 10px; box-sizing: border-box;
    border: 1px solid var(--apl-grey-2); border-radius: 12px; background: #fff; color: var(--apl-ink); cursor: pointer; text-align: center;
    font: 600 17px/1.2 var(--apl-font); letter-spacing: -.022em; transition: border-color .2s;
}
.apl .elx-cards button:hover { border-color: var(--apl-ink); }
.apl .elx-cards button.is-active { border: 2px solid var(--apl-accent); padding: 15px 9px; }
.apl .elx-cards button strong { font-weight: 600; }
.apl .elx-cards button small { font-size: 12px; font-weight: 400; color: var(--apl-grey); }
.apl .elx-cards .elx-ai { width: 30px; height: 30px; stroke-width: 1.4; color: var(--apl-ink); }
.apl .elx-cards--tall button { min-height: 128px; }

.apl .elx-appl { max-height: 440px; overflow-y: auto; display: grid; gap: 0; margin-bottom: 16px; border-top: 1px solid var(--apl-line); scrollbar-width: thin; }
.apl .elx-appl__row { display: grid; grid-template-columns: minmax(0, 1fr) auto 86px; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--apl-line); }
.apl .elx-appl__name { font-size: 17px; }
.apl .elx-appl__name small { display: block; font-size: 12px; color: var(--apl-grey); }
.apl .elx-step { display: inline-flex; align-items: center; gap: 4px; }
.apl .elx-step button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--apl-bg-2); color: var(--apl-ink); font-size: 18px; line-height: 1; cursor: pointer; }
.apl .elx-step button:hover { background: var(--apl-line); }
.apl .elx-step input, .apl .elx-appl__hours input { width: 36px; height: 30px !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; text-align: center; font: 600 17px var(--apl-font) !important; color: var(--apl-ink) !important; -moz-appearance: textfield; }
.apl .elx-appl__hours { display: inline-flex; align-items: center; justify-content: flex-end; gap: 2px; font-size: 12px; color: var(--apl-grey); }
.apl .elx-appl__row:not(.is-on) { color: var(--apl-grey); }
.apl .elx-appl__row:not(.is-on) .elx-appl__hours { opacity: .5; }
.apl .elx-advisor__note { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--apl-bg-2); color: var(--apl-ink); font-size: 14px; }

.apl .elx-peek { display: none; }
.apl .elx-advisor__result {
    position: sticky; top: calc(var(--apl-nav-h) + 20px); padding: 34px 30px 30px; border-radius: 28px; background: var(--apl-bg-2); color: var(--apl-ink);
}
.apl .elx-advisor__summary { margin: 0; font-size: 21px; line-height: 1.38; color: var(--apl-grey); }
.apl .elx-advisor__summary small { display: block; margin-bottom: 6px; font-size: 17px; font-weight: 600; color: var(--apl-eyebrow); }
.apl .elx-advisor__summary b { color: var(--apl-ink); font-weight: 600; white-space: nowrap; }
.apl .elx-flow { position: relative; aspect-ratio: 400 / 250; margin: 52px -4px 0; --spd: 1.6s; --grid: .3; }
.apl .elx-flow__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.apl .elx-flow__wire { fill: none; stroke: var(--apl-line); stroke-width: 2; }
.apl .elx-flow__run { fill: none; stroke: var(--apl-accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 3 13; animation: apl-flow var(--spd) linear infinite; }
.apl .elx-flow__run--sun { stroke: #86868b; }
.apl .elx-flow__run--bat { animation-direction: alternate; animation-duration: calc(var(--spd) * 1.6); stroke: #1d1d1f; }
.apl .elx-flow__run--grid { stroke: var(--apl-grey-2); opacity: calc(.15 + var(--grid)); animation-duration: calc(var(--spd) * 2.2); }
@keyframes apl-flow { to { stroke-dashoffset: -32; } }
.apl .elx-node { position: absolute; translate: -50% -50%; display: grid; justify-items: center; z-index: 1; }
.apl .elx-node__icon { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; overflow: hidden; background: #fff; color: var(--apl-ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.apl .elx-node__icon .elx-ai { position: relative; width: 26px; height: 26px; stroke-width: 1.5; }
.apl .elx-node--inv .elx-node__icon { width: 68px; height: 68px; border-radius: 20px; background: var(--apl-ink); color: #fff; }
.apl .elx-node--pv .elx-node__icon { color: #86868b; }
.apl .elx-node__charge { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--c, .5) * 100%); background: rgba(29, 29, 31, .1); transition: height 1s var(--apl-ease); }
.apl .elx-node__txt { position: absolute; top: 100%; margin-top: 8px; display: grid; justify-items: center; white-space: nowrap; }
.apl .elx-node--pv .elx-node__txt, .apl .elx-node--home .elx-node__txt, .apl .elx-node--inv .elx-node__txt { top: auto; bottom: 100%; margin: 0 0 8px; }
.apl .elx-node__txt strong { font-size: 21px; font-weight: 600; line-height: 1; letter-spacing: .011em; }
.apl .elx-node__txt strong i { font-style: normal; font-size: 12px; font-weight: 400; color: var(--apl-grey); margin-left: 2px; }
.apl .elx-node__txt small { margin-top: 3px; font-size: 12px; color: var(--apl-grey); }
.apl .elx-advisor__panels { margin: 44px 0 22px; text-align: center; font-size: 14px; color: var(--apl-grey); }

.apl .elx-match { padding: 22px; border-radius: 18px; background: #fff; box-shadow: 2px 4px 12px rgba(0, 0, 0, .06); }
.apl .elx-match__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.apl .elx-match__tag { font-size: 12px; font-weight: 600; color: var(--apl-eyebrow); }
.apl .elx-match__flag { font-size: 12px; color: var(--apl-grey); }
.apl .elx-match__body { display: grid; grid-template-columns: 42% 1fr; gap: 16px; align-items: center; margin-top: 8px; }
.apl .elx-match__body figure { margin: 0; aspect-ratio: 720 / 470; }
.apl .elx-match__body img { width: 100%; height: 100%; object-fit: contain; }
.apl .elx-match__body h3 { margin: 0 0 6px; font-size: 21px; font-weight: 600; line-height: 1.19; }
.apl .elx-match__body ul { margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--apl-grey); line-height: 1.5; }
.apl .elx-fit { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--apl-line); }
.apl .elx-fit__row { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 10px; font-size: 12px; color: var(--apl-grey); }
.apl .elx-fit__row i { position: relative; height: 4px; border-radius: 4px; background: var(--apl-bg-2); overflow: hidden; }
.apl .elx-fit__row b { position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); border-radius: inherit; background: #1d1d1f; transition: width .9s var(--apl-ease); }
.apl .elx-fit__row.is-short b { background: #aeaeb2; }
.apl .elx-fit__row em { font-style: normal; color: var(--apl-ink); min-width: 92px; text-align: right; }
.apl .elx-match__money { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; padding-top: 16px; border-top: 1px solid var(--apl-line); }
.apl .elx-match__money small { display: block; margin-bottom: 4px; font-size: 12px; color: var(--apl-grey); }
.apl .elx-match__money strong { font-size: 21px; font-weight: 600; }
.apl .elx-match__money em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--apl-grey); }
.apl .elx-payback { margin: 0 0 18px; }
.apl .elx-payback__bar { position: relative; height: 4px; border-radius: 4px; background: var(--apl-bg-2); }
.apl .elx-payback__bar span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--apl-accent); transition: width 1s var(--apl-ease); }
.apl .elx-payback__bar i { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: 0 0.5px 4px rgba(0, 0, 0, .2), 0 3px 8px rgba(0, 0, 0, .15); transition: left 1s var(--apl-ease); }
.apl .elx-payback__axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--apl-grey); }
.apl .elx-payback p { margin: 8px 0 0; font-size: 14px; color: var(--apl-grey); }
.apl .elx-payback p b { color: var(--apl-ink); font-weight: 600; }
.apl .elx-match__cta {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px 22px; box-sizing: border-box; border-radius: 12px;
    background: var(--apl-accent); color: #fff !important; font-size: 17px; text-decoration: none !important; transition: background .2s;
}
.apl .elx-match__cta:hover { background: var(--apl-accent-hover); }
.apl .elx-match__cta .elx-i { width: 16px; height: 16px; }
.apl .elx-alts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.apl .elx-alt { display: grid; gap: 2px; padding: 14px; border-radius: 12px; border: 1px solid var(--apl-line); background: #fff; color: var(--apl-ink) !important; text-decoration: none !important; transition: border-color .2s; }
.apl .elx-alt:hover { border-color: var(--apl-grey-2); }
.apl .elx-alt small { font-size: 12px; font-weight: 600; color: var(--apl-eyebrow); }
.apl .elx-alt strong { font-size: 14px; font-weight: 600; }
.apl .elx-alt span, .apl .elx-alt em { font-size: 12px; font-style: normal; color: var(--apl-grey); }
.apl .elx-advisor__fine { margin: 16px 0 0; font-size: 12px; line-height: 1.33; color: var(--apl-grey); }

@media (max-width: 1000px) {
    .apl .elx-advisor__grid { grid-template-columns: 1fr; }
    .apl .elx-advisor__result { position: relative; top: 0; }
    .apl .elx-peek {
        position: fixed; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60;
        display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border: 0; border-radius: 18px; text-align: left; cursor: pointer;
        background: rgba(250, 250, 252, .86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
        color: var(--apl-ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
        transform: translateY(140%); opacity: 0; pointer-events: none; transition: transform .5s var(--apl-ease), opacity .3s;
    }
    .apl .elx-peek.is-on { transform: none; opacity: 1; pointer-events: auto; }
    .apl .elx-peek > span:first-child { flex: 1; min-width: 0; }
    .apl .elx-peek small { display: block; font-size: 12px; font-weight: 600; color: var(--apl-eyebrow); }
    .apl .elx-peek strong { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .apl .elx-peek__price { font-size: 15px; font-weight: 600; }
    .apl .elx-peek .elx-i { width: 32px; height: 32px; padding: 8px; box-sizing: border-box; border-radius: 50%; background: var(--apl-accent); color: #fff; }
    body.apl.els-v262-mobile-nav-enabled .elx-peek { bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 734px) {
    .apl .apl-advisor-wrap { padding-top: 64px; }
    .apl .elx-advisor .elx-h2 { font-size: 32px; }
    .apl .elx-stepno { font-size: 21px; }
    .apl .elx-field__big input { font-size: 40px !important; }
    .apl .elx-cards button { min-height: 92px; font-size: 14px; }
    .apl .elx-cards button small { display: none; }
    .apl .elx-cards--tall button { min-height: 104px; }
    .apl .elx-seg .elx-ai { display: none; }
    .apl .elx-field--inline { flex-direction: column; align-items: flex-start; }
    .apl .elx-advisor__result { padding: 26px 18px 20px; border-radius: 22px; }
    .apl .elx-node__icon { width: 44px; height: 44px; border-radius: 13px; }
    .apl .elx-node--inv .elx-node__icon { width: 54px; height: 54px; }
    .apl .elx-node__txt strong { font-size: 17px; }
    .apl .elx-match__body, .apl .elx-alts { grid-template-columns: 1fr; }
    .apl .elx-appl__row { grid-template-columns: 1fr auto; }
    .apl .elx-appl__hours { grid-column: 2; }
}

/* Calculator page */
.apl .elx-pagehero { padding: 80px 22px 40px; text-align: center; }
.apl .elx-pagehero .elx-eyebrow { display: block; margin: 0 0 8px; font-size: 21px; font-weight: 600; color: var(--apl-eyebrow); }
.apl .elx-pagehero .elx-eyebrow span { display: none; }
.apl .elx-pagehero h1 { margin: 0 auto; max-width: 820px; font-size: 64px; line-height: 1.0625; font-weight: 600; letter-spacing: -.009em; }
.apl .elx-pagehero h1 em { font-style: normal; color: var(--apl-grey); }
.apl .elx-pagehero p:not(.elx-eyebrow) { margin: 18px auto 0; max-width: 680px; font-size: 21px; color: var(--apl-grey); }
.apl .elx-howto { background: var(--apl-bg-2); padding: 80px 22px; }
.apl .elx-howto .elx-wrap { max-width: 980px; margin: 0 auto; }
.apl .elx-howto .elx-sechead { text-align: center; margin-bottom: 40px; }
.apl .elx-howto .elx-eyebrow { display: block; margin-bottom: 6px; font-size: 17px; font-weight: 600; color: var(--apl-eyebrow); }
.apl .elx-howto .elx-eyebrow span { display: none; }
.apl .elx-howto .elx-h2 { margin: 0; font-size: 48px; font-weight: 600; line-height: 1.08; }
.apl .elx-howto .elx-h2 em { font-style: normal; color: var(--apl-grey); }
.apl .elx-howto__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.apl .elx-howto__grid article { padding: 30px; border-radius: 18px; background: #fff; }
.apl .elx-howto__grid span { font-size: 40px; font-weight: 600; color: var(--apl-accent); }
.apl .elx-howto__grid h3 { margin: 14px 0 8px; font-size: 24px; font-weight: 600; }
.apl .elx-howto__grid p { margin: 0; font-size: 17px; color: var(--apl-grey); }
@media (max-width: 734px) {
    .apl .elx-pagehero h1 { font-size: 40px; }
    .apl .elx-howto .elx-h2 { font-size: 32px; }
    .apl .elx-howto__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.apl .apl-footer { background: var(--apl-bg-2); color: var(--apl-grey); font-size: 12px; line-height: 1.33337; letter-spacing: -.01em; margin: 0; padding: 0; border: 0; }
.apl .apl-footer__in { max-width: 980px; margin: 0 auto; padding: 17px 22px 21px; box-sizing: border-box; }
.apl .apl-footer a { color: #424245 !important; text-decoration: none !important; }
.apl .apl-footer a:hover { text-decoration: underline !important; }
.apl .apl-footer__notes { padding-bottom: 11px; border-bottom: 1px solid var(--apl-line); }
.apl .apl-footer__notes p { margin: 0 0 .8em; }
.apl .apl-footer__cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 30px; padding-top: 20px; }
.apl .apl-footer__col details { margin-bottom: 24px; }
.apl .apl-footer__col summary { list-style: none; cursor: default; }
.apl .apl-footer__col summary::-webkit-details-marker { display: none; }
.apl .apl-footer__col h3 { margin: 0 0 .8em; font-size: 12px; font-weight: 600; color: var(--apl-ink); letter-spacing: -.01em; }
.apl .apl-footer__col ul { margin: 0; padding: 0; list-style: none; }
.apl .apl-footer__col li { margin-bottom: .8em; }
.apl .apl-footer__more { margin: 14px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--apl-line); }
.apl .apl-footer__more a { color: var(--apl-link) !important; text-decoration: underline !important; }
.apl .apl-footer__reg { display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 12px 0 0; }
.apl .apl-footer__reg address { font-style: normal; }
.apl .apl-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; padding-top: 10px; }
.apl .apl-footer__legal p { margin: 0; }
.apl .apl-footer__legal ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.apl .apl-footer__legal li + li { margin-left: 7px; padding-left: 8px; border-left: 1px solid var(--apl-line); }
.apl .apl-footer__country { margin-left: auto; color: var(--apl-ink); }
.apl .apl-footer__entity { margin: 12px 0 0; color: var(--apl-grey-2); }
@media (max-width: 833px) {
    .apl .apl-footer__cols { grid-template-columns: 1fr; padding-top: 6px; }
    .apl .apl-footer__col details { margin: 0; border-bottom: 1px solid var(--apl-line); }
    .apl .apl-footer__col summary { padding: 11px 0; cursor: pointer; position: relative; }
    .apl .apl-footer__col summary::after { content: "+"; position: absolute; right: 0; top: 9px; font-size: 16px; color: var(--apl-grey); }
    .apl .apl-footer__col details[open] summary::after { content: "−"; }
    .apl .apl-footer__col h3 { margin: 0; font-weight: 400; }
    .apl .apl-footer__col ul { padding: 0 0 10px 12px; }
    .apl .apl-footer__country { margin-left: 0; }
}
body.apl.els-v262-mobile-nav-enabled .apl-footer { padding-bottom: 0; }
@media (max-width: 900px) { body.apl.els-v262-mobile-nav-enabled .apl-footer__in { padding-bottom: calc(100px + env(safe-area-inset-bottom)); } }

@media (prefers-reduced-motion: reduce) {
    .apl *, .apl *::before, .apl *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    html.elx-js .apl [data-apl-reveal] { opacity: 1; transform: none; }
}

/* Calculator inputs must not pick up the store's boxed-input style (apl-store.css loads later). */
.apl .elx-advisor .elx-field__big input,
.apl .elx-advisor .elx-step input,
.apl .elx-advisor .elx-appl__hours input { border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.apl .elx-advisor .elx-field__unit input { border: 1px solid var(--apl-line) !important; border-radius: 10px !important; }

@media (max-width: 734px) {
    .apl .apl-quick { padding: 20px 18px 18px; border-radius: 22px; }
    .apl .elx-quick__label { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 14px; color: var(--apl-grey); }
    .apl .elx-quick__label output { font-size: 32px; color: var(--apl-ink); }
    .apl .elx-quick__result { grid-template-columns: 76px 1fr; gap: 4px 12px; }
    .apl .elx-quick__result figure { grid-row: 1 / span 2; }
    .apl .elx-quick__result b { grid-column: 2; font-size: 15px; }
    .apl .elx-quick__result strong { font-size: 15px; }
}

/* ==========================================================================
   Black-and-white edition
   ========================================================================== */
.apl .apl-theme-dark .apl-btn { background: #f5f5f7; border-color: #f5f5f7; color: #1d1d1f !important; }
.apl .apl-theme-dark .apl-btn:hover { background: #fff; border-color: #fff; }
.apl .apl-theme-dark .apl-btn--ghost { background: transparent; color: #f5f5f7 !important; border-color: #f5f5f7; }
.apl .apl-theme-dark .apl-btn--ghost:hover { background: #f5f5f7; color: #000 !important; }
.apl .apl-btn--ghost:hover { background: var(--apl-ink); border-color: var(--apl-ink); color: #fff !important; }
.apl .apl-ribbon a, .apl .apl-link, .apl .apl-footer__more a { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.apl .apl-ribbon a::after, .apl .apl-link::after { content: " ›"; display: inline-block; text-decoration: none; margin-left: 2px; }
.apl .apl-card__eyebrow, .apl .elx-match__tag, .apl .elx-alt small, .apl .elx-quick__result small, .apl .elx-peek small, .apl .elx-advisor__summary small { color: var(--apl-grey) !important; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.apl .elx-node--pv .elx-node__icon { color: var(--apl-ink); }
.apl .elx-flow__run { stroke: var(--apl-ink); }
.apl .elx-flow__run--sun { stroke: #86868b; }
.apl .elx-presets button.is-active, .apl .elx-cards button.is-active { border-color: var(--apl-ink); }
.apl .apl-hero--photo .apl-hero__bg, .apl .apl-tile--photo .apl-tile__bg { filter: none; }
