/*
Theme Name: Power East Electric
Theme URI: https://www.powereastelectric.ca/
Author: Power East Electric
Description: Custom theme for Power East Electric. Colours, homepage photo/video, business info, reviews, shop and footer logos are all editable in Appearance > Customize > Power East Settings.
Version: 1.0.1
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: power-east
WC requires at least: 8.0
*/

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: var(--pe-text);
	background: var(--pe-bg);
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--pe-accent); text-underline-offset: 3px; }
a:hover { color: var(--pe-primary); }
h1, h2, h3, h4 { color: var(--pe-primary); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; font-weight: 800; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--pe-highlight); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

.pe-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .pe-container { padding: 0 24px; } }
.pe-center { text-align: center; }
.pe-main { display: block; }
.pe-skip { position: absolute; left: -999px; top: 8px; background: var(--pe-surface); padding: 8px 14px; z-index: 1000; }
.pe-skip:focus { left: 8px; }

.pe-icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.18em; }
.pe-social-icon { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons ---------- */
.pe-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.4em; border-radius: 10px; border: 2px solid transparent;
	font: inherit; font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
	min-height: 48px;
}
.pe-btn:hover { transform: translateY(-1px); }
.pe-btn--lg { padding: .95em 1.6em; font-size: 1.05rem; }
.pe-btn--block { display: flex; width: 100%; margin-top: .6em; }
.pe-btn--accent { background: var(--pe-accent); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.pe-btn--accent:hover { background: var(--pe-primary); color: #fff; }
.pe-btn--primary { background: var(--pe-primary); color: #fff; }
.pe-btn--primary:hover { background: var(--pe-accent); color: #fff; }
.pe-btn--outline { border-color: var(--pe-primary); color: var(--pe-primary); background: transparent; }
.pe-btn--outline:hover { background: var(--pe-primary); color: #fff; }
.pe-btn--ghost { border-color: rgba(255,255,255,.75); color: #fff; background: rgba(255,255,255,.06); }
.pe-btn--ghost:hover { background: #fff; color: var(--pe-primary); }

/* ---------- Top bar + header ---------- */
.pe-topbar { background: var(--pe-dark); color: rgba(255,255,255,.85); font-size: .85rem; display: none; }
.pe-topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.pe-topbar a { color: inherit; text-decoration: none; }
.pe-topbar a:hover { color: #fff; }
@media (min-width: 900px) { .pe-topbar { display: block; } }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--pe-header-bg); border-bottom: 1px solid rgba(var(--pe-dark-rgb), .08); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(var(--pe-dark-rgb), .10); }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.site-header__logo { flex: none; }
.site-header__logo img, .custom-logo { max-height: 54px; width: auto; }
.pe-text-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pe-primary); line-height: 1; }
.pe-text-logo .pe-mark { width: 38px; height: 38px; color: var(--pe-primary); }
.pe-text-logo span { display: flex; flex-direction: column; }
.pe-text-logo strong { font-size: 1.15rem; font-weight: 900; letter-spacing: .02em; }
.pe-text-logo em { font-style: normal; font-weight: 900; font-size: 1.15rem; letter-spacing: .14em; }

.site-nav { margin-left: auto; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav__list a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--pe-text); text-decoration: none; font-weight: 600; font-size: .96rem; }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a { color: var(--pe-primary); background: rgba(var(--pe-primary-rgb), .07); }
.site-nav__list .sub-menu { list-style: none; padding: 6px; margin: 0; }
.site-nav__cta-mobile { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-header__phone { display: none; align-items: center; gap: 6px; font-weight: 700; color: var(--pe-primary); text-decoration: none; white-space: nowrap; }
.site-header__cta { display: none; }
.site-header__toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px; border: 1px solid rgba(var(--pe-dark-rgb), .15); background: var(--pe-surface); color: var(--pe-primary); cursor: pointer; }
.site-header__toggle .pe-icon { width: 24px; height: 24px; }
.pe-toggle-close { display: none; }
.pe-nav-open .pe-toggle-open { display: none; }
.pe-nav-open .pe-toggle-close { display: inline-flex; }
.pe-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--pe-primary); }
.pe-cart .pe-icon { width: 22px; height: 22px; }
.pe-cart__count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--pe-accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }

@media (max-width: 979px) {
	.site-nav { position: fixed; inset: 68px 0 0 0; background: var(--pe-header-bg); padding: 16px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; margin: 0; z-index: 99; }
	.admin-bar .site-nav { inset: 114px 0 0 0; }
	.pe-nav-open .site-nav { transform: none; }
	.pe-nav-open { overflow: hidden; }
	.site-nav__list { flex-direction: column; }
	.site-nav__list a { padding: 14px 12px; font-size: 1.1rem; border-bottom: 1px solid rgba(var(--pe-dark-rgb), .06); border-radius: 0; }
	.site-nav__cta-mobile { display: flex; margin-top: 18px; }
	.site-header__actions { margin-left: auto; }
}
@media (min-width: 980px) {
	.site-header__toggle { display: none; }
	.site-header__cta { display: inline-flex; }
	.site-header__inner { min-height: 78px; }
}
@media (min-width: 1180px) { .site-header__phone { display: inline-flex; } }

/* ---------- Hero ---------- */
.pe-hero, .pe-banner { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--pe-dark); }
.pe-hero--noimg, .pe-banner--noimg { background: radial-gradient(1200px 500px at 80% 0%, rgba(var(--pe-primary-rgb), .9), transparent), linear-gradient(135deg, var(--pe-dark), var(--pe-primary)); }
.pe-hero__bg, .pe-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pe-hero__video { opacity: 0; transition: opacity .8s ease; }
.pe-hero__video.is-playing { opacity: 1; }
.pe-hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(var(--pe-dark-rgb), calc(var(--pe-hero-overlay) + .15)) 0%, rgba(var(--pe-dark-rgb), var(--pe-hero-overlay)) 45%, rgba(var(--pe-dark-rgb), calc(var(--pe-hero-overlay) - .2)) 100%); }
.pe-hero--noimg .pe-hero__overlay, .pe-banner--noimg .pe-hero__overlay { display: none; }
.pe-hero__inner { padding: 72px 16px 64px; max-width: 1200px; }
@media (min-width: 768px) { .pe-hero__inner { padding: 120px 24px 104px; } }
.pe-hero__title { color: #fff; max-width: 820px; font-size: clamp(2.1rem, 5.4vw, 3.6rem); text-wrap: balance; }
.pe-hero__text { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 640px; color: rgba(255,255,255,.9); }
.pe-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.pe-trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; max-width: 760px; font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.92); }
.pe-trust li { display: flex; align-items: center; gap: 8px; }
.pe-trust .pe-icon { color: var(--pe-highlight); }
@media (min-width: 768px) { .pe-trust { grid-template-columns: repeat(4, auto); justify-content: start; } }
.pe-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .8rem; color: var(--pe-accent); margin-bottom: .8em; }
.pe-eyebrow--light { color: var(--pe-highlight); }

.pe-banner__inner { padding: 64px 16px 56px; }
@media (min-width: 768px) { .pe-banner__inner { padding: 88px 24px 72px; } }
.pe-banner h1 { color: #fff; max-width: 860px; }
.pe-banner p { color: rgba(255,255,255,.88); max-width: 720px; font-size: 1.1rem; margin: 0; }

/* ---------- Ratings strip ---------- */
.pe-ratings { background: var(--pe-surface); border-bottom: 1px solid rgba(var(--pe-dark-rgb), .08); }
.pe-ratings__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; padding-top: 16px; padding-bottom: 16px; }
.pe-rating { display: inline-flex; align-items: center; gap: 10px; color: var(--pe-text); text-decoration: none; font-size: .98rem; }
.pe-rating:hover { color: var(--pe-primary); }
.pe-stars { display: inline-flex; gap: 2px; color: var(--pe-highlight); }
.pe-star { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; }

/* ---------- Sections ---------- */
.pe-section { padding: 64px 0; position: relative; }
@media (min-width: 768px) { .pe-section { padding: 96px 0; } }
.pe-section__head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.pe-lead { font-size: 1.1rem; color: var(--pe-muted); }
.pe-section__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: var(--pe-bg-opacity); z-index: 0; pointer-events: none; }
.pe-has-bg > .pe-container { position: relative; z-index: 1; }

/* Cards */
.pe-cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pe-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pe-cards { grid-template-columns: repeat(3, 1fr); } }
.pe-card { display: flex; flex-direction: column; background: var(--pe-surface); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--pe-text); border: 1px solid rgba(var(--pe-dark-rgb), .07); box-shadow: 0 2px 6px rgba(var(--pe-dark-rgb), .04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pe-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(var(--pe-dark-rgb), .12); border-color: rgba(var(--pe-primary-rgb), .25); color: var(--pe-text); }
.pe-card__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pe-card__body { display: flex; flex-direction: column; padding: 24px; flex: 1; }
.pe-card__icon { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--pe-primary-rgb), .08); color: var(--pe-primary); margin-bottom: 14px; }
.pe-card__icon .pe-icon { width: 26px; height: 26px; }
.pe-card h2, .pe-card h3 { font-size: 1.2rem; margin-bottom: .4em; }
.pe-card p { color: var(--pe-muted); font-size: .98rem; flex: 1; }
.pe-card__more { color: var(--pe-accent); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; }
.pe-services .pe-center { margin-top: 36px; }

/* Steps */
.pe-steps { background: var(--pe-surface); }
.pe-steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 800px) { .pe-steps__list { grid-template-columns: repeat(3, 1fr); } }
.pe-steps__list li { padding: 28px; border-radius: 16px; background: var(--pe-bg); position: relative; }
.pe-steps__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pe-primary); color: #fff; font-weight: 800; margin-bottom: 14px; }
.pe-steps__list p { color: var(--pe-muted); margin: 0; }

/* Why */
.pe-why__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .pe-why__grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.pe-why__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.pe-why__list li { display: flex; gap: 16px; background: var(--pe-surface); border-radius: 14px; padding: 20px; border: 1px solid rgba(var(--pe-dark-rgb), .07); }
.pe-why__list .pe-icon { width: 28px; height: 28px; color: var(--pe-accent); margin-top: 2px; }
.pe-why__list h3 { font-size: 1.08rem; margin-bottom: .25em; }
.pe-why__list p { margin: 0; color: var(--pe-muted); font-size: .96rem; }

/* Gallery */
.pe-gallery { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .pe-gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.pe-gallery__item { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--pe-dark); }
.pe-gallery__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s ease; }
.pe-gallery__item:hover img { transform: scale(1.04); }
.pe-gallery__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-weight: 700; font-size: .95rem; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.pe-work .pe-center { margin-top: 32px; }

/* Reviews */
.pe-reviews { background: var(--pe-surface); }
.pe-review-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .pe-review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pe-review-grid { grid-template-columns: repeat(3, 1fr); } }
.pe-review { margin: 0; background: var(--pe-bg); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.pe-review blockquote { margin: 0; font-size: 1.02rem; flex: 1; }
.pe-review blockquote p:last-child { margin: 0; }
.pe-review figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .92rem; color: var(--pe-muted); }
.pe-review figcaption strong { color: var(--pe-text); }
.pe-review figcaption span { display: inline-flex; align-items: center; gap: 6px; }
.pe-reviews__embed { margin-bottom: 28px; }
.pe-reviews__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Shop teaser */
.pe-products, .pe-shop-cats { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .pe-products { grid-template-columns: repeat(4, 1fr); } .pe-shop-cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 559px) { .pe-shop-cats { grid-template-columns: 1fr; } }
.pe-product { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--pe-text); }
.pe-product__img img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--pe-surface); }
.pe-product__name { font-weight: 700; }
.pe-product__price { color: var(--pe-muted); }
.pe-shop-cat { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 16px; background: var(--pe-surface); border: 1px solid rgba(var(--pe-dark-rgb), .07); text-decoration: none; color: var(--pe-text); }
.pe-shop-cat:hover { border-color: var(--pe-accent); color: var(--pe-text); }
.pe-shop-cat .pe-icon { width: 32px; height: 32px; color: var(--pe-accent); margin-bottom: 6px; }
.pe-shop-cat span { color: var(--pe-muted); font-size: .95rem; }
.pe-shop-teaser .pe-center { margin-top: 32px; }

/* Service area */
.pe-area { background: var(--pe-surface); }
.pe-area__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .pe-area__grid { grid-template-columns: 1fr 1.15fr; gap: 56px; } }
.pe-area__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.pe-area__list li { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.pe-area__list .pe-icon { color: var(--pe-accent); }
.pe-area__map { border-radius: 18px; overflow: hidden; box-shadow: 0 16px 40px rgba(var(--pe-dark-rgb), .14); aspect-ratio: 4/3; background: var(--pe-bg); }
.pe-area__map iframe { width: 100%; height: 100%; border: 0; }

/* Contact */
.pe-contact { background: linear-gradient(135deg, var(--pe-dark), var(--pe-primary)); color: #fff; }
.pe-contact h2 { color: #fff; }
.pe-contact__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .pe-contact__grid { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; } }
.pe-contact__info > p { color: rgba(255,255,255,.85); }
.pe-contact__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.pe-contact__list li { display: flex; gap: 14px; }
.pe-contact__list .pe-icon { width: 24px; height: 24px; color: var(--pe-highlight); margin-top: 3px; }
.pe-contact__list span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.65); }
.pe-contact__list a { color: #fff; font-weight: 700; text-decoration: none; }
.pe-contact__form { background: var(--pe-surface); color: var(--pe-text); border-radius: 18px; padding: 24px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
@media (min-width: 768px) { .pe-contact__form { padding: 32px; } }

/* Form */
.pe-form { display: grid; gap: 14px; }
.pe-form__row { display: grid; gap: 14px; }
@media (min-width: 600px) { .pe-form__row { grid-template-columns: 1fr 1fr; } }
.pe-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.pe-form input, .pe-form select, .pe-form textarea {
	font: inherit; font-weight: 400; font-size: 16px; width: 100%; padding: 12px 14px; border-radius: 10px;
	border: 1px solid rgba(var(--pe-dark-rgb), .2); background: #fff; color: var(--pe-text); min-height: 48px;
}
.pe-form input:focus, .pe-form select:focus, .pe-form textarea:focus { border-color: var(--pe-accent); outline: 3px solid rgba(var(--pe-primary-rgb), .15); }
.pe-form .pe-check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.pe-form .pe-check input { width: 20px; height: 20px; min-height: 0; }
.pe-form button { justify-self: start; }
.pe-form__note { font-size: .85rem; color: var(--pe-muted); margin: 0; }
.pe-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pe-notice { padding: 14px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; }
.pe-notice--ok { background: #e7f7ee; color: #14532d; }
.pe-notice--err { background: #fdecec; color: #7f1d1d; }

/* CTA band */
.pe-cta { background: var(--pe-primary); color: #fff; padding: 48px 0; }
.pe-cta h2 { color: #fff; margin-bottom: .2em; }
.pe-cta p { color: rgba(255,255,255,.85); margin: 0; }
.pe-cta__inner { display: grid; gap: 24px; align-items: center; }
.pe-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .pe-cta__inner { grid-template-columns: 1fr auto; } }

/* Content pages */
.pe-content { max-width: 820px; }
.pe-content > * + * { margin-top: 1em; }
.pe-content img { border-radius: 12px; }
.pe-service-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .pe-service-layout { grid-template-columns: 1fr 340px; gap: 56px; } }
.pe-side { display: grid; gap: 20px; align-content: start; }
.pe-side__box { background: var(--pe-surface); border-radius: 16px; padding: 24px; border: 1px solid rgba(var(--pe-dark-rgb), .07); }
.pe-side__box h2 { font-size: 1.2rem; }
.pe-side__links { list-style: none; padding: 0; margin: 0; }
.pe-side__links a { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid rgba(var(--pe-dark-rgb), .07); color: var(--pe-text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.pe-side__links a:hover { color: var(--pe-accent); }
.pe-side__links .pe-icon { color: var(--pe-accent); }
.pe-project-photo img { width: 100%; border-radius: 16px; }
.pe-pagination { margin-top: 32px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pe-footer-bg); color: rgba(255,255,255,.78); font-size: .95rem; padding-bottom: 64px; }
@media (min-width: 768px) { .site-footer { padding-bottom: 0; } }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__logos { border-bottom: 1px solid rgba(255,255,255,.1); padding: 36px 0; }
.pe-logos__label { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 800; color: rgba(255,255,255,.55); text-align: center; margin: 0 0 14px; }
.pe-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.pe-logos:last-child { margin-bottom: 0; }
.pe-logos__item { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 14px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.pe-logos__item:has(img) { background: #fff; border-color: #fff; padding: 8px 16px; }
.pe-logos__item img { height: 38px; width: auto; max-width: 200px; object-fit: contain; }
.pe-logos--certs .pe-logos__item img { height: 50px; max-width: 220px; }
.pe-logo-text { font-weight: 700; font-size: .85rem; color: rgba(255,255,255,.8); letter-spacing: .02em; }
.site-footer__grid { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer__logo .pe-text-logo { color: #fff; }
.site-footer__logo .pe-text-logo .pe-mark { color: #fff; }
.site-footer__logo .custom-logo { filter: brightness(0) invert(1); max-height: 56px; }
.site-footer__brand p { margin: 14px 0 0; }
.site-footer__license { display: flex; gap: 8px; font-size: .9rem; }
.site-footer__license .pe-icon { color: var(--pe-highlight); margin-top: 3px; }
.site-footer__heading { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer__contact li { display: flex; gap: 10px; }
.site-footer__contact .pe-icon { color: var(--pe-highlight); margin-top: 3px; }
.pe-socials { list-style: none; padding: 0; margin: 18px 0 0; display: flex; gap: 10px; }
.pe-socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); }
.pe-socials a:hover { background: var(--pe-accent); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .85rem; }
.site-footer__bottom .pe-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Sticky call bar on phones */
.pe-callbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 12px; background: var(--pe-accent); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.pe-callbar:hover { color: #fff; }
@media (min-width: 768px) { .pe-callbar { display: none; } }
.pe-nav-open .pe-callbar { display: none; }

/* ---------- WooCommerce ---------- */
.pe-shop .woocommerce-products-header__title { margin-bottom: .4em; }
.woocommerce ul.products { display: grid !important; gap: 22px; grid-template-columns: 1fr 1fr; margin: 0 !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
@media (min-width: 900px) { .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); } }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: var(--pe-surface); border-radius: 16px; padding: 14px !important; border: 1px solid rgba(var(--pe-dark-rgb), .07); }
.woocommerce ul.products li.product img { border-radius: 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--pe-text); font-size: 1rem !important; }
.woocommerce ul.products li.product .price { color: var(--pe-primary) !important; font-weight: 700; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .wc-block-components-button:not(.is-link) {
	background: var(--pe-accent) !important; color: #fff !important; border-radius: 10px !important; padding: .8em 1.3em !important; font-weight: 700 !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover { background: var(--pe-primary) !important; }
.woocommerce span.onsale { background: var(--pe-highlight); color: var(--pe-dark); }
.woocommerce div.product .product_title { color: var(--pe-primary); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--pe-primary); font-weight: 800; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--pe-accent) !important; }
.woocommerce .quantity .qty { min-height: 44px; border-radius: 8px; }
@media (min-width: 1000px) { .pe-review-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; } .pe-review-grid:has(> :only-child) { grid-template-columns: minmax(0, 520px); justify-content: center; } }
