/* Wenergy content pages in the Apple design (rich template + calculator/proposal wrappers). */
.we-rhead { text-align: center; padding: 72px 22px 0; background: var(--apl-white, #fff); }
.we-rhead__eyebrow { font-size: 17px; font-weight: 600; color: var(--apl-grey, #6e6e73); margin: 0 0 8px; }
.we-rhead__title { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; letter-spacing: -.015em; font-weight: 600; color: var(--apl-ink, #1d1d1f); margin: 0 auto 14px; max-width: 18ch; }
.we-rhead__lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.35; color: var(--apl-ink-2, #333336); max-width: 40ch; margin: 0 auto 26px; }
.we-rhead__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.we-rhead__media { max-width: 1200px; margin: 0 auto; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 7; }
.we-rhead__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.we-rich { --ink: var(--apl-ink, #1d1d1f); --mute: var(--apl-grey, #6e6e73); --line: var(--apl-line, #d2d2d7); color: var(--ink); }
.we-rich .we-wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.we-rich .rs { padding: 96px 0; background: var(--apl-bg-2, #f5f5f7); }
.we-rich .rs:nth-of-type(even) { background: var(--apl-white, #fff); }
.we-rich .rs--dark { background: #000 !important; color: #f5f5f7; }
.we-rich .we-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--mute); margin: 0 0 14px; display: flex; gap: 10px; align-items: center; }
.we-rich .we-eyebrow span { display: inline-block; min-width: 26px; padding: 2px 8px; border-radius: 99px; background: rgba(0,0,0,.06); text-align: center; }
.we-rich .rs--dark .we-eyebrow { color: #86868b; }
.we-rich .rs--dark .we-eyebrow span { background: rgba(255,255,255,.12); }
.we-rich .we-h2 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.07; letter-spacing: -.01em; font-weight: 600; margin: 0; }
.we-rich .we-h2 em, .we-rich .rs-lead em { font-style: normal; color: var(--mute); }
.we-rich .rs--dark .we-h2 em { color: #86868b; }
.we-rich .rs-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.we-rich .rs-head > p { color: var(--mute); margin: 0; font-size: 19px; line-height: 1.45; }
.we-rich .rs-split { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: start; }
.we-rich .rs-split > .we-eyebrow { margin-top: 8px; }
.we-rich .rs-body { max-width: 720px; }
.we-rich .rs-body p { color: var(--mute); font-size: 19px; line-height: 1.5; margin: 0 0 16px; }
.we-rich .rs-body p strong { color: var(--ink); font-weight: 600; }
.we-rich .rs-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.we-rich .rs-body br { display: none; }
.we-rich .rs-body p.rs-lead, .we-rich .rs-lead { font-size: clamp(26px, 3vw, 36px); line-height: 1.18; letter-spacing: -.01em; font-weight: 600; color: var(--ink); margin: 0 0 20px; max-width: 26ch; }
.we-rich .rs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.we-rich .rs-cards > div { background: var(--apl-white, #fff); border-radius: 22px; padding: 30px 28px 34px; }
.we-rich .rs:nth-of-type(even) .rs-cards > div { background: var(--apl-bg-2, #f5f5f7); }
.we-rich .rs-cards span { font-size: 13px; font-weight: 600; color: var(--mute); }
.we-rich .rs-cards h3 { font-size: 24px; font-weight: 600; letter-spacing: -.005em; margin: 10px 0 8px; }
.we-rich .rs-cards p { color: var(--mute); margin: 0; font-size: 17px; line-height: 1.45; }
.we-rich .rs-figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.we-rich .rs-figures > div { background: var(--apl-white, #fff); border-radius: 22px; padding: 30px 26px; }
.we-rich .rs-figures b { display: block; font-size: clamp(44px, 5vw, 64px); line-height: 1; font-weight: 600; letter-spacing: -.02em; }
.we-rich .rs-figures b small { font-size: .38em; color: var(--mute); margin-left: 4px; font-weight: 600; }
.we-rich .rs-figures h3 { font-size: 19px; font-weight: 600; margin: 16px 0 6px; }
.we-rich .rs-figures p { color: var(--mute); margin: 0; font-size: 15px; line-height: 1.45; }
.we-rich .rs-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.we-rich .rs-list li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
.we-rich .rs-list li b { font-size: 13px; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .04em; padding-top: 3px; }
.we-rich .we-steps { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.we-rich .we-step { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 32px 0; border-top: 1px solid var(--line); }
.we-rich .we-step:last-child { border-bottom: 1px solid var(--line); }
.we-rich .we-step__num { font-size: 44px; line-height: 1; font-weight: 600; color: var(--line); }
.we-rich .we-step h3 { font-size: 24px; font-weight: 600; margin: 0 0 8px; }
.we-rich .we-step p { color: var(--mute); margin: 0; font-size: 17px; line-height: 1.5; }
.we-rich .rs-cta p { color: #86868b; max-width: 46ch; margin: 18px 0 30px; font-size: 19px; line-height: 1.45; }
.we-rich .we-btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.we-rich .we-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 980px; font-size: 17px; text-decoration: none !important; }
.we-rich .we-btn--light { background: #f5f5f7; color: #1d1d1f !important; }
.we-rich .we-btn--ghost { box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); color: #f5f5f7 !important; }
.we-rich .we-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.we-rich .we-chips a { padding: 12px 20px; border-radius: 980px; background: var(--apl-white, #fff); color: var(--ink); text-decoration: none; font-size: 17px; }

/* Wenergy tool pages (calculator / proposal form) inside the Apple page template */
.page-template-default .entry-content .wet-form, .page-template-default .entry-content .wet-calc { margin-top: 24px; }

/* Skynat credit in the footer */
.we-skynat-credit { text-align: center; font-size: 12px; color: #6e6e73; padding: 14px 22px 22px; background: var(--apl-bg-2, #f5f5f7); }
.we-skynat-credit a { color: #1d1d1f; text-decoration: none; font-weight: 500; }
.we-skynat-credit a:hover { text-decoration: underline; }

@media (max-width: 860px) {
    .we-rich .rs { padding: 64px 0; }
    .we-rich .rs-head, .we-rich .rs-split { grid-template-columns: 1fr; gap: 18px; }
    .we-rich .rs-cards { grid-template-columns: 1fr; }
    .we-rich .rs-figures { grid-template-columns: 1fr 1fr; }
    .we-rich .rs-list li { grid-template-columns: 1fr; gap: 4px; }
    .we-rhead__media { border-radius: 18px; aspect-ratio: 4 / 3; }
}

/* Header WhatsApp button beside the bag */
.apl .apl-nav__wa { color: #1d1d1f !important; }
.apl .apl-nav__wa .elx-i { width: 17px; height: 17px; }
.apl .apl-nav__wa:hover { color: #1faa53 !important; }

/* Solar for all walks of life: dark carousel, centred slide with neighbours peeking in */
.we-car { position: relative; padding: 104px 0 88px; background: #000; color: #f5f5f7; overflow: hidden; }
.we-car__head { max-width: 860px; margin: 0 auto 52px; padding: 0 22px; text-align: center; }
.we-car__head h2 { margin: 0 0 14px; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -.02em; font-weight: 600; color: #f5f5f7; }
.we-car__head p { margin: 0; font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: #86868b; }
.we-car__viewport { overflow: hidden; }
.we-car__track { position: relative; display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; transition: transform .9s cubic-bezier(.65, 0, .35, 1); will-change: transform; touch-action: pan-y; cursor: grab; }
.we-car__slide { position: relative; flex: 0 0 auto; width: min(72vw, 1040px); aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #1d1d1f; opacity: .38; transform: scale(.94); transition: opacity .9s ease, transform .9s cubic-bezier(.65, 0, .35, 1); user-select: none; }
.we-car__slide.is-active { opacity: 1; transform: none; }
.we-car__slide img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; transform: scale(1.06); transition: transform 6s ease-out; }
.we-car__slide.is-active img { transform: scale(1); }
.we-car__slide::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); pointer-events: none; }
.we-car__cap { position: absolute; left: 36px; right: 36px; bottom: 30px; z-index: 1; opacity: 0; transform: translateY(14px); transition: opacity .7s ease .25s, transform .7s ease .25s; }
.we-car__slide.is-active .we-car__cap { opacity: 1; transform: none; }
.we-car__cap small { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.we-car__cap strong { display: block; max-width: 22ch; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -.01em; font-weight: 600; color: #fff; }
.we-car__bar { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; }
.we-car .we-car__btn { min-height: 0; padding: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #f5f5f7; cursor: pointer; transition: background .3s; }
.we-car__btn:hover { background: rgba(255, 255, 255, .22); }
.we-car__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.we-car__dots { display: flex; gap: 8px; align-items: center; }
.we-car .we-car__dots button { width: 8px; height: 8px; min-height: 0; min-width: 0; padding: 0; box-shadow: none; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .3); cursor: pointer; transition: width .5s ease, background .5s ease; }
.we-car .we-car__dots button.is-on { width: 28px; background: #f5f5f7; }
@media (max-width: 860px) {
    .we-car { padding: 72px 0 64px; }
    .we-car__head { margin-bottom: 32px; }
    .we-car__track { gap: 12px; }
    .we-car__slide { width: 84vw; aspect-ratio: 4 / 5; border-radius: 20px; }
    .we-car__cap { left: 20px; right: 20px; bottom: 20px; }
    .we-car__dots { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .we-car__track, .we-car__slide, .we-car__slide img { transition-duration: .01s; }
}

/* Header wordmark (the w mark + Arial Rounded "energy") */
.apl .apl-nav__logo .elx-wordmark { height: 25px; width: auto; display: block; }

/* Bigger header: taller bar, larger links */
:root { --apl-nav-h: 56px; }
.apl .apl-nav__in { max-width: 1180px; }
.apl .apl-nav__link { font-size: 14px; padding: 0 10px; }
.apl .apl-nav__icon .elx-i { width: 19px; height: 19px; }
.apl .apl-nav__wa .elx-i { width: 20px; height: 20px; }
.apl .apl-nav__icon { width: 42px; }
.apl .apl-ribbon p { font-size: 15px; }
@media (max-width: 860px) { .apl .apl-nav__logo .elx-wordmark { height: 23px; } }

/* Hero: three systems, each a labelled link to its category */
.apl .we-hero-stage { height: 486px; }
.apl .we-hero-pick { display: flex; flex-direction: column; align-items: center; text-decoration: none !important; color: var(--apl-ink) !important; }
.apl .we-hero-pick--c { position: relative; z-index: 2; margin: 0 -60px; }
.apl .we-hero-pick--c .apl-hero__p--c { margin: 0; }
.apl .we-hero-pick span { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 9px 18px; border-radius: 980px; background: #f5f5f7; font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: background .3s, color .3s; }
.apl .we-hero-pick span::after { content: "›"; font-size: 18px; line-height: 1; margin-top: -2px; }
.apl .we-hero-pick:hover span { background: #1d1d1f; color: #fff; }
.apl .we-hero-pick--c span { background: #1d1d1f; color: #fff; }
.apl .we-hero-pick--c:hover span { background: #000; }
@media (max-width: 1068px) { .apl .we-hero-stage { height: 400px; } }
@media (max-width: 734px) {
    .apl .we-hero-stage { height: 290px; }
    .apl .we-hero-pick--c { margin: 0 -40px; }
    .apl .we-hero-pick span { margin-top: 8px; padding: 6px 10px; font-size: 11px; }
    .apl .we-hero-pick span::after { display: none; }
}

/* Round WhatsApp button beside "Get a quote" / "Add to cart" */
.we-wa-circle { display: inline-grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: #25d366; color: #fff !important; box-shadow: 0 6px 16px rgba(37, 211, 102, .28); transition: transform .25s, box-shadow .25s, background .25s; text-decoration: none !important; }
.we-wa-circle svg { width: 22px; height: 22px; }
.we-wa-circle:hover { transform: translateY(-1px) scale(1.05); background: #1fbd5a; box-shadow: 0 8px 20px rgba(37, 211, 102, .36); }
.we-cta-row { display: flex; align-items: center; gap: 10px; }
.we-cta-row .els-sp-quote-button { flex: 0 0 auto; white-space: nowrap; }
.apl-card { position: relative; }
.apl .apl-card a.we-wa-circle--card { position: absolute; right: 24px; bottom: 24px; left: auto; top: auto; display: grid; place-items: center; width: 40px; height: 40px; min-height: 0; padding: 0; border-radius: 50%; z-index: 2; }
.apl .apl-card a.we-wa-circle--card svg { width: 20px; height: 20px; }
li.product { position: relative; }
.els-product-actions { display: flex; align-items: center; gap: 10px; }
.els-product-actions > .button { flex: 1; }
.we-wa-circle--loop { width: 40px; height: 40px; }
.we-wa-circle--loop svg { width: 19px; height: 19px; }

/* Catalogue header: title + description on top, result count and sorting in one row beneath */
.els-shop-results__header { grid-template-columns: minmax(0, 1fr) !important; gap: 20px !important; align-items: start; }
.els-shop-results__header .els-shop-copy { min-width: 0; max-width: 680px; }
.els-shop-results__header .els-shop-copy p { margin: 8px 0 0; font-size: 17px; line-height: 1.45; color: #6e6e73; }
.els-shop-results__header .els-shop-summary { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; width: 100%; padding-top: 18px; border-top: 1px solid #e8e8ed; }
.els-shop-results__header .els-shop-summary > * { margin: 0 !important; }
.els-shop-results__header .woocommerce-result-count { position: static !important; float: none !important; font-size: 15px; color: #6e6e73; }
.els-shop-results__header form, .els-shop-results__header .woocommerce-ordering { float: none !important; margin: 0 !important; }
@media (max-width: 734px) {
    html body .els-shop-results .els-shop-copy .els-shop-title-row { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 14px !important; }
    html body .els-shop-results .els-shop-copy .els-shop-title-row h1 { flex: 1 1 100% !important; font-size: 34px !important; line-height: 1.08 !important; }
    html body .els-shop-results .els-shop-copy .els-shop-title-row .els-shop-title-actions { flex: 1 1 100% !important; justify-content: flex-start !important; }
    html body.els-v769-catalog-mobile-grid:not(.home):not(.front-page) ul.products.products,
    html body.woocommerce:not(.home) ul.products.products,
    html body.woocommerce-page:not(.home) ul.products.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
    .els-product-actions { gap: 8px; }
    .els-product-actions > .button { min-width: 0; padding-left: 8px !important; padding-right: 8px !important; font-size: 13px !important; white-space: nowrap; }
    html body .els-shop-results .els-mobile-shop-toolbar--controls { display: none !important; }
    .we-wa-circle--loop { width: 36px; height: 36px; box-shadow: none; }
    .we-wa-circle--loop svg { width: 18px; height: 18px; }
}
/* Phones: never more than two products per row, on every product list (shop, categories, search, related) */
@media (max-width: 734px) {
    html body ul.products.products, html body .related ul.products, html body .upsells ul.products, html body .cross-sells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Logo intro: the w draws itself, "energy" sweeps in, the dot drops into place (once per visit) */
.elx-wordmark .wm-dot, .elx-wordmark .wm-e { transform-box: fill-box; transform-origin: 50% 50%; }
html.wm-play .elx-wordmark .wm-w { stroke-dasharray: 1; stroke-dashoffset: 1; animation: wm-draw .95s cubic-bezier(.65, 0, .35, 1) .15s forwards; }
html.wm-play .elx-wordmark .wm-e { clip-path: inset(0 100% 0 0); animation: wm-sweep 1s cubic-bezier(.65, 0, .35, 1) .55s forwards; }
html.wm-play .elx-wordmark .wm-dot { opacity: 0; animation: wm-drop .8s cubic-bezier(.3, 1.6, .5, 1) 1.05s forwards; }
@keyframes wm-draw { to { stroke-dashoffset: 0; } }
@keyframes wm-sweep { from { clip-path: inset(0 100% 0 0); transform: translateX(-8px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes wm-drop { 0% { opacity: 0; transform: translateY(-260%) scale(.6); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.apl-nav__logo:hover .elx-wordmark .wm-dot { animation: wm-hop .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes wm-hop { 0%, 100% { transform: none; } 40% { transform: translateY(-55%); } }
@media (prefers-reduced-motion: reduce) {
    html.wm-play .elx-wordmark .wm-w, html.wm-play .elx-wordmark .wm-e, html.wm-play .elx-wordmark .wm-dot { animation: none; stroke-dashoffset: 0; clip-path: none; opacity: 1; }
}
