/* Scoped to the four customer-zone pages. No global theme overrides. */
.bpem-zone .em-page{min-width:0;max-width:1100px;box-sizing:border-box;overflow-wrap:anywhere}
.bpem-z-content{min-width:0;max-width:100%;color:#19191b;line-height:1.55}
.bpem-z-content *{box-sizing:border-box}
.bpem-z-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(84px,150px);align-items:center;gap:clamp(12px,3vw,28px);padding:clamp(16px,3.8vw,32px);border:2px solid #19191b;border-radius:12px;box-shadow:4px 5px 0 #19191b;margin:8px 5px 28px 0;background:radial-gradient(circle at 2px 2px,rgba(25,25,27,.12) 1px,transparent 1.4px) 0 0/9px 9px,#ffdf28;color:#19191b;min-width:0}
.bpem-z-hero.bpem-z-library{background-color:#0866cb;color:white;background-image:radial-gradient(circle at 2px 2px,rgba(255,255,255,.17) 1px,transparent 1.4px)}
.bpem-z-hero h2,.bpem-zone .em-page .bpem-z-hero h2{color:inherit;font-size:clamp(23px,3.4vw,36px);line-height:1.12;margin:12px 0;font-weight:850;letter-spacing:-.02em}
.bpem-z-hero p{margin:0;max-width:64ch;font-size:clamp(14px,1.8vw,17px)}
.bpem-z-tag{display:inline-block;background:#19191b;color:white;padding:5px 10px;border-radius:4px;font-size:12px;font-weight:800;letter-spacing:.04em;line-height:1.3}
.bpem-z-art{display:grid;place-items:center;aspect-ratio:1;border:3px solid #19191b;border-radius:50%;background:#fffaf0;color:#0866cb;box-shadow:4px 5px 0 #19191b;transform:rotate(-7deg);max-width:100%}
.bpem-z-art svg{width:63%;height:auto}.bpem-z-cart .bpem-z-art{color:#b71124}
.bpem-z-tiles,.bpem-z-issues{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 5px 28px 0;align-items:stretch}
.bpem-z-tile,.bpem-z-issue{min-width:0;border:2px solid #19191b;border-radius:10px;background:#fff9e2;padding:16px;box-shadow:3px 4px 0 #19191b;color:#19191b;text-align:left;text-decoration:none;display:flex;flex-direction:column;gap:9px;overflow-wrap:anywhere}
.bpem-z-tile svg{width:34px;height:34px;color:#0866cb}.bpem-z-tile strong{font-size:clamp(16px,2vw,20px);line-height:1.2}.bpem-z-tile span{font-size:14px;line-height:1.45}
.bpem-z-tile:nth-child(2){background:#ffdf28}.bpem-z-tile:nth-child(3){background:#e8f1ff}
.bpem-z-legal,.bpem-z-empty{padding:clamp(16px,3vw,26px);border:2px solid #19191b;border-radius:10px;background:#fff9e2;box-shadow:3px 4px 0 #19191b;margin:24px 5px 18px 0;min-width:0}
.bpem-z-empty{text-align:center;background:#fffaf0}.bpem-z-empty>svg{color:#b71124;width:64px;height:64px;display:block;margin:auto}.bpem-z-empty h2,.bpem-z-legal h2,.bpem-zone .em-page .bpem-z-empty h2,.bpem-zone .em-page .bpem-z-legal h2{font-size:clamp(20px,3vw,27px);line-height:1.2;margin:10px 0}.bpem-z-legal p{margin:10px 0;font-size:14px}.bpem-z-links{font-size:14px;line-height:1.75}.bpem-z-links a{color:#073a87;text-decoration:underline;font-weight:700;display:inline-block}
.bpem-z-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:20px 0 4px}.bpem-z-btn,.bpem-zone .woocommerce :is(button.button,a.button,input.button),.bpem-zone .wc-block-components-button:not(.is-link){display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:10px 15px;box-sizing:border-box;border:2px solid #19191b;border-radius:7px;box-shadow:3px 3px 0 #19191b;background:#ffdf28;color:#19191b;font-weight:800;line-height:1.3;text-decoration:none;white-space:normal;overflow-wrap:anywhere;text-align:center}
.bpem-z-btn.bpem-z-blue,.bpem-zone .woocommerce :is(button.button.alt,a.button.alt){background:#0866cb;color:white}.bpem-zone .woocommerce :is(button.button,a.button,input.button):disabled,.bpem-zone .wc-block-components-button:disabled{background:#e5e5e5;color:#555;box-shadow:none;cursor:not-allowed}
.bpem-z-cover{display:grid;place-items:center;aspect-ratio:3/4;background:#e8f1ff;border:1px solid #19191b;border-radius:6px;overflow:hidden;padding:7px}.bpem-z-cover img{display:block;width:100%;height:100%;max-height:300px;object-fit:contain;object-position:center}.bpem-z-issue h3{margin:6px 0;font-size:clamp(16px,2vw,20px);line-height:1.25}.bpem-z-price{font-weight:850;font-size:17px;margin-top:auto}.bpem-z-issue .bpem-z-btn{align-self:stretch}
.bpem-zone .em-page :is(.woocommerce,.wc-block-cart,.wc-block-checkout,.bpeg-library,.bpeg-sub-library,.bpem-z-native){min-width:0;max-width:100%}
.bpem-zone .woocommerce :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea){max-width:100%;min-height:42px;border:2px solid #19191b;border-radius:6px;background:#fff;color:#19191b;padding:8px 11px}
.bpem-zone .woocommerce :is(input[type=checkbox],input[type=radio]){accent-color:#0866cb}
.bpem-zone .woocommerce :is(form.login,form.register,form.edit-account,.woocommerce-MyAccount-content){min-width:0;max-width:100%;padding:clamp(12px,2vw,22px);background:#fffdf5;border:2px solid #19191b;border-radius:10px;margin-bottom:16px}
.bpem-zone .woocommerce-MyAccount-navigation ul{padding:0;list-style:none;margin:0 12px 20px 0;display:grid;gap:7px}.bpem-zone .woocommerce-MyAccount-navigation li{margin:0}.bpem-zone .woocommerce-MyAccount-navigation a{display:block;background:#fff9e2;border:2px solid #19191b;border-radius:6px;padding:10px 12px;line-height:1.3;font-weight:750;color:#19191b;text-decoration:none}.bpem-zone .woocommerce-MyAccount-navigation .is-active a{background:#ffdf28}
.bpem-zone .woocommerce table.shop_table{max-width:100%;overflow-wrap:anywhere}.bpem-zone .woocommerce .woocommerce-MyAccount-content{overflow-x:auto}.bpem-zone .woocommerce .woocommerce-error,.bpem-zone .woocommerce .woocommerce-info,.bpem-zone .woocommerce .woocommerce-message{overflow-wrap:anywhere}
.bpem-zone .bpeg-library,.bpem-zone .bpeg-sub-issues{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.bpem-zone .bpeg-library .em-card,.bpem-zone .bpeg-sub-issue{min-width:0;box-sizing:border-box}.bpem-zone .bpeg-library img{display:block;width:100%;height:auto;max-height:300px;object-fit:contain}.bpem-zone .wc-block-cart .wc-block-cart-item__image img{object-fit:contain;aspect-ratio:2/3;height:auto}.bpem-zone .bpem-co-preview{max-width:100%}.bpem-zone .bpem-co-demo{grid-template-columns:minmax(0,1fr)}
.bpem-zone :is(.bpem-z-btn,.bpem-z-tile,.bpem-z-links a,.woocommerce-MyAccount-navigation a):focus-visible{outline:3px solid #0866cb;outline-offset:3px}
@media (hover:hover) and (prefers-reduced-motion:no-preference){.bpem-z-tile,.bpem-z-btn{transition:transform .16s ease,box-shadow .16s ease}.bpem-z-tile:hover,.bpem-z-btn:hover{transform:translate(-1px,-2px);box-shadow:5px 6px 0 #19191b}.bpem-z-tile:hover{color:#19191b}}
@media(max-width:850px){.bpem-z-tiles,.bpem-z-issues{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.bpem-zone .em-page{padding:clamp(12px,4vw,22px)}.bpem-z-hero{grid-template-columns:minmax(0,1fr) 64px;gap:10px;padding:14px}.bpem-z-art{border-width:2px;box-shadow:2px 3px 0 #19191b}.bpem-z-tiles,.bpem-z-issues,.bpem-zone .bpeg-library,.bpem-zone .bpeg-sub-issues{grid-template-columns:minmax(0,1fr);gap:12px}.bpem-z-actions{flex-direction:column}.bpem-z-actions .bpem-z-btn{width:100%}.bpem-zone .woocommerce-MyAccount-navigation,.bpem-zone .woocommerce-MyAccount-content{float:none;width:100%}.bpem-zone .woocommerce-MyAccount-navigation ul{margin-right:0}.bpem-zone .woocommerce .col2-set :is(.col-1,.col-2){float:none;width:100%}.bpem-zone .woocommerce .form-row{float:none;width:100%;min-width:0}.bpem-zone .bpem-co-panel,.bpem-zone .bpem-co-intro{padding:14px}.bpem-zone .bpem-co-submit{width:100%}}
@media(prefers-reduced-motion:reduce){.bpem-z-tile,.bpem-z-btn{transition:none}}
