/* EduPassion My Account 0.1.0 — CSS scoped to account screens only. */
body.epma-page{--epma-ink:#0f3045;--epma-teal:#266570;--epma-teal-dark:#155764;--epma-pale:#e9f5f7;--epma-subtle:#647f91;--epma-border:#e0ebed;--epma-shadow:0 9px 28px rgba(29,76,87,.055)}
body.epma-page .site-content{background:linear-gradient(180deg,#fbfeff 0,#fff 420px)}
body.epma-page .ast-container{max-width:1280px}
body.epma-page .entry-header .entry-title,body.epma-page .entry-header.ast-no-title{display:none!important}
body.epma-page .entry-content{margin-top:0}
body.epma-page .woocommerce:before,body.epma-page .woocommerce:after{display:none!important}
body.epma-page .entry-content>.woocommerce,
body.epma-page .entry-content>.wp-block-shortcode>.woocommerce,
body.epma-page .entry-content .woocommerce:has(>.epma-topline){display:grid;grid-template-columns:236px minmax(0,1fr);gap:20px 25px;align-items:start;max-width:1210px;margin:0 auto;padding:22px 16px 58px;color:var(--epma-ink)}
body.epma-page .woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1;min-height:0}
body.epma-page .woocommerce>.epma-topline{grid-column:1/-1;grid-row:auto}
body.epma-page .woocommerce>.woocommerce-MyAccount-navigation{grid-column:1;grid-row:auto}
body.epma-page .woocommerce>.woocommerce-MyAccount-content{grid-column:2;grid-row:auto;min-width:0;width:auto;float:none;margin:0;padding:0;font-size:15px}
body.epma-page .woocommerce a{color:var(--epma-teal)}
body.epma-page .woocommerce .epma-primary-btn,body.epma-page .woocommerce .epma-download-btn{color:#fff}
.epma-page .epma-svg{width:21px;height:21px;flex:none;display:inline-block;vertical-align:middle}
.epma-page .epma-topline{display:flex;align-items:center;gap:16px;padding:10px 0 12px}
.epma-page .epma-topline-icon{width:65px;height:65px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e6f4f6;color:#166577;flex-shrink:0}
.epma-page .epma-topline-icon .epma-svg{width:34px;height:34px}
.epma-page .epma-topline h1{font-size:34px!important;line-height:1.15!important;color:var(--epma-ink)!important;margin:0 0 6px!important;font-weight:800!important;letter-spacing:-.5px}
.epma-page .epma-topline-sub{font-size:23px;color:var(--epma-teal)}
.epma-page .epma-topline p{margin:0!important;color:#4a6b7b;font-size:16px}
.epma-page .woocommerce-MyAccount-navigation.epma-nav{float:none!important;width:auto!important;margin:0!important;padding:0!important;background:#fff;border:1px solid var(--epma-border);border-radius:16px;overflow:hidden;box-shadow:var(--epma-shadow)}
.epma-page .epma-nav ul{list-style:none!important;margin:0!important;padding:7px!important;display:flex;flex-direction:column;gap:3px}
.epma-page .epma-nav li{list-style:none!important;margin:0!important;padding:0!important;border:0!important;position:relative}
.epma-page .epma-nav li:before,.epma-page .epma-nav li:after{display:none!important}
.epma-page .epma-nav li a{display:flex!important;gap:13px;align-items:center;text-decoration:none!important;border:0!important;border-radius:10px;padding:13px 12px!important;color:#274a5e!important;font-size:15px;font-weight:600;line-height:1.4;background:transparent;box-shadow:none!important}
.epma-page .epma-nav li a:hover{color:var(--epma-teal)!important;background:#f0f8f9}
.epma-page .epma-nav li.is-active a,.epma-page .epma-nav li a[aria-current=page]{background:#e9f7f7!important;color:#14596b!important}
.epma-page .epma-nav li.is-active a:before,.epma-page .epma-nav li a[aria-current=page]:before{content:"";position:absolute;top:6px;bottom:6px;left:-7px;width:4px;border-radius:999px;background:#22859a}
.epma-page .woocommerce-MyAccount-content>*:first-child{margin-top:0!important}
.epma-page .epma-card{background:white;border:1px solid var(--epma-border);border-radius:15px;box-shadow:var(--epma-shadow)}
.epma-page .epma-dashboard,.epma-page .epma-library{display:flex;flex-direction:column;gap:19px}
.epma-page .epma-welcome{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:158px;padding:20px 24px;background:linear-gradient(105deg,#f5fbfe 0%,#fff 70%);overflow:hidden}
.epma-page .epma-welcome>div{max-width:565px;position:relative;z-index:1}
.epma-page .epma-welcome h2{font-size:29px;margin:0 0 10px;font-weight:800;color:var(--epma-ink)}
.epma-page .epma-welcome p{font-size:15px;line-height:1.65;margin:0;color:#4b6b80}
.epma-page .epma-welcome img{width:184px;max-width:35%;height:auto;object-fit:contain;align-self:end}
.epma-page .epma-stats,.epma-page .epma-links-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.epma-page .epma-stat{display:flex;align-items:center;gap:19px;min-height:142px;text-decoration:none!important;padding:22px;transition:transform .2s,border-color .2s}
.epma-page .epma-stat:hover,.epma-page .epma-link-card:hover{transform:translateY(-2px);border-color:#b8dadf}
.epma-page .epma-stat-icon,.epma-page .epma-link-icon{background:#e3f4f5;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#166b7d;border-radius:50%;width:66px;height:66px}
.epma-page .epma-stat-icon .epma-svg,.epma-page .epma-link-icon .epma-svg{height:32px;width:32px}
.epma-page .epma-stat-icon--warm{background:#fff0dc;color:#b87323}
.epma-page .epma-stat strong{display:block;font-size:37px;line-height:1.05;color:var(--epma-ink);font-weight:800}
.epma-page .epma-stat h3{font-size:17px;color:var(--epma-ink);margin:6px 0 10px;font-weight:700}
.epma-page .epma-stat div>span{color:var(--epma-teal);font-size:13px;text-decoration:underline;text-underline-offset:3px}
.epma-page .epma-recent{padding:19px 20px 0;overflow:hidden}
.epma-page .epma-card-title{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding-bottom:14px}
.epma-page .epma-card-title h2{font-size:22px;color:var(--epma-ink);font-weight:800;margin:0}
.epma-page .epma-card-title a{font-size:13px;text-decoration:none;font-weight:700;white-space:nowrap}
.epma-page .epma-recent-row{display:grid;grid-template-columns:80px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 0;border-top:1px solid #e8eff1}
.epma-page .epma-thumbwrap{width:80px;height:70px;overflow:hidden;border-radius:10px;background:#f1f6f8;border:1px solid var(--epma-border)}
.epma-page .epma-thumbwrap img{display:block;width:100%;height:100%;object-fit:cover}
.epma-page .epma-recent-info{min-width:0}
.epma-page .epma-recent-info h3{font-size:15px;line-height:1.3;font-weight:750;color:var(--epma-ink);margin:0 0 4px}
.epma-page .epma-recent-info p{color:#6b8494;font-size:12px;margin:0 0 3px;line-height:1.35}
.epma-page .epma-recent-info>span{font-size:13px;color:#2a6273;font-weight:600}
.epma-page .epma-dot{color:#a6b7bd;margin:0 3px}
.epma-page .epma-outline-btn{border:1px solid #8dc4cc!important;color:var(--epma-teal)!important;background:#fff!important;display:inline-flex;align-items:center;justify-content:center;gap:5px;border-radius:9px;padding:9px 12px;text-decoration:none!important;font-weight:700;font-size:13px;white-space:nowrap;transition:background .2s}
.epma-page .epma-outline-btn:hover{background:#eaf5f6!important}
.epma-page .epma-link-card{display:flex;align-items:flex-start;gap:16px;padding:20px;text-decoration:none!important;min-height:135px;transition:transform .2s,border-color .2s}
.epma-page .epma-link-icon{width:51px;height:51px}
.epma-page .epma-link-icon .epma-svg{width:27px;height:27px}
.epma-page .epma-link-icon--pink{background:#feebe4;color:#bb6b4b}
.epma-page .epma-link-card h3{font-size:17px;margin:0 0 7px;color:var(--epma-ink)}
.epma-page .epma-link-card p{font-size:13px;line-height:1.55;color:#617b8c;margin:0 0 9px}
.epma-page .epma-link-card div span{color:#266570;text-decoration:underline;text-underline-offset:2px;font-size:13px;font-weight:700}
.epma-page .epma-support{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:16px;align-items:center;padding:20px 18px;background:#e9f6fc;border:1px solid #d6ebf3;border-radius:14px}
.epma-page .epma-support-icon,.epma-page .epma-library-banner-icon{display:flex;align-items:center;justify-content:center;background:#b5e0ed;color:#13667d;border-radius:50%;width:54px;height:54px;flex-shrink:0}
.epma-page .epma-support-icon .epma-svg,.epma-page .epma-library-banner-icon .epma-svg{width:28px;height:28px}
.epma-page .epma-support h3{margin:0 0 6px;font-size:17px;color:var(--epma-ink)}
.epma-page .epma-support p{font-size:13px;line-height:1.6;color:#527185;margin:0}
.epma-page .epma-library-banner{background:#eaf6fc;border:1px solid #d6eafa;border-radius:12px;padding:15px 18px;display:flex;gap:15px;align-items:center}
.epma-page .epma-library-banner-icon{width:44px;height:44px}
.epma-page .epma-library-banner-icon .epma-svg{width:23px;height:23px}
.epma-page .epma-library-banner strong{display:block;font-size:14px;color:#175371;margin-bottom:5px}
.epma-page .epma-library-banner p{font-size:13px;color:#496c80;margin:0}
.epma-page .epma-library-tools{display:flex;gap:14px;align-items:center;justify-content:space-between;margin:0!important}
.epma-page .epma-searchfield{display:flex;align-items:center;gap:10px;position:relative;flex:1;border:1px solid #d3e3e8;border-radius:14px;background:#fff;padding:0 12px 0 15px;min-width:0;height:49px}
.epma-page .epma-searchfield>.epma-svg{color:#5f8192}
.epma-page .epma-searchfield input{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;min-width:0;width:100%;height:100%;margin:0!important;outline:0!important;padding:0!important;font-size:14px;color:#163d52}
.epma-page .epma-searchfield input:focus{box-shadow:none!important}
.epma-page .epma-searchfield:focus-within{border-color:#65adb7;box-shadow:0 0 0 3px rgba(38,101,112,.08)}
.epma-page .epma-search-submit{display:flex;align-items:center;justify-content:center;width:31px;height:31px;min-width:31px;background:none!important;border:0!important;color:var(--epma-teal)!important;padding:3px!important;cursor:pointer;box-shadow:none!important}
.epma-page .epma-search-submit:hover{background:#e6f5f6!important}
.epma-page .epma-sortlabel{display:flex;align-items:center;gap:9px;white-space:nowrap;color:#597589;font-size:13px}
.epma-page .epma-sortlabel select{border:1px solid #d3e3e8;border-radius:11px;background:#fff;min-height:47px;max-width:206px;padding:8px 13px;font-size:13px;color:#224459;margin:0}
.epma-page .epma-library-meta{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:#547284;margin-top:-3px}
.epma-page .epma-materials{display:flex;flex-direction:column;gap:13px}
.epma-page .epma-material{padding:0;overflow:hidden;transition:border-color .2s}
.epma-page .epma-material[open]{border-color:#d8e9eb}
.epma-page .epma-material-summary{list-style:none;display:grid;grid-template-columns:106px minmax(0,1fr) 28px;gap:14px;align-items:center;padding:16px 17px;cursor:pointer}
.epma-page .epma-material-summary::-webkit-details-marker{display:none}
.epma-page .epma-material-summary::marker{content:""}
.epma-page .epma-material-thumb{width:106px;height:92px;object-fit:cover;border-radius:12px;border:1px solid #e3ecef;background:#f0f5f6}
.epma-page .epma-material-heading{display:flex;flex-direction:column;gap:8px;min-width:0}
.epma-page .epma-material-heading strong{font-size:17px;line-height:1.35;color:var(--epma-ink);font-weight:800}
.epma-page .epma-material-heading>span{font-size:12px;line-height:1.6;color:#718798}
.epma-page .epma-accordion-icon{display:flex;align-items:center;justify-content:center;width:29px;height:29px;background:#edf4f6;border-radius:50%;color:var(--epma-teal)}
.epma-page .epma-accordion-icon .epma-svg{height:18px;width:18px;transition:transform .2s}
.epma-page .epma-material[open] .epma-accordion-icon .epma-svg{transform:rotate(180deg)}
.epma-page .epma-filelist{padding:0 17px 15px 137px}
.epma-page .epma-file-row{display:grid;grid-template-columns:31px minmax(0,1fr) auto;align-items:center;gap:10px;border-top:1px solid #eaf1f2;min-height:52px;padding:7px 0}
.epma-page .epma-file-icon{display:flex;align-items:center;justify-content:center;width:31px;height:31px;border-radius:8px;background:#f0f6f8;color:#266570}
.epma-page .epma-file-icon .epma-svg{width:19px;height:19px}
.epma-page .epma-file-info{display:flex;flex-direction:column;gap:1px;min-width:0}
.epma-page .epma-file-info>span{font-size:13px;color:#1e455d;font-weight:600;overflow-wrap:anywhere}
.epma-page .epma-file-info small{font-size:11px;color:#8298a5}
.epma-page .epma-download-btn{min-width:105px;display:flex;align-items:center;justify-content:center;gap:6px;background:#146879;border-radius:9px;padding:9px 13px;color:#fff!important;font-size:13px;font-weight:800;text-decoration:none!important;transition:background .2s}
.epma-page .epma-download-btn:hover{background:#0e5262}
.epma-page .epma-download-btn .epma-svg{height:17px;width:17px}
.epma-page .epma-pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:4px}
.epma-page .epma-pagination>*{min-width:36px;height:36px;padding:6px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;color:#266570;font-weight:700}
.epma-page .epma-pagination a{border:1px solid #e0ebed}
.epma-page .epma-pagination span[aria-current]{color:#fff;background:#266570}
.epma-page .epma-empty{padding:34px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.epma-page .epma-empty h2{font-size:22px;margin:0;color:var(--epma-ink)}
.epma-page .epma-empty p{margin:0;color:#5f7b8c}
.epma-page .epma-empty-icon{width:70px;height:70px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e8f5f7;color:var(--epma-teal)}
.epma-page .epma-empty-icon .epma-svg{height:35px;width:35px}
.epma-page .epma-primary-btn{display:inline-flex;align-items:center;justify-content:center;background:#266570;border-radius:10px;padding:12px 19px;color:#fff!important;font-weight:700;text-decoration:none!important;font-size:14px}
/* Native WooCommerce endpoints keep their original forms/actions with EduPassion skin. */
.epma-page .woocommerce-MyAccount-content>p{color:#587388;font-size:15px;line-height:1.65}
.epma-page .woocommerce-MyAccount-content .woocommerce-orders-table,.epma-page .woocommerce-MyAccount-content .woocommerce-table{width:100%;border:1px solid var(--epma-border);border-radius:12px;overflow:hidden}
.epma-page .woocommerce-MyAccount-content .woocommerce-orders-table th{background:#eaf6f8;color:#1c5b6b}
.epma-page .woocommerce-MyAccount-content .woocommerce-button,.epma-page .woocommerce-MyAccount-content button.button{border-radius:9px;background:#266570;color:white}
.epma-page .woocommerce-MyAccount-content input.input-text,.epma-page .woocommerce-MyAccount-content select,.epma-page .woocommerce-MyAccount-content textarea{border:1px solid #cbdee2;border-radius:9px}
.epma-page .woocommerce-MyAccount-content legend{font-weight:750;color:var(--epma-ink)}
@media(max-width:1050px){body.epma-page .entry-content>.woocommerce,body.epma-page .entry-content>.wp-block-shortcode>.woocommerce,body.epma-page .entry-content .woocommerce:has(>.epma-topline){grid-template-columns:195px minmax(0,1fr);gap:16px}.epma-page .epma-welcome img{width:145px}.epma-page .epma-stat{gap:11px;padding:17px}.epma-page .epma-stat-icon{width:54px;height:54px}.epma-page .epma-support{grid-template-columns:50px minmax(0,1fr)}.epma-page .epma-support .epma-outline-btn{grid-column:2;justify-self:start}}
@media(max-width:767px){body.epma-page .entry-content>.woocommerce,body.epma-page .entry-content>.wp-block-shortcode>.woocommerce,body.epma-page .entry-content .woocommerce:has(>.epma-topline){display:flex;flex-direction:column;gap:14px;padding:15px 11px 40px}body.epma-page .woocommerce>.epma-topline,body.epma-page .woocommerce>.woocommerce-MyAccount-navigation,body.epma-page .woocommerce>.woocommerce-MyAccount-content{width:100%;margin:0}.epma-page .epma-topline-icon{width:52px;height:52px}.epma-page .epma-topline-icon .epma-svg{width:28px;height:28px}.epma-page .epma-topline h1{font-size:27px!important}.epma-page .epma-topline-sub{font-size:19px}.epma-page .epma-topline p{font-size:14px}.epma-page .woocommerce-MyAccount-navigation.epma-nav{border:0;box-shadow:none;background:transparent;border-radius:0;overflow:visible}.epma-page .epma-nav ul{display:flex;flex-direction:row;flex-wrap:nowrap;overflow:auto;gap:6px;padding:4px 2px 8px!important;scrollbar-width:thin}.epma-page .epma-nav li{flex:0 0 auto}.epma-page .epma-nav li a{padding:9px 12px!important;font-size:13px;gap:7px;white-space:nowrap;background:#fff;border:1px solid #dfebee!important}.epma-page .epma-nav li a .epma-svg{width:16px;height:16px}.epma-page .epma-nav li.is-active a:before{display:none}.epma-page .epma-welcome{padding:18px;min-height:125px}.epma-page .epma-welcome h2{font-size:24px}.epma-page .epma-welcome p{font-size:13px}.epma-page .epma-welcome img{max-width:30%;width:108px}.epma-page .epma-dashboard,.epma-page .epma-library{gap:13px}.epma-page .epma-stats,.epma-page .epma-links-grid{gap:10px}.epma-page .epma-stat{flex-direction:column;align-items:flex-start;gap:8px;min-height:150px;padding:14px}.epma-page .epma-stat-icon{width:44px;height:44px}.epma-page .epma-stat-icon .epma-svg{width:23px;height:23px}.epma-page .epma-stat strong{font-size:29px}.epma-page .epma-stat h3{font-size:14px;margin:4px 0 8px}.epma-page .epma-stat div>span{font-size:11px}.epma-page .epma-card-title{align-items:center}.epma-page .epma-card-title h2{font-size:19px}.epma-page .epma-card-title a{font-size:12px}.epma-page .epma-recent{padding:15px 14px 0}.epma-page .epma-recent-row{grid-template-columns:57px minmax(0,1fr);gap:10px}.epma-page .epma-thumbwrap{width:57px;height:60px}.epma-page .epma-recent-info h3{font-size:13px}.epma-page .epma-recent-info p{font-size:11px}.epma-page .epma-recent-row>.epma-outline-btn{grid-column:2;justify-self:start;padding:6px 9px;font-size:11px}.epma-page .epma-link-card{padding:14px;flex-direction:column;gap:8px}.epma-page .epma-link-card h3{font-size:14px}.epma-page .epma-link-card p{font-size:12px}.epma-page .epma-support{grid-template-columns:43px minmax(0,1fr);padding:15px;gap:10px}.epma-page .epma-support-icon{width:43px;height:43px}.epma-page .epma-support h3{font-size:15px}.epma-page .epma-support .epma-outline-btn{grid-column:1/-1}.epma-page .epma-library-banner{padding:13px}.epma-page .epma-library-tools{flex-direction:column;align-items:stretch}.epma-page .epma-searchfield{flex:auto;width:100%}.epma-page .epma-sortlabel{justify-content:space-between}.epma-page .epma-material-summary{grid-template-columns:76px minmax(0,1fr) 27px;gap:9px;padding:12px}.epma-page .epma-material-thumb{width:76px;height:75px}.epma-page .epma-material-heading strong{font-size:14px}.epma-page .epma-material-heading>span{font-size:11px}.epma-page .epma-filelist{padding:0 12px 12px}.epma-page .epma-file-row{grid-template-columns:24px minmax(0,1fr) auto;gap:7px}.epma-page .epma-file-info>span{font-size:12px}.epma-page .epma-download-btn{padding:8px;min-width:40px}.epma-page .epma-download-btn span{display:none}.epma-page .epma-file-icon{height:26px;width:24px}.epma-page .epma-file-icon .epma-svg{width:16px;height:16px}}

.epma-page .epma-searchfield .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* 0.1.1 refinements */
.epma-page .entry-header,
.epma-page .woocommerce-breadcrumb,
.epma-page .page-title,
.epma-page h1.entry-title{display:none!important}
.epma-page .epma-topline{margin-top:0}
.epma-page .epma-topline p:empty{display:none}
.epma-page .epma-welcome{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px}
.epma-page .epma-welcome-badge{width:92px;height:92px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fbe9e3;color:#d07a54;flex:0 0 auto}
.epma-page .epma-welcome-badge .epma-svg{width:44px;height:44px}
.epma-page .site-footer .ast-footer-widget-area .footer-widget-area:last-child,
.epma-page .site-footer .footer-widget-area[data-section="sidebar-widgets-footer-widget-2"]{display:none!important}
.epma-page .woocommerce-MyAccount-content .woocommerce-orders-table__header-order-invoice,
.epma-page .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-invoice{text-align:center;white-space:nowrap}
.epma-page .epma-mini-btn{display:inline-flex;align-items:center;justify-content:center;min-width:92px;min-height:38px;padding:8px 12px;border-radius:9px;background:#266570;color:#fff!important;text-decoration:none!important;font-weight:700;font-size:13px;border:1px solid #266570}
.epma-page .epma-mini-btn:hover{background:#184957;border-color:#184957}
.epma-page .order-again{display:none!important}
.epma-page .woocommerce-MyAccount-content .edit-account fieldset{border:1px solid #dbe8eb;border-radius:16px;padding:18px 18px 6px;margin-top:20px}
.epma-page .epma-password-wrap{position:relative}
.epma-page .epma-password-wrap input{padding-right:60px!important}
.epma-page .epma-password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:12px;border:1px solid #cbdee2;background:#eef6f7;color:#266570!important;display:inline-flex;align-items:center;justify-content:center;padding:0!important;cursor:pointer;box-shadow:none!important}
.epma-page .epma-password-toggle:hover{background:#e2f1f3}
.epma-page .epma-password-toggle .dashicons{font-size:22px;width:22px;height:22px}
.epma-page .yith-wcwl-form .button,
.epma-page .yith-wcwl-form .add_to_cart.button,
.epma-page .wishlist_table .product-add-to-cart a,
.epma-page .wishlist_table .product-add-to-cart .button,
.epma-page .wishlist_table .product-add-to-cart a.button,
.epma-page .wishlist_table .product-add-to-cart .add_to_cart.button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px!important;border-radius:10px!important;background:#266570!important;color:#fff!important;border:1px solid #266570!important;opacity:1!important;visibility:visible!important;text-indent:0!important;box-shadow:none!important;font-weight:700!important;text-decoration:none!important}
.epma-page .yith-wcwl-form .button:hover,
.epma-page .yith-wcwl-form .add_to_cart.button:hover,
.epma-page .wishlist_table .product-add-to-cart a:hover,
.epma-page .wishlist_table .product-add-to-cart .button:hover{background:#184957!important;border-color:#184957!important;color:#fff!important}
@media(max-width:767px){
  .epma-page .epma-welcome{grid-template-columns:1fr;gap:12px}
  .epma-page .epma-welcome-badge{width:70px;height:70px}
  .epma-page .epma-welcome-badge .epma-svg{width:34px;height:34px}
}

/* ===== EduPassion My Account 0.1.2 – fixes based on Astra / WooCommerce DOM ===== */
/* This H1 comes from the original WordPress page content, not from our account header. */
body.epma-page #primary #main article.page .entry-content.clear > h1,
body.epma-page article#post-41 .entry-content.clear > h1,
body.epma-page article#post-41 .entry-content.clear > .wp-block-heading:first-child {
    display: none !important;
}
body.epma-page .epma-topline h1 { display: block !important; }

/* Replace Astra's unstyled footer on account screens, retaining contact and legal links. */
body.epma-page #colophon,
body.epma-page footer.site-footer,
body.epma-page .ast-footer-wrap { display:none !important; }
body.epma-page .epma-custom-footer {
    display:block !important;
    box-sizing:border-box;
    width:100%;
    margin:35px 0 0;
    color:#244959;
    background:#f3fafb;
    border-top:1px solid #dcebee;
    font-family:inherit;
    clear:both;
}
body.epma-page .epma-custom-footer * {box-sizing:border-box;}
body.epma-page .epma-footer-main,
body.epma-page .epma-footer-bottom {
    max-width:1210px;
    margin:0 auto;
    padding-left:20px;
    padding-right:20px;
}
body.epma-page .epma-footer-main {
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:start;
    gap:32px;
    padding-top:30px;
    padding-bottom:26px;
}
body.epma-page .epma-footer-name {
    display:block;
    font-size:23px;
    letter-spacing:-.5px;
    line-height:1.2;
    color:#266570;
    font-weight:800;
}
body.epma-page .epma-footer-main p {margin:7px 0 0;font-size:14px;color:#668392;}
body.epma-page .epma-footer-main h2 {font-size:16px;color:#173c50;font-weight:800;margin:0 0 9px;}
body.epma-page .epma-footer-main a,
body.epma-page .epma-footer-bottom a {color:#266570;text-decoration:none;}
body.epma-page .epma-footer-main a:hover,
body.epma-page .epma-footer-bottom a:hover {text-decoration:underline;}
body.epma-page .epma-footer-bottom {
    display:flex;
    justify-content:space-between;
    gap:14px 30px;
    flex-wrap:wrap;
    border-top:1px solid #dcebee;
    padding-top:17px;
    padding-bottom:19px;
    font-size:13px;
    color:#668392;
}
body.epma-page .epma-footer-bottom nav {display:flex;flex-wrap:wrap;gap:18px;}

/* Native WooCommerce password reveal is reused (no second, artificial eye). */
body.epma-page .woocommerce-MyAccount-content .password-input,
body.epma-page .woocommerce-MyAccount-content span.password-input {
    display:block !important;
    width:100% !important;
    position:relative !important;
    line-height:normal;
}
body.epma-page .woocommerce-MyAccount-content .password-input > input,
body.epma-page .woocommerce-MyAccount-content .password-input input[type="password"],
body.epma-page .woocommerce-MyAccount-content .password-input input[type="text"] {
    box-sizing:border-box;
    width:100% !important;
    min-height:48px;
    padding-right:66px !important;
    margin:0 !important;
}
body.epma-page .woocommerce-MyAccount-content .password-input > .show-password-input,
body.epma-page .woocommerce-MyAccount-content .password-input > .hide-password-input,
body.epma-page .woocommerce-MyAccount-content .password-input button.show-password-input {
    appearance:none !important;
    position:absolute !important;
    z-index:4 !important;
    top:50% !important;
    bottom:auto !important;
    left:auto !important;
    right:7px !important;
    transform:translateY(-50%) !important;
    display:inline-flex !important;
    justify-content:center !important;
    align-items:center !important;
    width:42px !important;
    min-width:42px !important;
    height:39px !important;
    min-height:39px !important;
    padding:0 !important;
    margin:0 !important;
    border:1px solid #cedfe3 !important;
    border-radius:11px !important;
    background:#edf6f7 !important;
    color:#266570 !important;
    box-shadow:none !important;
    opacity:1 !important;
    visibility:visible !important;
    cursor:pointer !important;
    font-size:18px !important;
    line-height:1 !important;
}
body.epma-page .woocommerce-MyAccount-content .password-input > .show-password-input:hover,
body.epma-page .woocommerce-MyAccount-content .password-input > .hide-password-input:hover {
    background:#dceff2 !important;
    color:#195465 !important;
}
body.epma-page .woocommerce-MyAccount-content .password-input > .show-password-input::after,
body.epma-page .woocommerce-MyAccount-content .password-input > .hide-password-input::after {
    position:static !important;
    transform:none !important;
    margin:0 !important;
    line-height:1 !important;
    font-size:18px !important;
}
/* Remove only our previous duplicated eye if a cached JS snippet has left one behind. */
body.epma-page .woocommerce-MyAccount-content .epma-password-toggle {display:none !important;}

/* Wishlist: buttons generated by a separate plugin may use custom class names. */
body.epma-page .woocommerce-MyAccount-content a.epma-wishlist-cart-button,
body.epma-page .woocommerce-MyAccount-content button.epma-wishlist-cart-button,
body.epma-page .woocommerce-MyAccount-content input.epma-wishlist-cart-button {
    box-sizing:border-box !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    width:auto !important;
    max-width:100% !important;
    min-width:160px !important;
    height:auto !important;
    min-height:44px !important;
    padding:10px 18px !important;
    background:#266570 !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    border:1px solid #266570 !important;
    border-radius:12px !important;
    font-family:inherit !important;
    font-size:14px !important;
    font-weight:700 !important;
    line-height:1.35 !important;
    text-align:center !important;
    text-decoration:none !important;
    text-indent:0 !important;
    opacity:1 !important;
    visibility:visible !important;
    text-shadow:none !important;
    box-shadow:0 2px 7px rgba(38,101,112,.12) !important;
    cursor:pointer !important;
}
body.epma-page .woocommerce-MyAccount-content .epma-wishlist-cart-button *,
body.epma-page .woocommerce-MyAccount-content .epma-wishlist-cart-button:hover * {
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    opacity:1 !important;
    visibility:visible !important;
    font-size:inherit !important;
    text-indent:0 !important;
}
body.epma-page .woocommerce-MyAccount-content .epma-wishlist-cart-button:hover {
    background:#174e5a !important;
    border-color:#174e5a !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}
@media(max-width:767px){
    body.epma-page .epma-footer-main{padding-top:23px;padding-bottom:22px;gap:20px;}
    body.epma-page .epma-footer-bottom{padding-top:16px;padding-bottom:20px;}
    body.epma-page .epma-footer-bottom nav{gap:12px;}
}

/* EPMA 0.1.3: force a self-contained eye icon, independent of WooCommerce icon fonts. */
body.epma-page .woocommerce-MyAccount-content .password-input > .show-password-input::before,
body.epma-page .woocommerce-MyAccount-content .password-input > .hide-password-input::before { content:none !important; display:none !important; }
body.epma-page .woocommerce-MyAccount-content .password-input > .show-password-input::after,
body.epma-page .woocommerce-MyAccount-content .password-input > .hide-password-input::after {
    content:"" !important;
    position:static !important;
    display:block !important;
    flex:0 0 21px !important;
    width:21px !important;
    height:21px !important;
    margin:0 !important;
    background:#266570 !important;
    border:0 !important;
    opacity:1 !important;
    visibility:visible !important;
    box-shadow:none !important;
    transform:none !important;
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012s3.6-7%2010-7%2010%207%2010%207-3.6%207-10%207-10-7-10-7z%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22/%3E%3C/svg%3E") !important;
    mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012s3.6-7%2010-7%2010%207%2010%207-3.6%207-10%207-10-7-10-7z%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22/%3E%3C/svg%3E") !important;
    -webkit-mask-repeat:no-repeat !important;
    mask-repeat:no-repeat !important;
    -webkit-mask-position:center !important;
    mask-position:center !important;
    -webkit-mask-size:contain !important;
    mask-size:contain !important;
}
body.epma-page .woocommerce-MyAccount-content .password-input > .hide-password-input::after,
body.epma-page .woocommerce-MyAccount-content .password-input > .show-password-input.display-password::after {
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%203l18%2018M10.6%205.1a10.7%2010.7%200%200%201%201.4-.1c6.4%200%2010%207%2010%207a17%2017%200%200%201-2.2%203M6.4%206.3C3.6%208%202%2012%202%2012s3.6%207%2010%207c1.6%200%203.1-.4%204.3-1%22/%3E%3Cpath%20d%3D%22M10%2010a3%203%200%200%200%204%204%22/%3E%3C/svg%3E") !important;
    mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%203l18%2018M10.6%205.1a10.7%2010.7%200%200%201%201.4-.1c6.4%200%2010%207%2010%207a17%2017%200%200%201-2.2%203M6.4%206.3C3.6%208%202%2012%202%2012s3.6%207%2010%207c1.6%200%203.1-.4%204.3-1%22/%3E%3Cpath%20d%3D%22M10%2010a3%203%200%200%200%204%204%22/%3E%3C/svg%3E") !important;
}

/* ===== EduPassion My Account 0.1.4: login/registration without Elementor ===== */
/* The same page body class and the same company footer now apply to guests. */
body.epma-page.epma-guest .entry-content > .woocommerce,
body.epma-page.epma-guest .entry-content > .wp-block-shortcode > .woocommerce,
body.epma-page.epma-guest .entry-content .woocommerce:has(> .epma-guest-hero){
    display:block !important;
    box-sizing:border-box;
    max-width:1210px;
    width:100%;
    margin:0 auto !important;
    padding:26px 17px 68px !important;
    color:#16354a;
}
body.epma-guest .entry-content.clear > h1,
body.epma-guest .entry-content.clear > h6,
body.epma-guest #primary #main article.page .entry-content.clear > .wp-block-heading:first-child{display:none!important}
body.epma-guest .woocommerce:before,body.epma-guest .woocommerce:after{display:none!important}
body.epma-guest .epma-guest-hero{
    display:flex;
    align-items:center;
    gap:18px;
    margin:5px 0 25px;
    padding:0;
}
body.epma-guest .epma-guest-hero-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 67px;
    width:67px;height:67px;
    background:#e6f4f6;color:#266570;border-radius:50%;
}
body.epma-guest .epma-guest-hero-icon .epma-svg{width:35px;height:35px}
body.epma-guest .epma-guest-hero h1{
    display:block!important;
    font-size:36px!important;
    line-height:1.15!important;
    font-weight:800!important;
    color:#103249!important;
    margin:0 0 6px!important;
    letter-spacing:-.4px;
}
body.epma-guest .epma-guest-hero p{
    font-size:16px;line-height:1.5;
    color:#557487;margin:0!important;
}
body.epma-guest .woocommerce #customer_login,
body.epma-guest .woocommerce .u-columns.col2-set#customer_login,
body.epma-guest .woocommerce #customer_login.u-columns{
    float:none!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:stretch;
    gap:22px;
    width:100%!important;
    margin:0!important;
    padding:0!important;
}
body.epma-guest .woocommerce #customer_login > .u-column1,
body.epma-guest .woocommerce #customer_login > .u-column2{
    float:none!important;
    width:100%!important;
    min-width:0;
    max-width:none!important;
    margin:0!important;
    padding:26px!important;
    background:#fff;
    border:1px solid #dfecef;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(25,65,75,.045);
    box-sizing:border-box;
}
body.epma-guest .woocommerce #customer_login h2{
    font-size:25px!important;
    line-height:1.3!important;
    font-weight:800!important;
    color:#14384e!important;
    margin:0 0 18px!important;
    padding:0 0 15px!important;
    border-bottom:1px solid #edf3f5;
}
body.epma-guest .woocommerce #customer_login form,
body.epma-guest .woocommerce form.woocommerce-form-login,
body.epma-guest .woocommerce form.woocommerce-form-register{
    float:none!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:transparent!important;
    text-align:left;
    overflow:visible;
}
body.epma-guest .woocommerce form.woocommerce-form-login:not(#customer_login form),
body.epma-guest .woocommerce form.woocommerce-form-register:not(#customer_login form){
    max-width:580px;
    margin-left:auto!important;
    margin-right:auto!important;
}
body.epma-guest .woocommerce #customer_login .form-row,
body.epma-guest .woocommerce form.woocommerce-form-login .form-row,
body.epma-guest .woocommerce form.woocommerce-form-register .form-row{
    float:none!important;
    width:100%!important;
    margin:0 0 17px!important;
    padding:0!important;
    position:relative;
    box-sizing:border-box;
}
body.epma-guest .woocommerce #customer_login label,
body.epma-guest .woocommerce form.woocommerce-form-login label,
body.epma-guest .woocommerce form.woocommerce-form-register label{
    display:block;
    width:auto;
    margin:0 0 7px!important;
    font-size:14px;
    font-weight:700;
    color:#235469;
}
body.epma-guest .woocommerce #customer_login .form-row input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.epma-guest .woocommerce form.woocommerce-form-login input.input-text,
body.epma-guest .woocommerce form.woocommerce-form-register input.input-text{
    display:block;
    width:100%!important;
    max-width:100%!important;
    min-height:48px;
    height:48px;
    margin:0!important;
    padding:11px 14px!important;
    border:1px solid #cbdfe3!important;
    border-radius:11px!important;
    background-color:#fff;
    box-sizing:border-box;
    font-size:15px;
    line-height:1.4;
    color:#15384b;
    box-shadow:none!important;
    -webkit-appearance:none;
    appearance:none;
}
body.epma-guest .woocommerce #customer_login input:focus,
body.epma-guest .woocommerce form.woocommerce-form-login input:focus,
body.epma-guest .woocommerce form.woocommerce-form-register input:focus{
    outline:2px solid rgba(38,101,112,.23)!important;
    outline-offset:1px;
    border-color:#266570!important;
}
/* Native WC password input and eye (leave its own JavaScript untouched). */
body.epma-guest .woocommerce #customer_login .password-input,
body.epma-guest .woocommerce .woocommerce-form-login .password-input,
body.epma-guest .woocommerce .woocommerce-form-register .password-input{
    display:block!important;
    width:100%!important;
    position:relative!important;
}
body.epma-guest .woocommerce #customer_login .password-input input,
body.epma-guest .woocommerce form.woocommerce-form-login .password-input input,
body.epma-guest .woocommerce form.woocommerce-form-register .password-input input{
    padding-right:61px!important;
}
body.epma-guest .woocommerce .password-input > .show-password-input,
body.epma-guest .woocommerce .password-input > .hide-password-input{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    position:absolute!important;
    top:50%!important;
    right:6px!important;
    left:auto!important;
    bottom:auto!important;
    transform:translateY(-50%)!important;
    width:39px!important;
    height:37px!important;
    padding:0!important;
    border-radius:9px!important;
    background:#ebf5f6!important;
    border:1px solid #d3e7e9!important;
    color:#266570!important;
    box-shadow:none!important;
    opacity:1!important;
    visibility:visible!important;
    cursor:pointer!important;
    font-size:0!important;
    line-height:1!important;
}
body.epma-guest .woocommerce .password-input > .show-password-input::before,
body.epma-guest .woocommerce .password-input > .hide-password-input::before{content:none!important;display:none!important}
body.epma-guest .woocommerce .password-input > .show-password-input::after,
body.epma-guest .woocommerce .password-input > .hide-password-input::after{
    content:""!important;
    display:block!important;
    width:21px!important;height:21px!important;
    margin:0!important;padding:0!important;
    background:#266570!important;
    transform:none!important;
    flex:0 0 21px!important;
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7-10-7-10-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")!important;
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7-10-7-10-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")!important;
    -webkit-mask-position:center!important;mask-position:center!important;
    -webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;
    -webkit-mask-size:contain!important;mask-size:contain!important;
}
body.epma-guest .woocommerce .password-input > .hide-password-input::after{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18M10.6 5.1A10.7 10.7 0 0 1 12 5c6.4 0 10 7 10 7a17 17 0 0 1-2.2 3M6.4 6.3C3.6 8 2 12 2 12s3.6 7 10 7c1.6 0 3.1-.4 4.3-1'/%3E%3Cpath d='M10 10a3 3 0 0 0 4 4'/%3E%3C/svg%3E")!important;
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18M10.6 5.1A10.7 10.7 0 0 1 12 5c6.4 0 10 7 10 7a17 17 0 0 1-2.2 3M6.4 6.3C3.6 8 2 12 2 12s3.6 7 10 7c1.6 0 3.1-.4 4.3-1'/%3E%3Cpath d='M10 10a3 3 0 0 0 4 4'/%3E%3C/svg%3E")!important;
}
body.epma-guest .woocommerce .woocommerce-form__label-for-checkbox,
body.epma-guest .woocommerce #customer_login label.woocommerce-form__label-for-checkbox{
    display:inline-flex!important;
    align-items:center;
    gap:9px;
    width:auto;
    margin:7px 0!important;
    color:#4d6b7d;
    font-weight:500;
    font-size:13px;
    line-height:1.45;
}
body.epma-guest .woocommerce input[type="checkbox"]{accent-color:#266570;width:16px;height:16px;flex:0 0 16px;margin:0!important;vertical-align:middle}
body.epma-guest .woocommerce #customer_login .button,
body.epma-guest .woocommerce form.woocommerce-form-login button.button,
body.epma-guest .woocommerce form.woocommerce-form-register button.button,
body.epma-guest .woocommerce #customer_login button[type="submit"]{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:46px!important;
    padding:11px 24px!important;
    margin:6px 0 0!important;
    border-radius:11px!important;
    border:1px solid #266570!important;
    background:#266570!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    font-size:15px!important;
    line-height:1.4!important;
    font-weight:750!important;
    font-family:inherit!important;
    box-shadow:none!important;
    opacity:1!important;
    visibility:visible!important;
    text-indent:0!important;
    cursor:pointer;
}
body.epma-guest .woocommerce #customer_login .button:hover,
body.epma-guest .woocommerce #customer_login button[type="submit"]:hover{
    background:#164b56!important;border-color:#164b56!important;color:#fff!important;
}
body.epma-guest .woocommerce #customer_login .woocommerce-LostPassword,
body.epma-guest .woocommerce .lost_password{
    margin:13px 0 0!important;
    font-size:14px;
}
body.epma-guest .woocommerce #customer_login .woocommerce-LostPassword a,
body.epma-guest .woocommerce .lost_password a{color:#266570!important;text-decoration:underline;text-underline-offset:3px}
body.epma-guest .woocommerce #customer_login p:not(.form-row),
body.epma-guest .woocommerce #customer_login .woocommerce-privacy-policy-text{
    font-size:13px;line-height:1.65;color:#5c7787;
}
body.epma-guest .woocommerce #customer_login .woocommerce-privacy-policy-text p{margin-bottom:12px!important}
body.epma-guest .woocommerce .woocommerce-message,
body.epma-guest .woocommerce .woocommerce-error,
body.epma-guest .woocommerce .woocommerce-info{
    border-radius:13px!important;
    padding:15px 18px!important;
    background:#edf7f8!important;
    color:#163c4e!important;
    margin:0 0 20px!important;
}
/* Avoid overlapping the error/validation icon of browser autofill extensions. */
body.epma-guest .woocommerce #customer_login .woocommerce-form-register .woocommerce-privacy-policy-text{max-width:100%}
@media(max-width:860px){
  body.epma-guest .woocommerce #customer_login,
  body.epma-guest .woocommerce .u-columns.col2-set#customer_login,
  body.epma-guest .woocommerce #customer_login.u-columns{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
  body.epma-guest .woocommerce #customer_login > .u-column1,
  body.epma-guest .woocommerce #customer_login > .u-column2{padding:23px!important}
}
@media(max-width:600px){
  body.epma-page.epma-guest .entry-content > .woocommerce,
  body.epma-page.epma-guest .entry-content > .wp-block-shortcode > .woocommerce{padding:18px 12px 40px!important}
  body.epma-guest .epma-guest-hero{gap:12px;margin:3px 0 19px}
  body.epma-guest .epma-guest-hero-icon{flex:0 0 52px;width:52px;height:52px}
  body.epma-guest .epma-guest-hero-icon .epma-svg{width:27px;height:27px}
  body.epma-guest .epma-guest-hero h1{font-size:29px!important}
  body.epma-guest .epma-guest-hero p{font-size:13px}
  body.epma-guest .woocommerce #customer_login > .u-column1,
  body.epma-guest .woocommerce #customer_login > .u-column2{padding:19px!important;border-radius:17px}
  body.epma-guest .woocommerce #customer_login h2{font-size:22px!important}
  body.epma-guest .woocommerce #customer_login .button{width:100%!important}
}
/* Keep the Remember me option on its own row above the submit button. */
body.epma-guest .woocommerce #customer_login label.woocommerce-form__label-for-checkbox,
body.epma-guest .woocommerce form.woocommerce-form-login label.woocommerce-form__label-for-checkbox,
body.epma-guest .woocommerce form.woocommerce-form-register label.woocommerce-form__label-for-checkbox{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    margin:7px 0 12px!important;
}


/* EPMA 0.1.5: WooCommerce/Astra add ::before and ::after to .col2-set as clearfix.
 * With CSS grid those pseudo-elements become extra grid items. That put
 * Logowanie at column 2 / row 1, and Rejestracja at column 1 / row 2.
 * Exclude pseudo-elements and anchor both real columns explicitly. */
body.epma-page.epma-guest #customer_login::before,
body.epma-page.epma-guest #customer_login::after {
    content:none!important;
    display:none!important;
}
@media(min-width:861px) {
    body.epma-page.epma-guest #customer_login {
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        align-items:stretch!important;
        column-gap:22px!important;
        row-gap:0!important;
    }
    body.epma-page.epma-guest #customer_login > .u-column1,
    body.epma-page.epma-guest #customer_login > .col-1 {
        grid-column:1!important;
        grid-row:1!important;
        float:none!important;
        clear:none!important;
        width:100%!important;
        min-width:0!important;
    }
    body.epma-page.epma-guest #customer_login > .u-column2,
    body.epma-page.epma-guest #customer_login > .col-2 {
        grid-column:2!important;
        grid-row:1!important;
        float:none!important;
        clear:none!important;
        width:100%!important;
        min-width:0!important;
    }
}
@media(max-width:860px) {
    body.epma-page.epma-guest #customer_login {
        display:grid!important;
        grid-template-columns:minmax(0,1fr)!important;
        gap:16px!important;
    }
    body.epma-page.epma-guest #customer_login > .u-column1,
    body.epma-page.epma-guest #customer_login > .u-column2,
    body.epma-page.epma-guest #customer_login > .col-1,
    body.epma-page.epma-guest #customer_login > .col-2 {
        grid-column:1!important;
        grid-row:auto!important;
        float:none!important;
        clear:none!important;
        width:100%!important;
    }
}


/* EduPassion My Account 0.1.6 — responsive mobile account navigation.
 * The former flex no-wrap menu forced horizontal scrolling and could
 * increase the layout width on small mobile viewports.
 */
@media screen and (max-width:767px) {
  body.epma-page:not(.epma-guest) .epma-welcome-badge {
    display:none!important;
  }
  body.epma-page:not(.epma-guest) .epma-welcome {
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.epma-page:not(.epma-guest) .entry-content > .woocommerce,
  body.epma-page:not(.epma-guest) .entry-content > .wp-block-shortcode > .woocommerce,
  body.epma-page:not(.epma-guest) .entry-content .woocommerce:has(>.epma-topline) {
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.epma-page:not(.epma-guest) .woocommerce > .woocommerce-MyAccount-navigation.epma-nav,
  body.epma-page:not(.epma-guest) .woocommerce > .woocommerce-MyAccount-content {
    flex:0 1 auto!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.epma-page:not(.epma-guest) .woocommerce-MyAccount-navigation.epma-nav {
    overflow:visible!important;
  }
  body.epma-page:not(.epma-guest) .epma-nav ul {
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(min(100%,112px),1fr))!important;
    grid-auto-flow:row!important;
    align-items:stretch!important;
    gap:7px!important;
    flex-wrap:wrap!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }
  body.epma-page:not(.epma-guest) .epma-nav ul > li {
    display:block!important;
    float:none!important;
    flex:initial!important;
    min-width:0!important;
    max-width:100%!important;
    width:100%!important;
    margin:0!important;
  }
  body.epma-page:not(.epma-guest) .epma-nav ul > li > a {
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    max-width:100%!important;
    height:100%!important;
    min-height:44px!important;
    padding:8px 9px!important;
    gap:6px!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    box-sizing:border-box!important;
    line-height:1.25!important;
    font-size:12px!important;
    text-align:left!important;
    border-radius:10px!important;
  }
  body.epma-page:not(.epma-guest) .epma-nav ul > li > a .epma-svg {
    width:16px!important;
    height:16px!important;
    flex:0 0 16px!important;
  }
  body.epma-page:not(.epma-guest) .epma-nav ul > li > a span {
    display:block!important;
    min-width:0!important;
    overflow-wrap:anywhere!important;
    flex:1 1 auto!important;
  }
}
