:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.wpcie30-app{max-width:1180px;margin:auto;padding:0 14px 90px;color:#17211d}.wpcie30-head{height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px}.wpcie30-brand{display:flex;align-items:center;gap:10px}.wpcie30-brand img{width:40px;height:40px;object-fit:cover;border-radius:12px}.wpcie30-brand b{display:block}.wpcie30-brand small{display:block;opacity:.62;font-size:11px}.wpcie30-icon{font-size:25px;text-decoration:none;color:var(--wpc-green)}.wpcie30-hero{border-radius:24px;padding:28px 22px;background:linear-gradient(135deg,var(--wpc-green),#063c2c);color:#fff;margin-bottom:14px}.wpcie30-hero span{color:#e3ca8c;font-size:12px}.wpcie30-hero h1{font-size:clamp(25px,5vw,42px);line-height:1.05;margin:8px 0}.wpcie30-hero p{margin:0;opacity:.8}.wpcie30-search{display:grid;grid-template-columns:2fr 1fr 1fr 1fr .8fr auto;gap:8px;padding:10px;background:#fff;border:1px solid #e8e3d8;border-radius:18px;box-shadow:0 12px 40px #17392a10}.wpcie30-search input,.wpcie30-search select,.wpcie30-search button{min-height:44px;border:1px solid #ddd6c8;border-radius:12px;padding:0 11px;background:#fff}.wpcie30-search button{background:var(--wpc-green);color:#fff;border-color:var(--wpc-green);font-weight:700}.wpcie30-chips{display:flex;gap:8px;overflow:auto;padding:14px 0}.wpcie30-chips a{white-space:nowrap;border:1px solid #ddd1b5;border-radius:999px;padding:9px 13px;text-decoration:none;color:#604b1d;background:#fff}.wpcie30-section{margin-top:26px}.wpcie30-title{display:flex;justify-content:space-between;align-items:center}.wpcie30-title h2{font-size:21px;margin:0}.wpcie30-title a{font-size:13px;color:var(--wpc-green)}.wpcie30-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:12px}.wpcie30-card{border:1px solid #ece8df;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 25px #17392a0b}.wpcie30-photo{aspect-ratio:8/5;background:#e9e5dc;position:relative;overflow:hidden}.wpcie30-photo img{width:100%;height:100%;object-fit:cover;display:block}.wpcie30-noimg{height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#e9e2d2,#f8f3e8);color:var(--wpc-green);font-weight:800}.wpcie30-fav{position:absolute;right:9px;top:9px;border:1px solid #ffffff99;background:#ffffffc9;backdrop-filter:blur(8px);width:36px;height:36px;border-radius:50%;font-size:21px}.wpcie30-badge{position:absolute;left:9px;top:9px;background:#fff;color:#6c5017;border-radius:999px;padding:6px 9px;font-size:11px}.wpcie30-cardbody{padding:12px}.wpcie30-card h3{font-size:15px;margin:5px 0}.wpcie30-card p{font-size:12px;opacity:.65;margin:3px 0}.wpcie30-rating{font-size:12px;color:#6b511c}.wpcie30-meta{font-size:11px;opacity:.65;margin:7px 0}.wpcie30-price{font-size:13px}.wpcie30-price small{opacity:.6}.wpcie30-empty,.wpcie30-login{padding:28px;border:1px dashed #d6cfbf;border-radius:16px;text-align:center}.wpcie30-bottom{position:fixed;z-index:50;bottom:10px;left:50%;transform:translateX(-50%);width:min(560px,calc(100% - 20px));display:flex;justify-content:space-around;padding:8px;background:#fffdf9e8;backdrop-filter:blur(14px);border:1px solid #d8c69c;border-radius:18px;box-shadow:0 12px 40px #0002}.wpcie30-bottom a{text-decoration:none;color:var(--wpc-green);text-align:center;font-size:20px}.wpcie30-bottom small{display:block;font-size:9px}.wpcie30-dashboard{max-width:1100px;margin:auto;padding:20px}.wpcie30-dashhead{display:flex;justify-content:space-between;align-items:center}.wpcie30-dashhead h1{margin:3px 0}.wpcie30-dashhead span{color:var(--wpc-green)}.wpcie30-balance{padding:14px 18px;border-radius:16px;background:#f8f3e8;border:1px solid #d7bf83}.wpcie30-statgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.wpcie30-statgrid div,.wpcie30-panel{border:1px solid #e6e0d5;border-radius:16px;padding:16px;background:#fff}.wpcie30-statgrid strong{display:block;font-size:24px;margin-top:6px}.wpcie30-panel{margin-top:14px}.wpcie30-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eee}.wpcie30-row:last-child{border-bottom:0}@media(max-width:850px){.wpcie30-search{grid-template-columns:1fr 1fr}.wpcie30-search input:first-child{grid-column:1/-1}.wpcie30-search button{grid-column:1/-1}.wpcie30-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wpcie30-cardbody{padding:10px}.wpcie30-card h3{font-size:14px}.wpcie30-hero{padding:24px 18px}.wpcie30-statgrid{grid-template-columns:1fr}.wpcie30-dashhead{align-items:flex-start;gap:10px;flex-direction:column}}@media(max-width:430px){.wpcie30-search{grid-template-columns:1fr}.wpcie30-search input:first-child{grid-column:auto}.wpcie30-search button{grid-column:auto}.wpcie30-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wpcie30-photo{aspect-ratio:1/1}.wpcie30-card h3{font-size:13px}}
.wpcie30-form{max-width:980px;margin:20px auto;padding:20px;background:#fff;border:1px solid #e7e1d7;border-radius:20px}.wpcie30-form label{display:block;font-size:13px;font-weight:650;margin:10px 0}.wpcie30-form input,.wpcie30-form select,.wpcie30-form textarea{width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #ddd6c8;border-radius:11px;padding:10px;background:#fff}.wpcie30-form input[type=checkbox]{width:auto}.wpcie30-formgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.wpcie30-submit{border:0;border-radius:12px;padding:12px 18px;background:var(--wpc-green,#006039);color:#fff;font-weight:800;cursor:pointer}.wpcie30-detail{max-width:1100px;margin:auto}.wpcie30-gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-auto-rows:180px;gap:6px;border-radius:20px;overflow:hidden}.wpcie30-gallery img{width:100%;height:100%;object-fit:cover}.wpcie30-gallery img:first-child{grid-row:span 2}.wpcie30-detail-main{padding:20px 4px}.wpcie30-detail-main h1{font-size:clamp(27px,5vw,42px);margin:5px 0}.wpcie30-detailstats{display:flex;gap:12px;flex-wrap:wrap;margin:15px 0}.wpcie30-detailstats span{padding:8px 10px;border:1px solid #e4ddcf;border-radius:999px;font-size:12px}.wpcie30-detailtext{max-width:750px}.wpcie30-bookbox{margin-top:20px;max-width:700px;border:1px solid #dbc99f;border-radius:18px;padding:18px;background:#fffdf7}.wpcie30-bookbox h3{margin-top:0}@media(max-width:700px){.wpcie30-formgrid{grid-template-columns:1fr 1fr}.wpcie30-gallery{grid-template-columns:1fr 1fr;grid-auto-rows:150px}.wpcie30-gallery img:first-child{grid-column:span 2;grid-row:auto}}

.wpcie30-app{width:100%;max-width:none;margin:0;padding-left:clamp(6px,1vw,14px);padding-right:clamp(6px,1vw,14px);box-sizing:border-box}.wpcie30-cardlink{display:block;color:inherit;text-decoration:none}.wpcie30-profile-mini{display:flex;align-items:center;gap:10px;margin:8px 0 16px}.wpcie30-profile-mini img{width:42px;height:42px;border-radius:50%;object-fit:cover}.wpcie30-profile-mini small{display:block;opacity:.62;font-size:11px}.wpcie30-contact-lock{margin-top:18px;padding:14px;border:1px solid #dbc99f;border-radius:15px;background:#fffdf7}.wpcie30-unlock{border:1px solid #a37e2c;border-radius:11px;padding:10px 13px;background:#fff;color:#624d1d;font-weight:700}.wpcie30-unlocked{padding-top:8px}.wpcie30-card .wpcie30-meta{font-size:10px}.wpcie30-form{max-width:100%;margin:8px auto;padding:clamp(10px,2vw,20px);box-sizing:border-box}.wpcie30-formgrid{grid-template-columns:repeat(3,minmax(0,1fr))}.wpcie30-form small{opacity:.65}@media(max-width:700px){.wpcie30-app{padding-left:5px;padding-right:5px}.wpcie30-formgrid{grid-template-columns:1fr 1fr}.wpcie30-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.wpcie30-card{border-radius:14px}.wpcie30-photo{aspect-ratio:8/6}.wpcie30-cardbody{padding:8px}.wpcie30-section{margin-top:18px}.wpcie30-head{height:58px}.wpcie30-hero{border-radius:16px;padding:20px 15px}.wpcie30-search{grid-template-columns:1fr 1fr}.wpcie30-search input:first-child{grid-column:1/-1}.wpcie30-search button{grid-column:1/-1}}@media(max-width:430px){.wpcie30-formgrid{grid-template-columns:1fr}.wpcie30-search{grid-template-columns:1fr}.wpcie30-search input:first-child,.wpcie30-search button{grid-column:auto}.wpcie30-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wpcie30-card h3{font-size:12px}.wpcie30-card p{font-size:10px}.wpcie30-price{font-size:11px}}.wpcie30-modal{display:none;position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.72);padding:12px;overflow:auto}.wpcie30-modal.is-open{display:block}.wpcie30-modal-inner{position:relative;width:min(1100px,100%);min-height:calc(100vh - 24px);margin:auto;background:var(--wpc-cream,#f8f3e8);border:1px solid var(--wpc-gold,#a37e2c);border-radius:22px;overflow:hidden;box-shadow:0 20px 80px rgba(0,0,0,.35)}.wpcie30-modal-close{position:absolute;right:12px;top:10px;width:42px;height:42px;border-radius:50%;border:1px solid var(--wpc-gold,#a37e2c);background:rgba(255,255,255,.82);font-size:28px;z-index:3}.wpcie30-modal-content{min-height:calc(100vh - 24px)}.wpcie30-loading,.wpcie30-empty{padding:40px;text-align:center}.wpcie30-existing-images{display:flex;gap:8px;overflow:auto;padding:8px 0}.wpcie30-existing-images img{width:90px;height:70px;object-fit:cover;border-radius:10px}.wpcie30-fieldset{padding:14px;border:1px solid rgba(163,126,44,.28);border-radius:16px;margin:12px 0}.wpcie30-fieldset h3{margin:0 0 10px}.wpcie30-inline{display:flex;gap:16px;flex-wrap:wrap;margin:10px 0}.wpcie30-unlocked{padding:14px;border:1px solid var(--wpc-gold,#a37e2c);border-radius:14px;background:rgba(0,96,57,.06)}
@media(max-width:700px){.wpcie30-modal{padding:0}.wpcie30-modal-inner{min-height:100vh;border-radius:0}.wpcie30-modal-content{min-height:100vh}.wpcie30-modal-close{top:8px;right:8px}}
.wpcie30-map-panel{position:relative;margin:0 0 14px;border:1px solid #ded6c4;border-radius:20px;overflow:hidden;background:#f5f1e7;box-shadow:0 10px 35px #17392a10}.wpcie30-map{height:360px;width:100%;background:#e9e4d7}.wpcie30-map-controls{position:absolute;left:12px;right:12px;bottom:12px;z-index:900;display:flex;align-items:center;gap:8px;max-width:720px}.wpcie30-map-controls button{border:1px solid var(--wpc-gold,#a37e2c);background:#fffdf8eF;color:#5d491c;border-radius:12px;padding:10px 13px;font-weight:800;backdrop-filter:blur(10px)}.wpcie30-map-controls span{background:#ffffffdf;border-radius:12px;padding:9px 11px;font-size:12px;backdrop-filter:blur(10px)}.wpcie30-nearest{position:absolute;z-index:901;top:12px;left:12px;max-width:310px;background:#fffdf9f2;border:1px solid #d6c28e;border-radius:15px;padding:12px;box-shadow:0 10px 30px #0002;backdrop-filter:blur(10px)}.wpcie30-nearest a{display:block;color:var(--wpc-green,#006039);font-weight:800;text-decoration:none;margin:4px 0}.wpcie30-nearest span{font-size:12px;opacity:.7}.wpcie30-route-steps{margin:7px 0 0;padding-left:20px;max-height:95px;overflow:auto;font-size:11px}.wpcie30-route-arrow{background:transparent;border:0}.wpcie30-route-arrow span{display:block;font-size:18px;color:#006039;text-shadow:0 1px 2px #fff;line-height:22px}.wpcie30-locate-form{border:1px solid #d5bd80;border-radius:10px;background:#fffdf7;color:#5e4b1d;padding:9px 12px;font-weight:700;cursor:pointer}@media(max-width:600px){.wpcie30-map{height:300px}.wpcie30-map-controls{left:8px;right:8px;bottom:8px}.wpcie30-map-controls span{font-size:10px}.wpcie30-nearest{top:8px;left:8px;max-width:240px}.wpcie30-map-panel{border-radius:16px}}
/* Global Will-Perfect header */
.wpcie-global-header{position:relative;z-index:99999;background:rgba(248,243,232,.94);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid color-mix(in srgb,var(--wpc-head-gold) 35%,transparent);box-shadow:0 5px 24px rgba(0,0,0,.08);font-family:inherit}
.wpcie-head-main{max-width:1280px;margin:0 auto;min-height:64px;padding:8px 12px;display:grid;grid-template-columns:auto minmax(160px,1fr) auto;align-items:center;gap:12px}
.wpcie-head-brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--wpc-head-green);font-weight:800;min-width:0}
.wpcie-head-brand img{width:42px;height:42px;object-fit:contain;border-radius:12px}
.wpcie-head-brand span{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wpcie-head-search{height:42px;display:flex;align-items:center;gap:7px;padding:0 12px;border:1px solid color-mix(in srgb,var(--wpc-head-gold) 55%,transparent);border-radius:22px;background:rgba(255,255,255,.7)}
.wpcie-head-search .dashicons{color:var(--wpc-head-green)}
.wpcie-head-search input{border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;width:100%;min-width:0;padding:0!important}
.wpcie-head-actions{display:flex;align-items:center;gap:5px}
.wpcie-head-btn{position:relative;width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid color-mix(in srgb,var(--wpc-head-gold) 55%,transparent);background:rgba(255,255,255,.65);color:var(--wpc-head-green);cursor:pointer}
.wpcie-head-btn:hover{box-shadow:0 0 14px color-mix(in srgb,var(--wpc-head-gold) 30%,transparent);transform:translateY(-1px)}
.wpcie-dating-heart .dashicons{animation:wpcie-heartbeat 1.15s infinite;transform-origin:center}
@keyframes wpcie-heartbeat{0%,45%,100%{transform:scale(1)}15%{transform:scale(1.22)}25%{transform:scale(1)}35%{transform:scale(1.14)}}
.wpcie-notif-count{position:absolute;right:-2px;top:-3px;min-width:18px;height:18px;padding:0 4px;border-radius:10px;background:var(--wpc-head-gold);color:#fff;font-size:10px;line-height:18px;text-align:center;border:2px solid var(--wpc-head-cream)}
.wpcie-wallet-btn{width:auto;min-width:42px;padding:0 9px;border-radius:22px;gap:5px}.wpcie-wallet-amount{font-size:11px;font-weight:800;max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wpcie-notif-panel{position:absolute;right:10px;top:68px;width:min(390px,calc(100vw - 20px));background:#fff;border:1px solid color-mix(in srgb,var(--wpc-head-gold) 45%,transparent);border-radius:16px;box-shadow:0 18px 50px rgba(0,0,0,.18);display:none;overflow:hidden}
.wpcie-notif-panel.is-open{display:block}.wpcie-notif-head{padding:13px 15px;display:flex;justify-content:space-between;border-bottom:1px solid #eee}.wpcie-notif-close{border:0;background:transparent;font-size:24px;cursor:pointer}.wpcie-notif-list{max-height:430px;overflow:auto}.wpcie-notif-item{display:block;padding:12px 15px;border-bottom:1px solid #eee;text-decoration:none;color:inherit}.wpcie-notif-item.unread{background:rgba(0,96,57,.055)}.wpcie-notif-item strong{display:block;color:var(--wpc-head-green)}.wpcie-notif-item small{display:block;opacity:.65;margin-top:3px}.wpcie-notif-empty,.wpcie-notif-loading{padding:25px;text-align:center;opacity:.7}
@media(max-width:760px){.wpcie-head-main{grid-template-columns:auto 1fr;gap:8px}.wpcie-head-brand span{display:none}.wpcie-head-search{grid-column:1/-1;grid-row:2;height:40px}.wpcie-head-actions{justify-self:end}.wpcie-head-btn{width:38px;height:38px}.wpcie-wallet-amount{max-width:55px}}
/* v3.4 Global sticky header override */
.wpcie-global-header{position:fixed!important;top:var(--wp-admin--admin-bar--height,0px)!important;left:0!important;right:0!important;width:100%!important;z-index:2147483647!important;box-sizing:border-box!important;isolation:isolate!important}
body{padding-top:var(--wpcie-global-header-height,64px)!important}
.wpcie-head-main{min-height:58px!important}
.wpcie-head-actions{flex-wrap:nowrap!important}
.wpcie-head-avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;display:inline-flex;flex:0 0 auto;border:2px solid var(--wpc-head-gold);background:#fff}
.wpcie-head-avatar img{width:100%;height:100%;object-fit:cover}
.wpcie-head-btn .dashicons{font-size:21px!important;width:21px!important;height:21px!important}
.wpcie-service-count{position:absolute;right:-3px;top:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#d95f00;color:#fff;font:700 11px/18px Arial,sans-serif;text-align:center;box-shadow:0 0 0 2px var(--wpc-head-cream),0 0 12px rgba(217,95,0,.45);animation:wpcieCountPulse 1.35s ease-in-out infinite;z-index:3}
.wpcie-dating-heart .dashicons{color:#e0002a!important;animation:wpcieHeartBeat 1.05s ease-in-out infinite}
.wpcie-wallet-amount{font-size:10px;font-weight:800;margin-left:2px;max-width:58px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wpcie-notif-panel{position:absolute!important;right:10px!important;top:calc(100% + 7px)!important;width:min(390px,calc(100vw - 20px))!important;max-height:min(70vh,560px)!important;overflow:hidden!important;background:rgba(255,255,255,.98)!important;border:1px solid var(--wpc-head-gold)!important;border-radius:16px!important;box-shadow:0 18px 50px rgba(0,0,0,.2)!important;display:none!important}
.wpcie-notif-panel.is-open{display:block!important}
.wpcie-notif-list{max-height:490px;overflow:auto}
.wpcie-notif-item{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border-bottom:1px solid rgba(0,0,0,.07);text-decoration:none;color:#222}
.wpcie-notif-item.unread{background:rgba(217,95,0,.09)}
.wpcie-notif-item strong{color:var(--wpc-head-green)}
.wpcie-welcome-toast{position:fixed;top:calc(var(--wpcie-global-header-height,64px) + 14px);right:14px;background:#fff;border:1px solid var(--wpc-head-gold);color:var(--wpc-head-green);padding:12px 16px;border-radius:13px;box-shadow:0 12px 30px rgba(0,0,0,.16);animation:wpcieWelcome 5s forwards;z-index:4}
@keyframes wpcieCountPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.16)}}
@keyframes wpcieHeartBeat{0%,100%{transform:scale(1)}15%{transform:scale(1.2)}30%{transform:scale(.98)}45%{transform:scale(1.15)}}
@keyframes wpcieWelcome{0%{opacity:0;transform:translateY(-8px)}12%,80%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-8px);pointer-events:none}}
@media(max-width:760px){body{padding-top:var(--wpcie-global-header-height,106px)!important}.wpcie-global-header{min-height:104px}.wpcie-head-main{grid-template-columns:auto 1fr!important;grid-template-rows:auto auto!important}.wpcie-head-actions{position:absolute;right:7px;top:8px}.wpcie-head-search{grid-column:1/-1!important;grid-row:2!important;width:100%}.wpcie-head-brand span{display:none!important}.wpcie-head-btn{width:36px!important;height:36px!important}.wpcie-head-avatar{width:36px;height:36px}.wpcie-wallet-amount{display:none}.wpcie-notif-panel{top:calc(100% + 4px)!important;right:6px!important}}
/* v3.5 premium global header/chat polish */
.wpcie-global-header{background:var(--wpc-head-bg,rgba(255,255,255,.72))!important;backdrop-filter:blur(var(--wpc-head-blur,18px)) saturate(150%)!important;-webkit-backdrop-filter:blur(var(--wpc-head-blur,18px)) saturate(150%)!important;border-bottom:1px solid rgba(163,126,44,.28)!important}
.wpcie-head-btn{transition:color .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;background:rgba(255,255,255,.62)!important}
.wpcie-head-btn.is-active,.wpcie-head-btn:focus-visible{color:var(--wpc-head-active,#A37E2C)!important;background:rgba(255,255,255,.94)!important;border-color:var(--wpc-head-active,#A37E2C)!important;box-shadow:0 0 0 2px rgba(163,126,44,.12),0 5px 18px rgba(163,126,44,.18)!important;outline:none}
.wpcie-dating-heart.is-active .dashicons,.wpcie-dating-heart .dashicons{color:#e0002a!important}
.wpcie-chat-panel{position:absolute!important;right:10px!important;top:calc(100% + 7px)!important;width:min(360px,calc(100vw - 20px));background:rgba(255,255,255,.96);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid rgba(163,126,44,.42);border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.18);display:none;overflow:hidden;z-index:20}
.wpcie-chat-panel.is-open{display:block}
.wpcie-chat-head{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border-bottom:1px solid rgba(0,0,0,.07);color:var(--wpc-head-green)}
.wpcie-chat-close{border:0;background:transparent;font-size:24px;line-height:1;cursor:pointer;color:#555}
.wpcie-chat-options{padding:12px;display:grid;gap:9px}
.wpcie-chat-option{display:flex;align-items:center;gap:11px;min-height:48px;padding:11px 13px;border-radius:13px;border:1px solid rgba(163,126,44,.25);background:rgba(255,255,255,.82);text-decoration:none!important;color:#222!important;font-weight:800;transition:.18s ease}
.wpcie-chat-option:hover,.wpcie-chat-option:focus{border-color:var(--wpc-head-active,#A37E2C);transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,.08)}
.wpcie-chat-option .dashicons{color:var(--wpc-head-green);font-size:21px;width:21px;height:21px}
.wpcie-chat-whatsapp .dashicons{color:#128c4b}
.wpcie-chat-empty{padding:16px;text-align:center;font-size:13px;opacity:.7}
@media(max-width:760px){.wpcie-chat-panel{right:6px;top:calc(100% + 4px);width:min(350px,calc(100vw - 12px))}}

/* v3.6 Adaptive / compact global header: never consume a full page header while scrolling */
.wpcie-global-header{transition:box-shadow .28s ease,background .28s ease,transform .28s ease!important}
.wpcie-head-main{transition:opacity .22s ease,transform .28s ease,max-height .32s ease,padding .28s ease!important;overflow:visible}
.wpcie-header-compact-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%) scale(.88);width:46px;height:46px;border-radius:50%;padding:0;border:2px solid var(--wpc-head-gold);background:rgba(255,255,255,.94);box-shadow:0 8px 24px rgba(0,0,0,.16);display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .22s ease,transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .2s ease;z-index:8}
.wpcie-header-compact-toggle img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.wpcie-header-compact-toggle .dashicons{font-size:24px;width:24px;height:24px;color:var(--wpc-head-green)}
.wpcie-header-compact-toggle:hover{transform:translateY(-50%) scale(1.04);box-shadow:0 10px 28px rgba(0,0,0,.2)}
.wpcie-global-header.wpcie-is-compact .wpcie-head-main{opacity:0;pointer-events:none;transform:translateY(-12px);max-height:0!important;min-height:0!important;height:0!important;padding-top:0!important;padding-bottom:0!important;overflow:hidden!important}
.wpcie-global-header.wpcie-is-compact .wpcie-header-compact-toggle{opacity:1;pointer-events:auto;transform:translateY(-50%) scale(1)}
.wpcie-global-header.wpcie-is-compact{min-height:60px!important}
.wpcie-global-header.wpcie-is-compact .wpcie-notif-panel,.wpcie-global-header.wpcie-is-compact .wpcie-chat-panel{display:none!important}
.wpcie-global-header.wpcie-is-compact .wpcie-header-compact-toggle:focus-visible{outline:3px solid rgba(163,126,44,.28);outline-offset:3px}
.wpcie-global-header.wpcie-is-expanded .wpcie-header-compact-toggle{opacity:0;pointer-events:none}
@media(max-width:760px){
 .wpcie-header-compact-toggle{right:8px;width:42px;height:42px}
 .wpcie-global-header.wpcie-is-compact{min-height:52px!important}
}
@media(prefers-reduced-motion:reduce){.wpcie-global-header,.wpcie-head-main,.wpcie-header-compact-toggle{transition:none!important}}
/* v3.7 customer profile/account drawer */
.wpcie-profile-trigger{appearance:none!important;-webkit-appearance:none!important;cursor:pointer!important;padding:0!important}
.wpcie-profile-panel{position:absolute!important;right:10px!important;top:calc(100% + 7px)!important;width:min(380px,calc(100vw - 20px));background:rgba(255,255,255,.97);backdrop-filter:blur(20px) saturate(150%);-webkit-backdrop-filter:blur(20px) saturate(150%);border:1px solid rgba(163,126,44,.42);border-radius:20px;box-shadow:0 20px 55px rgba(0,0,0,.2);display:none;overflow:hidden;z-index:30}
.wpcie-profile-panel.is-open{display:block;animation:wpcieProfileIn .22s cubic-bezier(.2,.8,.2,1)}
.wpcie-profile-head{display:flex;align-items:center;gap:11px;padding:14px 15px;border-bottom:1px solid rgba(0,0,0,.07);color:var(--wpc-head-green)}
.wpcie-profile-head img{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid var(--wpc-head-gold);flex:0 0 auto}.wpcie-profile-head>div{min-width:0;flex:1}.wpcie-profile-head strong{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wpcie-profile-head small{display:block;margin-top:3px;opacity:.62;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wpcie-profile-close{border:0;background:transparent;font-size:25px;line-height:1;cursor:pointer;color:#666}
.wpcie-profile-options{padding:11px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.wpcie-profile-option{display:flex;align-items:center;gap:9px;min-height:48px;padding:10px 11px;border-radius:14px;border:1px solid rgba(163,126,44,.2);background:rgba(255,255,255,.8);color:#222!important;text-decoration:none!important;font-weight:800;font-size:12px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,color .18s ease,background .18s ease}.wpcie-profile-option:hover,.wpcie-profile-option:focus-visible{transform:translateY(-1px);border-color:var(--wpc-head-active,#A37E2C);background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.08);color:var(--wpc-head-active,#A37E2C)!important;outline:none}.wpcie-profile-option .dashicons{width:20px;height:20px;font-size:20px;color:var(--wpc-head-green)}.wpcie-profile-option:hover .dashicons{color:var(--wpc-head-active,#A37E2C)}.wpcie-profile-logout{grid-column:1/-1}.wpcie-profile-logout .dashicons{color:#b12b2b}
@keyframes wpcieProfileIn{from{opacity:0;transform:translateY(-7px) scale(.98)}to{opacity:1;transform:none}}
/* profile panel remains available in compact mode */
@media(max-width:760px){.wpcie-profile-panel{right:6px;width:min(360px,calc(100vw - 12px));top:calc(100% + 4px)}.wpcie-profile-options{grid-template-columns:1fr 1fr}.wpcie-profile-option{min-height:45px}}

/* v4.3 adaptive header: Home full; all other pages avatar-only until clicked. */
.wpcie-global-header{--wpc-header-height:80px}
.wpcie-global-header.wpcie-home-page{
 position:fixed!important;top:var(--wp-admin--admin-bar--height,0px)!important;left:0!important;right:0!important;
 background:var(--wpc-head-bg,rgba(255,255,255,.72))!important;
 backdrop-filter:blur(var(--wpc-head-blur,18px)) saturate(150%)!important;
 -webkit-backdrop-filter:blur(var(--wpc-head-blur,18px)) saturate(150%)!important;
 min-height:58px!important;z-index:100000!important;
}
.wpcie-global-header.wpcie-other-page{
 position:fixed!important;top:var(--wp-admin--admin-bar--height,0px)!important;left:0!important;right:0!important;
 z-index:100000!important;min-height:0!important;background:transparent!important;border:0!important;box-shadow:none!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;pointer-events:none!important;height:0!important;
}
.wpcie-global-header.wpcie-other-page .wpcie-head-main{opacity:0!important;visibility:hidden!important;pointer-events:none!important;height:0!important;max-height:0!important;overflow:hidden!important;transform:translateY(-12px)!important}
.wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle{
 display:flex!important;position:fixed!important;left:14px!important;right:auto!important;
 top:calc(var(--wp-admin--admin-bar--height,0px) + 10px)!important;
 width:50px!important;height:50px!important;margin:0!important;padding:0!important;
 border:0!important;background:transparent!important;box-shadow:none!important;pointer-events:auto!important;
 align-items:center!important;justify-content:center!important;overflow:hidden!important;
 transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .2s ease!important;
}
.wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle img{
 width:50px!important;height:50px!important;border-radius:50%!important;object-fit:cover!important;border:0!important;
 box-shadow:none!important;background:transparent!important;
}
.wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle .dashicons{
 width:50px!important;height:50px!important;display:flex!important;align-items:center!important;justify-content:center!important;
 border-radius:50%!important;background:transparent!important;border:0!important;font-size:26px!important;
}
.wpcie-global-header.wpcie-other-page.wpcie-expanded{
 height:auto!important;min-height:58px!important;background:var(--wpc-head-bg,rgba(255,255,255,.72))!important;
 backdrop-filter:blur(var(--wpc-head-blur,18px)) saturate(150%)!important;
 -webkit-backdrop-filter:blur(var(--wpc-head-blur,18px)) saturate(150%)!important;
 pointer-events:auto!important;
}
.wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-head-main{
 opacity:1!important;visibility:visible!important;pointer-events:auto!important;height:auto!important;max-height:none!important;
 transform:translateY(0)!important;overflow:visible!important;
}
.wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-header-compact-toggle{display:none!important}
.wpcie-head-main{transition:opacity .24s ease,transform .28s ease,visibility .24s ease}
.wpcie-header-compact-toggle{display:none}
.wpcie-global-header.wpcie-home-page .wpcie-header-compact-toggle{display:none!important}
.wpcie-global-header.wpcie-other-page.wpcie-compact .wpcie-notif-panel,
.wpcie-global-header.wpcie-other-page.wpcie-compact .wpcie-chat-panel{display:none!important}
@media(max-width:700px){
 .wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle{left:10px!important;top:calc(var(--wp-admin--admin-bar--height,0px) + 8px)!important;width:46px!important;height:46px!important}
 .wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle img,
 .wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle .dashicons{width:46px!important;height:46px!important}
}
@media(prefers-reduced-motion:reduce){.wpcie-head-main,.wpcie-header-compact-toggle{transition:none!important}}

/* v4.5: inner-page avatar switch + electric ring.
 * The avatar remains visible on the left with no background.
 * It toggles the complete header open/closed without opening the profile drawer.
 */
.wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle{
 position:fixed!important;left:12px!important;right:auto!important;
 top:calc(var(--wp-admin--admin-bar--height,0px) + 10px)!important;
 width:54px!important;height:54px!important;margin:0!important;padding:3px!important;
 border:0!important;border-radius:50%!important;background:transparent!important;
 box-shadow:none!important;pointer-events:auto!important;display:flex!important;
 align-items:center!important;justify-content:center!important;overflow:visible!important;
 z-index:100003!important;cursor:pointer!important;
 transition:transform .25s ease,filter .25s ease!important;
}
.wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle::before,
.wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle::after{
 content:"";position:absolute;inset:-2px;border-radius:50%;pointer-events:none;
}
.wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle::before{
 border:1.5px solid rgba(163,126,44,.92);
 box-shadow:0 0 5px rgba(163,126,44,.85),0 0 13px rgba(0,96,57,.58),inset 0 0 7px rgba(163,126,44,.35);
 animation:wpcieElectricPulse 1.65s ease-in-out infinite;
}
.wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle::after{
 inset:-6px;border:1px dashed rgba(0,96,57,.82);
 box-shadow:0 0 8px rgba(0,96,57,.55),0 0 15px rgba(163,126,44,.35);
 animation:wpcieElectricSpin 2.8s linear infinite;
}
.wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle:hover{transform:scale(1.05);filter:brightness(1.06)}
.wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle img{
 width:48px!important;height:48px!important;border-radius:50%!important;object-fit:cover!important;
 border:1px solid rgba(163,126,44,.72)!important;box-shadow:0 0 9px rgba(0,96,57,.42)!important;
 background:transparent!important;display:block!important;position:relative;z-index:1;
}
.wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle .dashicons{
 width:48px!important;height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;
 border-radius:50%!important;background:transparent!important;border:1px solid rgba(163,126,44,.72)!important;
 font-size:25px!important;color:var(--wpc-head-green,#006039)!important;position:relative;z-index:1;
}
.wpcie-global-header.wpcie-other-page.wpcie-compact{pointer-events:none!important}
.wpcie-global-header.wpcie-other-page.wpcie-compact .wpcie-header-compact-toggle{pointer-events:auto!important}
.wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-header-compact-toggle{
 display:flex!important;pointer-events:auto!important;
 top:calc(var(--wp-admin--admin-bar--height,0px) + 10px)!important;
}
.wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-head-main{padding-left:76px!important}
.wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-profile-panel{
 pointer-events:auto!important;z-index:100002!important;
}
@keyframes wpcieElectricPulse{
 0%,100%{opacity:.72;transform:scale(.98)}50%{opacity:1;transform:scale(1.035)}
}
@keyframes wpcieElectricSpin{to{transform:rotate(360deg)}}
@media(max-width:700px){
 .wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle{
  left:9px!important;top:calc(var(--wp-admin--admin-bar--height,0px) + 8px)!important;width:50px!important;height:50px!important;
 }
 .wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle img,
 .wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle .dashicons{width:44px!important;height:44px!important}
 .wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-head-main{padding-left:66px!important}
}
/* v4.6: customer account/profile panel must remain visible and usable on every page. */
.wpcie-global-header .wpcie-profile-panel{
 position:absolute!important;
 right:10px!important;
 top:calc(100% + 8px)!important;
 width:min(390px,calc(100vw - 20px))!important;
 max-height:min(72vh,620px)!important;
 overflow:auto!important;
 z-index:100005!important;
}
.wpcie-global-header.wpcie-home-page .wpcie-profile-panel,
.wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-profile-panel{
 display:none!important;
}
.wpcie-global-header .wpcie-profile-panel.is-open{
 display:block!important;
 visibility:visible!important;
 opacity:1!important;
 pointer-events:auto!important;
}
.wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-profile-trigger{
 position:relative!important;
 z-index:100006!important;
}
.wpcie-profile-head strong{font-weight:900!important;color:var(--wpc-head-green,#006039)!important}
.wpcie-profile-head small{color:#333!important}
@media(max-width:700px){
 .wpcie-global-header .wpcie-profile-panel{right:6px!important;width:min(370px,calc(100vw - 12px))!important;top:calc(100% + 6px)!important;max-height:75vh!important}
}

@media(prefers-reduced-motion:reduce){
 .wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle::before,
 .wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle::after{animation:none!important}
}

/* v4.7 definitive customer profile visibility fix.
 * The Compte client icon must open the customer information panel on Home
 * and after the inner-page electric avatar has opened the full header.
 */
.wpcie-global-header .wpcie-profile-panel.is-open,
.wpcie-global-header.wpcie-home-page .wpcie-profile-panel.is-open,
.wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-profile-panel.is-open{
 display:block!important;
 visibility:visible!important;
 opacity:1!important;
 pointer-events:auto!important;
 z-index:100010!important;
}
.wpcie-global-header .wpcie-profile-panel.is-open .wpcie-profile-head,
.wpcie-global-header .wpcie-profile-panel.is-open .wpcie-profile-options{
 visibility:visible!important;
 opacity:1!important;
}
.wpcie-global-header.wpcie-home-page .wpcie-profile-panel.is-open{
 top:calc(100% + 8px)!important;
}
.wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-profile-panel.is-open{
 top:calc(100% + 8px)!important;
}

/* v4.8 definitive page-aware header behavior.
 * Inner/service pages use zero-height header space so the content is never pushed down.
 * The floating customer avatar/profile control is always anchored top-right.
 */
.wpcie-global-header.wpcie-header-hidden,
.wpcie-global-header.wpcie-other-page.wpcie-header-hidden{
 position:fixed!important;
 top:var(--wp-admin--admin-bar--height,0px)!important;
 left:0!important;right:0!important;
 width:100%!important;height:0!important;min-height:0!important;
 padding:0!important;margin:0!important;
 background:transparent!important;border:0!important;box-shadow:none!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 pointer-events:none!important;z-index:100000!important;
}
.wpcie-global-header.wpcie-header-hidden .wpcie-head-main{
 display:none!important;opacity:0!important;visibility:hidden!important;
 pointer-events:none!important;height:0!important;max-height:0!important;
 overflow:hidden!important;transform:none!important;
}
.wpcie-global-header.wpcie-header-hidden .wpcie-header-compact-toggle{
 display:flex!important;position:fixed!important;
 top:calc(var(--wp-admin--admin-bar--height,0px) + 10px)!important;
 right:12px!important;left:auto!important;
 width:50px!important;height:50px!important;
 margin:0!important;padding:3px!important;
 border:0!important;border-radius:50%!important;
 background:transparent!important;box-shadow:none!important;
 pointer-events:auto!important;align-items:center!important;justify-content:center!important;
 overflow:visible!important;z-index:100003!important;cursor:pointer!important;
 transform:none!important;opacity:1!important;
}
.wpcie-global-header.wpcie-header-hidden .wpcie-header-compact-toggle::before,
.wpcie-global-header.wpcie-header-hidden .wpcie-header-compact-toggle::after{
 content:"";position:absolute;pointer-events:none;border-radius:50%;
}
.wpcie-global-header.wpcie-header-hidden .wpcie-header-compact-toggle::before{
 inset:-2px;border:1.5px solid rgba(163,126,44,.92);
 box-shadow:0 0 5px rgba(163,126,44,.75),0 0 13px rgba(0,96,57,.45);
}
.wpcie-global-header.wpcie-header-hidden .wpcie-header-compact-toggle::after{
 inset:-5px;border:1px solid rgba(0,96,57,.42);
}
.wpcie-global-header.wpcie-header-hidden .wpcie-header-compact-toggle img,
.wpcie-global-header.wpcie-header-hidden .wpcie-header-compact-toggle .dashicons{
 width:44px!important;height:44px!important;border-radius:50%!important;
 object-fit:cover!important;display:flex!important;align-items:center!important;justify-content:center!important;
 border:1px solid rgba(163,126,44,.72)!important;
 background:#fff!important;color:var(--wpc-head-green,#006039)!important;
 box-shadow:0 5px 16px rgba(0,0,0,.16)!important;
 position:relative;z-index:1;
}
.wpcie-global-header.wpcie-header-hidden .wpcie-profile-panel{
 position:fixed!important;
 top:calc(var(--wp-admin--admin-bar--height,0px) + 70px)!important;
 right:12px!important;left:auto!important;
 width:min(380px,calc(100vw - 24px))!important;
 max-height:min(72vh,620px)!important;
 overflow:auto!important;
 z-index:100010!important;
}
.wpcie-global-header.wpcie-header-hidden .wpcie-profile-panel.is-open{display:block!important;pointer-events:auto!important}
body{--wpcie-global-header-height:0px}
@media(max-width:760px){
 .wpcie-global-header.wpcie-header-hidden .wpcie-header-compact-toggle{
  top:calc(var(--wp-admin--admin-bar--height,0px) + 8px)!important;
  right:8px!important;width:48px!important;height:48px!important;
 }
 .wpcie-global-header.wpcie-header-hidden .wpcie-header-compact-toggle img,
 .wpcie-global-header.wpcie-header-hidden .wpcie-header-compact-toggle .dashicons{width:42px!important;height:42px!important}
 .wpcie-global-header.wpcie-header-hidden .wpcie-profile-panel{
  top:calc(var(--wp-admin--admin-bar--height,0px) + 64px)!important;
  right:8px!important;width:min(370px,calc(100vw - 16px))!important;
 }
}
/* Full-header inner pages: compact state is still zero-height; the right avatar is the only visible control. */
.wpcie-global-header.wpcie-other-page.wpcie-compact:not(.wpcie-header-hidden){
 height:0!important;min-height:0!important;background:transparent!important;border:0!important;box-shadow:none!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;pointer-events:none!important;
}
.wpcie-global-header.wpcie-other-page.wpcie-compact .wpcie-header-compact-toggle{
 left:auto!important;right:12px!important;top:calc(var(--wp-admin--admin-bar--height,0px) + 10px)!important;
 pointer-events:auto!important;display:flex!important;width:50px!important;height:50px!important;
}
.wpcie-global-header.wpcie-other-page.wpcie-compact .wpcie-header-compact-toggle img,
.wpcie-global-header.wpcie-other-page.wpcie-compact .wpcie-header-compact-toggle .dashicons{width:44px!important;height:44px!important}
@media(max-width:700px){
 .wpcie-global-header.wpcie-other-page.wpcie-compact .wpcie-header-compact-toggle{
  left:auto!important;right:8px!important;top:calc(var(--wp-admin--admin-bar--height,0px) + 8px)!important;
  width:48px!important;height:48px!important;
 }
}

/* v4.9 definitive header layout correction
 * - Full header participates in normal document flow at the top.
 * - Sticky behavior keeps it above content only after scrolling.
 * - Inner pages start with only the WordPress profile/avatar at top-right.
 * - No artificial body padding and no oversized mobile header.
 */
:root{--wpcie-head-h-desktop:58px;--wpcie-head-h-mobile:52px}
.wpcie-global-header{
 position:sticky!important;
 top:var(--wp-admin--admin-bar--height,0px)!important;
 left:auto!important;right:auto!important;width:100%!important;
 min-height:var(--wpcie-head-h-desktop)!important;height:auto!important;
 box-sizing:border-box!important;
 z-index:100000!important;
 margin:0!important;
}
body{padding-top:0!important}
.wpcie-head-main{
 min-height:var(--wpcie-head-h-desktop)!important;
 height:var(--wpcie-head-h-desktop)!important;
 padding:4px var(--wpcie-head-pad,12px)!important;
 gap:var(--wpcie-head-gap,8px)!important;
 box-sizing:border-box!important;
}
.wpcie-global-header.wpcie-home-page,
.wpcie-global-header.wpcie-other-page.wpcie-expanded{
 position:sticky!important;
 min-height:var(--wpcie-head-h-desktop)!important;
 background:var(--wpc-head-bg,rgba(255,255,255,.72))!important;
 backdrop-filter:blur(var(--wpc-head-blur,18px)) saturate(150%)!important;
 -webkit-backdrop-filter:blur(var(--wpc-head-blur,18px)) saturate(150%)!important;
 box-shadow:var(--wpcie-head-shadow,0 4px 18px rgba(0,0,0,.07))!important;
 border-bottom:1px solid rgba(163,126,44,.22)!important;
 pointer-events:auto!important;
}
.wpcie-global-header.wpcie-other-page.wpcie-compact,
.wpcie-global-header.wpcie-other-page.wpcie-header-hidden{
 position:fixed!important;
 top:var(--wp-admin--admin-bar--height,0px)!important;
 left:0!important;right:0!important;width:100%!important;
 height:0!important;min-height:0!important;
 padding:0!important;margin:0!important;
 background:transparent!important;border:0!important;box-shadow:none!important;
 pointer-events:none!important;
 z-index:100000!important;
}
.wpcie-global-header.wpcie-other-page.wpcie-compact .wpcie-head-main,
.wpcie-global-header.wpcie-other-page.wpcie-header-hidden .wpcie-head-main{
 display:none!important;
}
.wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle{
 left:auto!important;right:12px!important;
 top:calc(var(--wp-admin--admin-bar--height,0px) + 7px)!important;
 width:44px!important;height:44px!important;
 z-index:100003!important;
}
.wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle img,
.wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle .dashicons{
 width:38px!important;height:38px!important;
}
.wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-header-compact-toggle{
 right:12px!important;left:auto!important;
}
.wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-head-main{
 padding-left:12px!important;padding-right:68px!important;
}
.wpcie-global-header.wpcie-home-page .wpcie-header-compact-toggle{display:none!important}

/* compact profile/avatar: no visual block around it */
.wpcie-global-header.wpcie-other-page.wpcie-compact .wpcie-header-compact-toggle,
.wpcie-global-header.wpcie-other-page.wpcie-header-hidden .wpcie-header-compact-toggle{
 display:flex!important;
 background:transparent!important;
 box-shadow:none!important;
 border:0!important;
}
.wpcie-global-header.wpcie-other-page.wpcie-compact .wpcie-header-compact-toggle::before,
.wpcie-global-header.wpcie-other-page.wpcie-compact .wpcie-header-compact-toggle::after,
.wpcie-global-header.wpcie-other-page.wpcie-header-hidden .wpcie-header-compact-toggle::before,
.wpcie-global-header.wpcie-other-page.wpcie-header-hidden .wpcie-header-compact-toggle::after{
 inset:-1px!important;
}
.wpcie-header-close{
 position:absolute!important;
 right:10px!important;
 top:50%!important;
 transform:translateY(-50%)!important;
 width:36px!important;height:36px!important;
 display:none;
 align-items:center!important;justify-content:center!important;
 border:1px solid rgba(163,126,44,.3)!important;
 border-radius:50%!important;
 background:rgba(255,255,255,.82)!important;
 color:var(--wpc-head-green,#006039)!important;
 cursor:pointer!important;
 z-index:100006!important;
}
.wpcie-header-close .dashicons{font-size:20px!important;width:20px!important;height:20px!important}
.wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-header-close{display:flex!important}
.wpcie-global-header.wpcie-home-page .wpcie-header-close{display:none!important}
.wpcie-global-header.wpcie-home-page .wpcie-head-main{box-shadow:none!important}
.wpcie-global-header.wpcie-is-scrolling .wpcie-head-main{
 box-shadow:0 5px 22px rgba(0,0,0,.08);
}
@media(max-width:760px){
 :root{--wpcie-head-h-mobile:52px}
 .wpcie-global-header,
 .wpcie-global-header.wpcie-home-page,
 .wpcie-global-header.wpcie-other-page.wpcie-expanded{min-height:var(--wpcie-head-h-mobile)!important}
 .wpcie-head-main{min-height:var(--wpcie-head-h-mobile)!important;height:var(--wpcie-head-h-mobile)!important;padding:3px var(--wpcie-head-pad,8px)!important;gap:var(--wpcie-head-gap,6px)!important}
 .wpcie-global-header.wpcie-home-page .wpcie-head-search{height:36px!important}
 .wpcie-global-header.wpcie-home-page .wpcie-head-btn{width:34px!important;height:34px!important}
 .wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle{right:8px!important;top:calc(var(--wp-admin--admin-bar--height,0px) + 5px)!important;width:42px!important;height:42px!important}
 .wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle img,
 .wpcie-global-header.wpcie-other-page .wpcie-header-compact-toggle .dashicons{width:36px!important;height:36px!important}
 .wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-head-main{padding-right:56px!important;padding-left:8px!important}
 .wpcie-header-close{right:7px!important;width:32px!important;height:32px!important}
}

/* v5.0 — final layout correction: mobile header occupies real document space. */
.wpcie-global-header.wpcie-sticky-disabled{position:relative!important;top:auto!important}
.wpcie-global-header.wpcie-home-page{box-sizing:border-box!important;overflow:visible!important}
@media(max-width:760px){
  .wpcie-global-header.wpcie-home-page,
  .wpcie-global-header.wpcie-other-page.wpcie-expanded{
    min-height:var(--wpcie-head-h-mobile,96px)!important;
    height:var(--wpcie-head-h-mobile,96px)!important;
    position:sticky!important;
    overflow:visible!important;
  }
  .wpcie-global-header.wpcie-home-page .wpcie-head-main,
  .wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-head-main{
    height:var(--wpcie-head-h-mobile,96px)!important;
    min-height:var(--wpcie-head-h-mobile,96px)!important;
    display:grid!important;
    grid-template-columns:1fr auto!important;
    grid-template-rows:42px 40px!important;
    gap:5px!important;
    padding:3px var(--wpcie-head-pad,8px) 5px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  .wpcie-global-header.wpcie-home-page .wpcie-head-brand,
  .wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-head-brand{grid-column:1!important;grid-row:1!important;min-width:0!important}
  .wpcie-global-header.wpcie-home-page .wpcie-head-brand img{width:32px!important;height:32px!important}
  .wpcie-global-header.wpcie-home-page .wpcie-head-brand span{display:none!important}
  .wpcie-global-header.wpcie-home-page .wpcie-head-actions,
  .wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-head-actions{
    position:static!important;grid-column:2!important;grid-row:1!important;justify-self:end!important;display:flex!important;align-items:center!important;gap:var(--wpcie-head-gap,7px)!important;
  }
  .wpcie-global-header.wpcie-home-page .wpcie-head-btn,
  .wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-head-btn{width:36px!important;height:36px!important;flex:0 0 36px!important}
  .wpcie-global-header.wpcie-home-page .wpcie-head-search,
  .wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-head-search{
    grid-column:1/-1!important;grid-row:2!important;width:100%!important;height:40px!important;min-height:40px!important;box-sizing:border-box!important;margin:0!important;
  }
  .wpcie-global-header.wpcie-home-page .wpcie-header-compact-toggle{display:none!important}
  .wpcie-global-header.wpcie-home-page .wpcie-profile-panel{top:calc(100% + 6px)!important}
}
/* The avatar-only inner-page state must not reserve space or cover page content. */
.wpcie-global-header.wpcie-other-page.wpcie-compact,
.wpcie-global-header.wpcie-other-page.wpcie-header-hidden{height:0!important;min-height:0!important;overflow:visible!important}


/* v5.1 — FINAL anti-overlap header architecture.
 * At page top the header is NORMAL FLOW (never covers page content).
 * Once the user scrolls, JS switches it to FIXED and a spacer preserves
 * the exact occupied height. Content can therefore pass underneath it.
 */
.wpcie-global-header.wpcie-flow-top{
  position:relative!important;
  top:auto!important;left:auto!important;right:auto!important;
  width:100%!important;
}
.wpcie-global-header.wpcie-flow-fixed{
  position:fixed!important;
  top:var(--wp-admin--admin-bar--height,0px)!important;
  left:0!important;right:0!important;width:100%!important;
  z-index:2147483647!important;
}
.wpcie-header-spacer{display:block!important;width:100%!important;height:0!important;margin:0!important;padding:0!important;pointer-events:none!important;}
.wpcie-global-header.wpcie-flow-fixed + .wpcie-header-spacer{height:var(--wpcie-flow-height,0px)!important;}

/* Mobile: the two header rows must determine the real box height.
 * Never force a 52px container around an 82–95px two-row header.
 */
@media(max-width:760px){
  .wpcie-global-header.wpcie-home-page,
  .wpcie-global-header.wpcie-other-page.wpcie-expanded{
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  .wpcie-global-header.wpcie-home-page .wpcie-head-main,
  .wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-head-main{
    height:auto!important;
    min-height:0!important;
    grid-template-rows:42px 40px!important;
    padding:3px var(--wpcie-head-pad,8px) 5px!important;
    gap:5px!important;
    box-sizing:border-box!important;
  }
  .wpcie-global-header.wpcie-home-page .wpcie-head-search,
  .wpcie-global-header.wpcie-other-page.wpcie-expanded .wpcie-head-search{
    position:relative!important;
    grid-row:2!important;
    height:40px!important;
    min-height:40px!important;
    width:100%!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
}

/* Remove the legacy global body reservation. The spacer above is the only
 * element responsible for preserving header height while fixed-on-scroll.
 */
body{padding-top:0!important;margin-top:0!important;}
