/*
Theme Name:   Astra (zmodyfikowana)
Template:     astra
*/

@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=event_available');

body.single-product{background:var(--ast-global-color-6);}

body:not(.customize-partial-edit-shortcuts-shown) section.widget:empty{display:none;}

@media (hover: hover) {
:is(main,footer) a:not(:has(*)){color:var(--ast-global-color-0);
  --underline-color:var(--ast-global-color-0);
  background-image: linear-gradient(var(--underline-color), var(--underline-color));
  background-size: 0% 0.1em;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .3s linear;
   }
:is(main,footer) a:not(:has(*)):hover,:is(main,footer) a:not(:has(*)):focus{background-size:100% 0.1em;}
.woocommerce-js .woocommerce-breadcrumb a{--underline-color:#777;}
.woocommerce-js div.product .woocommerce-tabs ul.tabs li a{--underline-color:transparent;/*--underline-color:#515151;*/}
.woocommerce-js .quantity a.minus, .woocommerce .quantity a.plus{--underline-color:transparent;}

}

/*
@property --link-underline-color {
  syntax: "<color>";
  inherits: true;
  initial-value: transparent;
}
*/
@media (hover: hover) {
    :is(main,footer) a:not(:has(*)){--link-underline-color:var(--ast-global-color-0);}
    .woocommerce-js .woocommerce-breadcrumb a{--link-underline-color:#777;}
    .woocommerce-js div.product .woocommerce-tabs ul.tabs li a{--likn-underline-color:#515151;}
}


.woocommerce ul.products, .woocommerce-page ul.products {}
.woocommerce ul.products>.product,
.woocommerce-page ul.products>.product,
.woocommerce div.products .product:not(ul){border:1px solid #ccc;background:#fff;}
.woocommerce ul.products>.product .astra-shop-thumbnail-wrap img,
.woocommerce-page ul.products>.product .astra-shop-thumbnail-wrap img,
.woocommerce div.products .product img.attachment-woocommerce_thumbnail{max-width:70%;margin:20px auto;}
.woocommerce div.products .product img.attachment-woocommerce_thumbnail{width:70%;display:block;}

.gap-0{gap:0!important;}
.wp-block-columns.gap-0 .wp-block-column:not(:last-child){margin-bottom:0;}

.ast-builder-html-element .pll-list{min-height:40px;margin-top:-40px;}
.ast-mobile-popup-content .ast-builder-layout-element:has(.pll-list){padding:0 10px!important;}
.pll-list a{display:inline-block;width:40px;height:40px;text-align:center;}


.entry-content[ast-blocks-layout] > ul,.entry-content[ast-blocks-layout] > ol{margin-left:3em;}
body .ast-container .wp-block-uagb-container>.uagb-container-inner-blocks-wrap>ul{margin:0 0 1.5em 3em;}

@media (max-width: 781px) {
    .columns-reverse-on-mobile{}
    .columns-reverse-on-mobile>:first-child{order:2;}
}

body .main-header-bar{padding:0;}
header .custom-logo-link img{margin-bottom:-22px;}
.woocommerce-pagination{text-align:center;}
.woocommerce-js ul.product_list_widget li img{object-fit:contain;}

.ast-article-single.product{}
.ast-article-single.product h1{font:600 30px/1.2 "Montserrat",sans-serif;color:var(--ast-global-color-0);}
.ast-article-single.product h3{font:600 20px/1.4 "Montserrat",sans-serif;color:var(--ast-global-color-0);margin:1em 0 0.6em;}
.ast-article-single.product h4{font:500 16px/1.75 "Montserrat",sans-serif;color:#000;}

.woocommerce-products-header h1{font:600 3.75rem/1.3 "Montserrat",sans-serif;color:var(--ast-global-color-0);}
@media only screen and (max-width: 921px) {
    .woocommerce-products-header h1{font-size:36px;}
}
@media only screen and (max-width: 544px) {
    .woocommerce-products-header h1{font-size:32px;}
}


.home-tile-description{}
@media only screen and (min-width: 768px) {
    .home-tile-description h4{min-height:60px;}
}

.uagb-block-02de961b{}
.uagb-block-02de961b h3>a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:96px;}

.woocommerce-js div.product .woocommerce-tabs ul.tabs li a{font-family:"Montserrat",sans-serif;font-size:16px;font-weight:400;}


footer form.form_subscribe{}
footer form.form_subscribe input.field{padding:12px!important;margin-bottom:20px;}
footer form.form_subscribe button[type="submit"]{padding:12px 24px!important;}

.woocommerce-message::before{content:"\e017";color:var(--ast-global-color-0);}
.woocommerce-message, .woocommerce-info{border:none;background:var(--ast-global-color-1);font-weight:600;color:var(--ast-global-color-7);}
.woocommerce-page .woocommerce-message:has(.button){line-height:36px;}
/*.woocommerce-message a, .woocommerce-info a{background-color:var(--ast-global-color-0);color:var(--ast-global-color-5);}*/

.woocommerce-js table.shop_attributes th{width:25%;}
.woocommerce-js .comment-reply-title{font-weight:normal;font-size:inherit;}
.woocommerce-js #reviews .comment-form-comment label, .woocommerce-js #reviews .comment-form-rating label{font-weight:normal;font-size:inherit;}
.woocommerce-js #reviews #comments ol.commentlist li .comment-text meta, .woocommerce-js #reviews #comments ol.commentlist li .comment-text p.meta{font-size:inherit;}

@media (max-width: 921px) {
    body #ast-checkout-wrap a:not(.ast-current), body #ast-checkout-wrap .ahfb-svg-iconset{display:inherit;}
    body #ast-checkout-wrap .ast-step-number{display:block;}
    body #ast-checkout-wrap a p{display:none;}
}

body.woocommerce-cart table.cross-sells{padding:0;}
/*.woocommerce .cross-sells ul.products>.product{border-left:none;border-right:none;}*/

table.shop_table{}
table.shop_table col.product-thumbnail{width:110px;}
table.shop_table col.product-price{width:90px;}
table.shop_table col.product-quantity{width:90px;}
table.shop_table col.product-subtotal{width:125px;}
table.shop_table col.product-remove{width:60px;}

@media only screen and (max-width: 921px) {
    table.shop_table col.product-thumbnail,
    table.shop_table col.product-price,
    table.shop_table col.product-quantity,
    table.shop_table col.product-subtotal,
    table.shop_table col.product-remove{width:unset;}

    .woocommerce table.shop_table_responsive.cross-sells, .woocommerce-page table.shop_table_responsive.cross-sells{display:none;}
    .woocommerce table.shop_table_responsive.cross-sells thead>tr>:empty, .woocommerce-page table.shop_table_responsive.cross-sells thead>tr>:empty{display:none;}
    .woocommerce table.shop_table_responsive.cross-sells thead, .woocommerce-page table.shop_table_responsive.cross-sells thead{display:block;}

    .woocommerce-cart table.shop_table{border:none;}
    .woocommerce table.shop_table_responsive tr,.woocommerce-page table.shop_table_responsive tr{position:relative;border:1px solid var(--ast-border-color);margin-bottom:25px;}
    .woocommerce table.shop_table_responsive tr>td.product-remove,.woocommerce-page table.shop_table_responsive tr>td.product-remove{position:absolute;top:0;right:0;border:none;}

    .woocommerce-cart table.shop_table td:first-child{border-top:none;}

}

.ast-modern-checkout .woocommerce #ast-order-review-content .woocommerce-checkout-review-order-table tbody tr td.product-name .ast-product-image .ast-product-thumbnail img, .ast-modern-checkout .woocommerce #order_review .woocommerce-checkout-review-order-table tbody tr td.product-name .ast-product-image .ast-product-thumbnail img{object-fit:contain;}

.ast-modern-checkout .woocommerce #order_review .woocommerce-checkout-review-order-table tr td:last-child:first-child{text-align:left;}

.ast-site-header-cart .widget_shopping_cart, .woocommerce .ast-site-header-cart .widget_shopping_cart{width:400px;}

.woocommerce-js footer h2{margin-bottom:0.1em;}


.ast-header-search form.search-form .search-field, .ast-header-search .ast-dropdown-active.ast-search-menu-icon.slide-search input.search-field{width:300px;background-color:var(--ast-global-color-4);}

.ep-columns-2{display:flex;}
.ep-columns-2.ep-with-margin{gap:40px;margin:0 0 40px;}
.ep-width-30{width:30%;}
.ep-width-50{width:50%;}
.ep-width-70{width:70%;}
@media (max-width: 921px) {
    .ep-columns-2{flex-direction:column;}
    .ep-columns-2>*{width:100%;}
    .ep-columns-2>:not(.ep-first-on-mobile){order:2;}
}

/*
.ep-columns-3{display:grid;}
.ep-columns-3.ep-with-margin{gap:40px;margin:0 0 40px;}
@media (max-width: 921px) {
    .ep-columns-3{flex-direction:column;}
    .ep-columns-3>*{width:100%;}
}
*/
.ep-grid.ep-grid-3{margin:0;display:grid;list-style:none;grid-template-columns:repeat(3,1fr);width:100%;}
.ep-grid.ep-grid-gap{gap:40px;}
.ep-grid.ep-grid-3>*{}

.ep-grid iframe.youtube{width:100%;aspect-ratio:16 / 9;height:auto;display:block;}

@media (max-width: 1050px) {
    .ep-grid.ep-grid-3{grid-template-columns:repeat(2,1fr);}
}
@media (max-width: 781px) {
    .ep-grid.ep-grid-3{grid-template-columns:1fr;}
}


.ep-icons-list{display:flex;}
@media (max-width: 921px) {
    .ep-icons-list{flex-wrap:wrap;}
    .ep-icons-list>*{min-width:180px;max-width:100%;}
}


@media ((max-width: 921px) and (min-width: 781px)) {
    .woocommerce-product-gallery{flex-direction:row;gap:40px;}
    .woocommerce-product-gallery>.flex-viewport{flex:1 1 auto;}
    .woocommerce-product-gallery>.ast-single-product-thumbnails{flex:0 0 100px;}
    .woocommerce-product-gallery .woocommerce-product-gallery-thumbnails__wrapper{transform:none!important;}
    .woocommerce-product-gallery .woocommerce-product-gallery-thumbnails__wrapper>[data-slide-number]{margin:0 0 15px;clear:both;}
}


.woosb-cart-child,.woosb-cart-child a{color:#aaa;}
.woosb-cart-child img{display:none;}


div.pll-dropdown{position:relative;width:3em;height:2em;}
ul.pll-dropdown{position:absolute;list-style:none;margin:0;display:flex;flex-direction:column;width:100%;background:var(--ast-global-color-4);}
ul.pll-dropdown>*{order:1;}
ul.pll-dropdown>.current-lang{order:0;}
ul.pll-dropdown .lang-item{height:2em;overflow:hidden;transition:0.4s height;}
ul.pll-dropdown:not(:hover):not(:focus) .lang-item:not(.current-lang){height:0;}
ul.pll-dropdown .lang-item>a{display:block;height:100%;display:flex;align-items:center;justify-content:center;}
ul.pll-dropdown .lang-item>a img{display:block;margin:0 auto;}
.ast-builder-html-element>p:empty{display:none;}


body.woocommerce-account #primary{padding:0;margin:0;}

.woocommerce-terms-and-conditions .wp-block-uagb-container{display:block;}
.customize-partial-edit-shortcut:has(+.ep-show-language-pl)::after,.customize-partial-edit-shortcut:has(+.ep-show-language-en)::after{
    content:"PL";
    position: absolute;
    background: #9ebbd5;
    left: 26px;
    height: 24px;
    width: 24px;
    top: 1px;
    color: #fff;
    line-height: 24px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;}
.customize-partial-edit-shortcut:has(+.ep-show-language-en)::after{content:"EN";}


@media (max-width: 767px) {
    body .ast-site-header-cart .ast-woo-header-cart-info-wrap, body .ast-edd-site-header-cart .ast-edd-header-cart-info-wrap{display:none;}
}


@media only screen and (max-width: 767px) {
    .woocommerce div.product form.cart .button.single_add_to_cart_button,.woocommerce .single_add_to_cart_button{white-space:nowrap;width:auto;max-width:unset;}
}

@media only screen and (max-width: 921px) {
    .ast-article-single.product{display:flex;flex-direction:column;}
    .ast-article-single.product>*{order:2;}
    .ast-article-single.product>.summary.entry-summary{order:1;}
}
@media only screen and (max-width: 767px) {
    div.summary.entry-summary{display:flex;flex-direction:column;}
    div.summary.entry-summary>*{order:5;}
    div.summary.entry-summary>.woocommerce-breadcrumb{order:1;}
    div.summary.entry-summary>:is(.product_title,.entry-title){order:2;}
    div.summary.entry-summary>.price{order:3;}
    div.summary.entry-summary>form.cart{order:4;}
}

.site-above-footer-wrap[data-section="section-above-footer-builder"] section.widget_block.widget_text{margin-bottom:0;}
.site-above-footer-wrap[data-section="section-above-footer-builder"] p{margin-bottom:0;}


section.newsletter-form{border-top:1px solid #dddddd;}
form.glossa-newsletter button{background:var(--ast-global-color-0);color:var(--ast-global-color-5);}
/*
section.newsletter-form .ast-builder-grid-row{
    padding-top:20px;padding-bottom:20px;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    min-height: 100px;
    margin-left: auto;
    margin-right: auto;grid-row-gap:30px;}
section.newsletter-form .ast-builder-grid-row>:first-child{order:2;}
@media only screen and (max-width: 912px) {
    section.newsletter-form{padding-left:20px;padding-right:20px;}
}
section.newsletter-form .sub_header{margin:0 0 1.5em;}
section.newsletter-form .sub_header strong{display:block;
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 0 0 1em;
    text-wrap: balance;
    width: 90%;}

@media only screen and (min-width: 768px) {
    section.newsletter-form form{display:grid;grid-template-columns:1fr 30%;gap:20px;}
    section.newsletter-form form>.sub_header{grid-column:1/span 2;}
}

@media only screen and (max-width: 767px) {
    section.newsletter-form .ast-builder-grid-row{grid-template-columns:1fr;}
    section.newsletter-form .ast-builder-grid-row>:first-child{order:0;}
    section.newsletter-form .ast-builder-grid-row>:first-child img{width:100%;}
}
*/


.woocommerce ul.products li.product .astra-shop-summary-wrap, .woocommerce-page ul.products li.product{}
.woocommerce ul.products li.product .astra-shop-summary-wrap, .woocommerce-page ul.products li.product .astra-shop-summary-wrap{flex-grow:1;display:flex;flex-direction:column;}
.woocommerce ul.products li.product .astra-shop-summary-wrap, .woocommerce-page ul.products li.product .astra-shop-summary-wrap a.ast-loop-product__link{flex-grow:1;}
.woocommerce ul.products li.product .astra-shop-summary-wrap .date::before{content:"\e614";font-family: "Material Symbols Outlined",sans-serif;color:var(--ast-global-color-0);font-size:120%;vertical-align:-0.16em;margin:0 0.2em 0 0;}

.woocommerce-js div.product .woocommerce-tabs ul.tabs li a{text-transform:uppercase;color:var(--ast-global-color-2);font-weight:600;}
.woocommerce-js div.product .woocommerce-tabs ul.tabs li.active a{color:var(--ast-global-color-0);outline:none;}
.woocommerce-js div.product .woocommerce-tabs ul.tabs li.active::before{height:4px;background-color:var(--ast-global-color-0);}

body.theme-astra #gl-cmp-settings{--color-main:var(--ast-global-color-0);--color-light:var(--ast-global-color-5);--color-accent:var(--ast-global-color-0);}
body.theme-astra #gl-cmp-settings fieldset.buttons>button:not(.default){border:none;background:var(--ast-global-color-6);}
body.theme-astra #gl-cmp-settings h3{color:var(--ast-global-color-0);}
body.theme-astra #gl-cmp-settings :is(p,label){color:var(--ast-global-color-2);}
body.theme-astra #gl-cmp-settings form{max-width:100%;width:1240px;padding:0 20px;}

body #glossaregister.presentation h4, body #glossaregister.presentation fieldset legend{color:#000;}
body #glossaregister.presentation button[name="next"]:not(:disabled):hover, body #glossaregister.presentation button[name="save"]:not(:disabled):hover, body #glossaregister.presentation button[name="close"]:not(:disabled):hover, body #glossaregister.presentation button[name="setPage"]:not(:disabled):hover,
body #glossaregister.presentation button[name="next"], body #glossaregister.presentation button[name="save"], body #glossaregister.presentation button[name="close"], body #glossaregister.presentation button[name="setPage"]{background-color:var(--ast-global-color-0);}
body #glossaregister.presentation h1{background-color:#79adb8;}


ul.wc_payment_methods.payment_methods.methods label img{max-height:50px;}

.blog-post-list>ul{margin:0;}
.blog-post-list>ul .ast-article-single{padding:0;}
.blog-post-list h2>a{color:inherit;font:inherit;}


body.single-post header.entry-header{display:grid;gap:0 50px;grid-template-columns: 2fr 3fr;grid-template-areas: "img ." "img breadcrumbs" "img h1" "img meta";}
body.single-post header.entry-header>.post-thumb{grid-area:img;margin-bottom:0;}
body.single-post header.entry-header>.entry-title{grid-area:h1;}
body.single-post header.entry-header>.ast-breadcrumbs-wrapper{grid-area:breadcrumbs;}
body.single-post header.entry-header>.entry-meta{grid-area:meta;}
body.single-post header.entry-header h1{font:600 30px / 1.2 "Montserrat", sans-serif;color:var(--ast-global-color-0);}

.ast-breadcrumbs{color:var(--ast-global-color-8);--underline-color:var(--ast-global-color-8);}
.ast-breadcrumbs a{color:inherit;background-image:linear-gradient(var(--underline-color), var(--underline-color));
        background-size: 0% 0.1em;
        background-position: 0 100%;
        background-position-x: 0px;
        background-position-y: 100%;
        background-repeat: no-repeat;
        transition: background-size .3s linear;}
.ast-breadcrumbs a:hover{background-size: 100% 0.1em;}

a.gray-underline{color:inherit;background-image:linear-gradient(var(--underline-color), var(--underline-color));
        background-size: 0% 0.1em;
        background-position: 0 100%;
        background-position-x: 0px;
        background-position-y: 100%;
        background-repeat: no-repeat;
        transition: background-size .3s linear;}
a.gray-underline:hover{background-size: 100% 0.1em;}

.ast-separate-container .type-post .ast-article-inner{padding:0;box-shadow:none;}
.ast-separate-container .type-post .ast-article-inner h2,.ast-separate-container .type-post .ast-article-inner h2 a{color:var(--ast-global-color-0);font-size:24px;font-weight:600;line-height:1.3em;}
.ast-separate-container .type-post .ast-article-inner img.wp-post-image{object-fit: cover;}
.page-title.ast-archive-title{color:var(--ast-global-color-0);font-weight:600;font-size:2.2rem;}

ul.blog-categories-nav{list-style:none;margin:0;color:var(--ast-global-color-8);--underline-color:var(--ast-global-color-8);font-weight:400;}
ul.blog-categories-nav>li{display:inline;}
ul.blog-categories-nav>li:not(:last-child)::after{content:"\002f";padding: 0 0.3em;}
ul.blog-categories-nav>li.selected{font-weight:600;}
ul.blog-categories-nav>li.selected::after{font-weight:400;}

.wp-block-query>ul{margin:0;}
.wp-block-query>ul h2>a{font:inherit;color:inherit;}

.ast-separate-container .ast-archive-description,
.ast-separate-container .ast-author-box,
.ast-separate-container .ast-woocommerce-container,
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single,
body.archive .ast-archive-description{padding-left:0;padding-top:0;padding-right:0;}


.sort-menu{position:relative;z-index:1;background:url(img/sort.png) 0 0.45em no-repeat;background-size:1em;color:var(--ast-global-color-8);padding:0 0 0 1.3em;height:1.85714285714286em;white-space:nowrap;}
.sort-menu>*{display:block;background-color:var(--ast-global-color-5);overflow:hidden;text-overflow:ellipsis;height:1.85714285714286em;transition:.3s height;}
.sort-menu>a{color:inherit;}
.sort-menu>.selected{font-weight:600;}
.sort-menu:not(:hover)>*:not(.selected){height:0;overflow:hidden;}
