/*
Theme Name: AEE Québec
Theme URI: https://aeeqc.ca
Author: AEE Québec
Version: 0.1.0
Text Domain: aee-quebec
*/
:root{--ink:#020617;--soft:#334155;--muted:#64748b;--line:#cbd5e1;--surface:#f1f5f9;--brand:#1e3a8a;--brand-dark:#172554;--accent:#10b981;--shadow:0 12px 32px rgba(15,23,42,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:var(--brand);text-decoration:none}a:hover{color:var(--brand-dark)}.container{max-width:1180px;margin:auto;padding:0 24px}.site-header{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:14px 24px}.brand{font-weight:800;letter-spacing:.02em;color:var(--ink);font-size:18px}.nav-links{display:flex;align-items:center;gap:20px}.nav-links a{font-size:14px;font-weight:600;color:var(--ink)}.lang{border:1px solid var(--line);border-radius:999px;overflow:hidden}.lang a{display:inline-block;padding:5px 10px;font-size:12px}.lang a.active{background:var(--brand);color:white}.hero{padding:110px 0 100px;background:linear-gradient(135deg,#eff6ff,#fff 62%,#ecfdf5)}.eyebrow{color:var(--brand);font-weight:800;text-transform:uppercase;letter-spacing:.12em;font-size:12px}.hero h1{font-size:clamp(42px,7vw,78px);line-height:1.02;max-width:900px;margin:18px 0}.hero h2{font-size:clamp(22px,3vw,34px);max-width:800px;margin:0 0 18px}.lede{font-size:19px;color:var(--soft);max-width:760px}.section{padding:84px 0}.section.alt{background:var(--surface)}.section-head{max-width:780px;margin-bottom:34px}.section h2{font-size:clamp(30px,4vw,46px);line-height:1.1;margin:0 0 12px}.section-head p{color:var(--soft)}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:var(--shadow)}.card.featured{border:2px solid var(--accent)}.price{font-size:42px;font-weight:800;color:var(--brand);margin:12px 0 18px}.price small{font-size:15px;font-weight:600;color:var(--muted)}.card ul{padding-left:20px;color:var(--soft);min-height:170px}.btn{display:inline-block;border:0;border-radius:999px;padding:13px 22px;font-weight:800;cursor:pointer}.btn-dark{background:var(--brand);color:#fff}.btn-dark:hover{background:var(--brand-dark);color:#fff}.btn-light{background:#fff;color:var(--brand);border:1px solid var(--line)}.site-footer{background:#0f2a66;color:#dbeafe;padding:46px 0}.site-footer a{color:#fff}.notice{padding:14px 18px;border-left:4px solid var(--accent);background:#ecfdf5;color:#064e3b;border-radius:10px;margin:20px 0}.woocommerce form .form-row input,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border-radius:10px;border:1px solid var(--line);padding:12px}.aee-local-banner{position:fixed;bottom:0;left:0;right:0;background:#172554;color:#fff;text-align:center;padding:7px;font-size:12px;z-index:999}.woocommerce-checkout .site-main{padding:55px 0}.woocommerce-checkout h1{font-size:42px}@media(max-width:760px){.nav-inner{align-items:flex-start}.nav-links{gap:10px;flex-wrap:wrap;justify-content:flex-end}.nav-links a:nth-child(n+4){display:none}.hero{padding:70px 0}.cards{grid-template-columns:1fr}.section{padding:60px 0}}

/* Shared branding and breathing room for store and account pages. */
.site-header .brand{display:inline-flex;align-items:center;flex-shrink:0}
.site-header .brand img{display:block;height:42px;width:auto}
.site-main > .container{width:100%;max-width:1180px;margin-inline:auto;padding-inline:clamp(24px,5vw,64px)}
/* Keep store page titles close to the navigation. */
.woocommerce-checkout .site-main{padding-top:0}
body.woocommerce-cart .site-main > .section,
body.woocommerce-checkout .site-main > .section,
body.woocommerce-account .site-main > .section,
body.woocommerce .site-main > .section{padding-top:32px}
.site-main > .section > article > h1{margin-top:0}
/* Match WooCommerce controls and payment panels to AEE's blue palette. */
body{--wc-primary:#1e3a8a;--wc-primary-text:#fff;--wp--preset--color--woocommerce:#1e3a8a;--wc-block-components-color-accent:#1e3a8a}
.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,
.woocommerce #respond input#submit.alt,
.wc-block-components-button:not(.is-link){background:#1e3a8a;color:#fff;border-color:#1e3a8a}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.wc-block-components-button:not(.is-link):hover{background:#172554;color:#fff;border-color:#172554}
.woocommerce button.button.alt.disabled,.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:disabled[disabled]{background:#1e3a8a;color:#fff;opacity:.55}
.woocommerce-checkout #payment,.woocommerce-cart #payment,.woocommerce-order-pay #payment{background:#f1f5f9}
.woocommerce-checkout #payment div.payment_box,.woocommerce-cart #payment div.payment_box,.woocommerce-order-pay #payment div.payment_box{background:#e2e8f0;color:#334155}
.woocommerce-checkout #payment div.payment_box::before,.woocommerce-cart #payment div.payment_box::before,.woocommerce-order-pay #payment div.payment_box::before{border-bottom-color:#e2e8f0}
.woocommerce-checkout #payment ul.payment_methods{border-bottom-color:#cbd5e1}
.woocommerce input[type=checkbox],.woocommerce input[type=radio]{accent-color:#1e3a8a}
/* Green checkout actions, matching the homepage accent. */
.woocommerce #payment #place_order,
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button{background:#10b981;border-color:#10b981;color:#020617}
.woocommerce #payment #place_order:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover{background:#059669;border-color:#059669;color:#020617}

/* Permanent QR landing page; large targets and one column on phones. */
.aee-engage{max-width:1000px!important;padding-block:48px 72px}
.aee-engage h1{font-size:clamp(32px,5vw,52px);line-height:1.15;margin:12px 0 20px}
.aee-engage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:20px;margin:32px 0}
.aee-engage-option{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:16px;padding:28px;color:var(--ink);min-height:230px}
.aee-engage-option h2{font-size:24px;line-height:1.25;margin:0 0 12px}
.aee-engage-option p{color:var(--soft);margin:0 0 24px}
.aee-engage-option span{margin-top:auto;color:var(--brand);font-weight:700}
.aee-engage-option:hover{border-color:var(--brand);background:var(--surface)}
.aee-engage-option--member{--option-color:#244ea1;--option-tint:#edf3ff;--option-border:#c5d5f3}
.aee-engage-option--volunteer{--option-color:#087b60;--option-tint:#e9f7f1;--option-border:#bce1d3}
.aee-engage-option--sponsor{--option-color:#986115;--option-tint:#fff5e5;--option-border:#ead6b4}
.aee-engage-option[class*="aee-engage-option--"]{border-color:var(--option-border);border-top:3px solid var(--option-color)}
.aee-engage-icon{display:grid;place-items:center;flex-shrink:0;width:52px;height:52px;border-radius:14px;background:var(--option-tint);color:var(--option-color);margin-bottom:24px}
.aee-engage-icon svg{width:28px;height:28px}
.aee-engage-option[class*="aee-engage-option--"]>span{color:var(--option-color)}
.aee-engage-option[class*="aee-engage-option--"]:hover{border-color:var(--option-color);background:var(--option-tint)}
.aee-engage a:focus-visible{outline:3px solid var(--brand);outline-offset:4px}
.aee-event-page div.product div.summary{float:none;width:100%;max-width:800px}
.aee-event-page .product_title{font-size:clamp(30px,5vw,46px);line-height:1.15}
.aee-event-page .aee-event-details{margin-block:24px}
.aee-event-page .variations select{max-width:100%}
