/* EduPassion Nowości 0.1.3 — own styles, no Elementor or shop-template overrides. */
body.epn-page{--epn-teal:#266570;--epn-dark:#16374a;--epn-muted:#648091;--epn-line:#dce9e9;background:#fff}
body.epn-page .site-content .ast-container{max-width:1300px!important;width:100%;margin-inline:auto!important;padding:0 24px!important;display:block!important}
body.epn-page .site-content #primary{float:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important}
body.epn-page .site-content #secondary{display:none!important}
body.epn-page .site-content .entry-header,
body.epn-page .site-content .page-header,
body.epn-page .site-content .entry-content>h1:first-child{display:none!important}
body.epn-page .site-content article,
body.epn-page .site-content .entry-content{max-width:none!important;width:100%;margin:0!important}
body.epn-page .site-content .entry-content{padding:0!important}
.epn-wrap,.epn-wrap *{box-sizing:border-box}
.epn-wrap{width:100%;max-width:1244px;margin:0 auto 60px;color:var(--epn-dark);font-family:Nunito,Arial,sans-serif}
.epn-wrap a{text-decoration:none}
.epn-breadcrumb{display:flex;align-items:center;gap:10px;margin:16px 0 8px;font-size:12px;color:#7c92a0}
.epn-breadcrumb a{color:#266570}
.epn-intro{position:relative;display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:136px;padding:16px 12px 24px;margin:0 0 17px;background:linear-gradient(110deg,#f0f9f9 0%,#fff 84%);border-radius:18px}
.epn-eyebrow{display:block;font-size:11px;line-height:1.3;font-weight:900;letter-spacing:1.2px;color:#397c86}
.epn-intro h1{font-family:Nunito,Arial,sans-serif!important;font-size:clamp(29px,3vw,42px)!important;font-weight:900!important;letter-spacing:-1.1px;line-height:1.16!important;margin:8px 0 6px!important;color:#12374d!important}
.epn-intro p{max-width:780px;font-size:15px;line-height:1.6;color:#6a8495;margin:0!important}
.epn-intro-icon{margin-right:28px;font-size:65px;line-height:1;color:#a4d7db;transform:rotate(-18deg)}
.epn-layout{display:grid;grid-template-columns:254px minmax(0,1fr);gap:24px;align-items:start}
.epn-sidebar{border:1px solid #e0eaed;background:#fff;border-radius:18px;box-shadow:0 8px 22px rgba(20,69,80,.045);min-width:0;overflow:hidden}
.epn-sidebar-top{display:flex;align-items:center;justify-content:space-between;padding:20px 20px 10px}
.epn-sidebar-top h2{margin:0!important;font:900 18px/1.3 Nunito,Arial,sans-serif!important;color:#143348!important}
.epn-sidebar-close{display:none}
.epn-sidebar-body{padding:0 18px 20px}
.epn-year-control{display:flex;justify-content:space-between;align-items:center;margin:10px 0 12px;padding:0 8px;color:#143348}
.epn-year-control strong{font-size:15px;font-weight:900}
.epn-year-control a,.epn-year-control .epn-disabled{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;font-size:24px;line-height:1;color:#266570}
.epn-year-control a:hover{background:#ecf5f5}
.epn-year-control .epn-disabled{color:#c5d4d8}
.epn-months{display:flex;flex-direction:column;gap:3px;max-height:400px;overflow-y:auto;scrollbar-width:thin;padding:2px 1px}
.epn-month{display:flex;align-items:center;gap:13px;color:#385d70!important;font-size:13px;line-height:1.4;font-weight:700;padding:9px 11px;border-radius:10px;min-height:39px;text-decoration:none!important;transition:background .15s,color .15s}
.epn-month:hover{background:#f1f8f8;color:#266570!important}
.epn-month.is-active{background:#e8f5f5;color:#205f6a!important;font-weight:900}
.epn-radio{width:18px;height:18px;flex:0 0 18px;border-radius:50%;border:1.4px solid #bfced2;background:#fff;display:grid;place-items:center}
.epn-month.is-active .epn-radio{background:#266570;border-color:#266570}
.epn-month.is-active .epn-radio:after{content:"";width:5px;height:5px;border-radius:50%;background:#fff}
.epn-filter-group{margin:20px 0 0;padding-top:18px;border-top:1px solid #e8eff1}
.epn-filter-group h3{font:850 14px/1.35 Nunito,Arial,sans-serif!important;color:#214659!important;margin:0 0 8px!important}
.epn-filter-group p{font-size:11px;line-height:1.45;color:#718998;margin:0 0 10px}
.epn-filter-choice{display:flex;align-items:center;gap:10px;padding:9px 1px;min-height:39px;color:#567080!important;font-size:13px;line-height:1.4;font-weight:700;text-decoration:none!important}
.epn-filter-choice:hover{color:#266570!important}
.epn-filter-choice.is-active{color:#266570!important;font-weight:900}
.epn-check{width:19px;height:19px;flex:0 0 19px;border-radius:5px;border:1.5px solid #c9dada;background:#fff;color:transparent;display:grid;place-items:center;font-size:12px}
.epn-filter-choice.is-active .epn-check{background:#266570;color:#fff;border-color:#266570}
.epn-mobile-toggle{display:none}
.epn-results{min-width:0}
.epn-results-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 18px}
.epn-month-title{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
.epn-month-title h2{margin:0!important;color:#12374d!important;font:900 clamp(27px,2.8vw,37px)/1.25 Nunito,Arial,sans-serif!important;letter-spacing:-.7px}
.epn-results-head p{font-size:13px;color:#6b8392;line-height:1.45;margin:6px 0 0}
.epn-count{font-size:12px;color:#688492;margin:0 0 10px}
.epn-active-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#f5faf9;border:1px solid #e2efec;padding:12px 14px;border-radius:12px;margin-bottom:15px;color:#607e87;font-size:12px}
.epn-active-filters strong{font-weight:800;color:#21495a}
.epn-active-filters span{display:inline-flex;padding:5px 9px;background:#e0f3f2;color:#266570;border-radius:999px;font-weight:800}
.epn-active-filters a{margin-left:auto;color:#266570;font-weight:800;text-decoration:underline}
/* Native WooCommerce product cards, styled to match EduPassion Shop. */
.epn-products.woocommerce{width:100%;min-width:0}
.epn-products ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;width:100%!important;padding:0!important;margin:0!important;float:none!important;list-style:none!important}
.epn-products ul.products:before,.epn-products ul.products:after{display:none!important}
.epn-products ul.products li.product{position:relative;display:flex!important;flex-direction:column;min-width:0;width:100%!important;max-width:none!important;margin:0!important;float:none!important;clear:none!important;border:1px solid #dfe9e8;border-radius:16px;background:#fff;padding:0!important;overflow:hidden;box-shadow:0 3px 11px rgba(23,71,79,.025);text-align:left;transition:box-shadow .15s,border-color .15s}
.epn-products ul.products li.product:hover{border-color:#a7c9c4;box-shadow:0 12px 25px rgba(23,71,79,.08)}
.epn-products ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;min-width:0;flex:1;position:relative;text-decoration:none!important;color:inherit!important}
.epn-products ul.products li.product .astra-shop-summary-wrap{display:flex;flex-direction:column;flex:1;min-width:0;width:100%}
.epn-products ul.products li.product .astra-shop-summary-wrap>a.woocommerce-LoopProduct-link{flex:0 0 auto}
/* Wide 3:2 art area; use large (uncropped) image HTML from PHP, not square WooCommerce thumbnails. */
.epn-products ul.products li.product .epn-product-thumb,
.epn-products ul.products li.product .astra-shop-thumbnail-wrap,
.epn-products ul.products li.product .eps-product-thumb{display:flex!important;align-items:center;justify-content:center;width:100%!important;height:auto!important;aspect-ratio:3 / 2!important;max-height:none!important;padding:8px!important;background:#f8fbfa;overflow:hidden;min-width:0;box-sizing:border-box}
.epn-products ul.products li.product .epn-product-thumb img,
.epn-products ul.products li.product .astra-shop-thumbnail-wrap img,
.epn-products ul.products li.product .eps-product-thumb img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important}
/* Fallback when a theme outputs the image directly without a thumbnail wrapper. */
.epn-products ul.products li.product a.woocommerce-LoopProduct-link>img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:3 / 2!important;max-height:none!important;object-fit:contain!important;object-position:center!important;padding:8px!important;margin:0!important;box-shadow:none!important;background:#f8fbfa;box-sizing:border-box}
.epn-products ul.products li.product h2.woocommerce-loop-product__title,
.epn-products ul.products li.product h3.woocommerce-loop-product__title{font:900 15px/1.4 Nunito,Arial,sans-serif!important;color:#17364a!important;padding:13px 14px 0!important;margin:0 0 7px!important;text-align:left!important;min-height:0}
.epn-products ul.products li.product .ast-woo-product-category{display:none!important}
.epn-products ul.products li.product .epn-product-date{display:block!important;font:600 11px/1.4 Nunito,Arial,sans-serif;color:#68869a;margin:0 14px 8px!important;padding:0!important;text-align:left}
.epn-products ul.products li.product .star-rating{margin-left:14px!important}
.epn-products ul.products li.product .price{font:900 15px/1.4 Nunito,Arial,sans-serif!important;color:#193d53!important;margin:0 14px 12px!important;padding:0!important;display:block!important;text-align:left!important}
.epn-products ul.products li.product .price del{opacity:.57}
.epn-products ul.products li.product .button,
.epn-products ul.products li.product a.button{display:flex!important;justify-content:center!important;align-items:center!important;align-self:stretch!important;gap:6px;max-width:none!important;width:100%!important;min-height:44px!important;background:#266570!important;border:1px solid #266570!important;color:#fff!important;border-radius:0!important;margin:auto 0 0!important;padding:12px 8px!important;font:900 12px/1.3 Nunito,Arial,sans-serif!important;text-align:center!important;text-decoration:none!important;box-shadow:none!important}
.epn-products ul.products li.product .button:hover{background:#164c59!important;border-color:#164c59!important}
.epn-products ul.products li.product .added_to_cart{display:inline-block;padding:8px 12px;font-size:12px;text-align:center;background:#e9f7f4;color:#266570!important}
.epn-products ul.products li.product .onsale{display:none!important}
/* Wishlist controls injected by existing site snippets/plugins. */
.epn-products ul.products li.product .eph-heart,
.epn-products ul.products li.product .wishlist-toggle,
.epn-products ul.products li.product .epw-wishlist-button{position:absolute;right:9px;top:9px;z-index:6;display:grid;place-items:center;width:35px;height:35px;min-width:35px;border-radius:10px;background:rgba(255,255,255,.96);border:1px solid #d9e6e7;color:#276170;box-shadow:0 2px 7px rgba(23,71,79,.09)}
.epn-pagination{display:flex;justify-content:flex-end;align-items:center;gap:7px;margin:23px 0 0}
.epn-pagination a,.epn-pagination span{width:39px;height:39px;display:grid;place-items:center;border:1px solid #dae8e8;border-radius:9px;color:#2d6370;font-size:14px;font-weight:800;text-decoration:none!important}
.epn-pagination a:hover{background:#e8f4f3}
.epn-pagination [aria-current="page"]{color:#fff;background:#266570;border-color:#266570}
.epn-month-note{border-top:1px solid #e9eeee;display:flex;align-items:center;gap:10px;margin:23px 0 0!important;padding:18px 0 0;font-size:12px;line-height:1.5;color:#7a93a1}
.epn-month-note>span{color:#266570;font-size:19px}
.epn-empty{padding:54px 26px;border:1px dashed #d6e5e7;border-radius:18px;background:#fbfdfd;text-align:center}
.epn-empty-icon{width:54px;height:54px;background:#e7f3f3;border-radius:50%;margin:0 auto 10px;display:grid;place-items:center;color:#266570;font-size:28px}
.epn-empty h3{font-size:20px;font-weight:900;color:#173a4d;margin:4px 0 8px}
.epn-empty p{font-size:14px;line-height:1.6;color:#6c8592;max-width:540px;margin:0 auto}
.epn-empty a{display:inline-flex;margin-top:18px;border:1px solid #c5dddd;border-radius:10px;color:#266570;padding:11px 16px;font-weight:900;font-size:13px}
@media(min-width:768px){.epn-sidebar{position:sticky;top:var(--epn-sidebar-top,120px);max-height:calc(100dvh - var(--epn-sidebar-top,120px) - 12px);display:flex;flex-direction:column}.epn-sidebar-top{flex:0 0 auto}.epn-sidebar-body{overflow-y:auto;scrollbar-width:thin;min-height:0}}
@media(max-width:990px){.epn-layout{grid-template-columns:226px minmax(0,1fr);gap:16px}.epn-products ul.products{gap:11px!important}.epn-products ul.products li.product h2.woocommerce-loop-product__title{font-size:13px!important}}
@media(max-width:767px){
 body.epn-page .site-content .ast-container{padding:0 12px!important}
 .epn-wrap{margin-bottom:40px}
 .epn-intro{min-height:0;padding:18px 13px 21px;margin-bottom:18px}
 .epn-intro-icon{display:none}
 .epn-intro h1{font-size:30px!important}
 .epn-intro p{font-size:13px}
 .epn-layout{display:flex;flex-direction:column;gap:12px}
 .epn-mobile-toggle{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;color:#266570;background:#eaf6f6;border:1px solid #c9e1e2;border-radius:11px;font:900 14px/1.3 Nunito,Arial,sans-serif;cursor:pointer}
 .epn-sidebar{width:100%;display:none;position:static;box-shadow:none}
 .epn-sidebar.is-open{display:block}
 .epn-sidebar-top{padding:15px 17px 8px}
 .epn-sidebar-close{display:grid;place-items:center;background:transparent;border:0;color:#266570;font-size:25px;cursor:pointer}
 .epn-sidebar-body{padding:0 14px 18px}
 .epn-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;overflow:visible;gap:3px}
 .epn-month{gap:7px;font-size:12px;padding:8px 6px}
 .epn-radio{width:15px;height:15px;flex-basis:15px}
 .epn-results{width:100%}
 .epn-results-head{margin-top:8px;margin-bottom:15px}
 .epn-month-title h2{font-size:26px!important}
 .epn-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .epn-products ul.products li.product h2.woocommerce-loop-product__title{font-size:13px!important;padding:10px 9px 0!important}
 .epn-products ul.products li.product .price{font-size:13px!important;margin:0 9px 10px!important}
 .epn-products ul.products li.product .epn-product-date{font-size:10px;margin:0 9px 7px!important}
 .epn-products ul.products li.product .button{font-size:11px!important;padding:10px 5px!important;min-height:42px!important}
 .epn-pagination{justify-content:center}
}
@media(max-width:350px){.epn-month-title{gap:7px}.epn-month-title h2{font-size:24px!important}.epn-month{font-size:11px}.epn-months{gap:0}}
@media(prefers-reduced-motion:reduce){.epn-month,.epn-products ul.products li.product{transition:none}}
