/* coverage wp-blocks */
.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    word-wrap: normal!important;
    border: 0;
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    overflow-wrap: normal!important;
    padding: 0;
    position: absolute!important;
    width: 1px;
}

/****************/
/* LINKS        */
/****************/


/* links colors */
div.uc_post_title,
a.ast-header-account-link,
li.product-category > a > h2.woocommerce-loop-category__title,
a.ast-loop-product__link > h2,
ul > li.menu-item > a { 
  color: #116379 !important;
  text-decoration: none !important;
}

div.uc_post_title:hover,
a.ast-header-account-link:hover,
h3.elementor-post__title > a:hover,
h2.elementor-heading-title > a:hover,
li.product-category > a > h2.woocommerce-loop-category__title:hover,
a.ast-loop-product__link > h2:hover,
ul > li.menu-item > a:hover,
/* recommended products grid on main page */
div.uc_title > a:hover { 
  color: #060097 !important;
  text-decoration: underline !important;
}

.uc_post_grid_style_one_button > a:hover { 
  background-color: #060097 !important;
}

div#postContent > div > p > a,
div#postContent > div > p > a:hover,
div#postContent > div > p > strong > a,
div#postContent > div > p > strong > a:hover {
  text-decoration: underline !important;
  font-weight: 600 !important;
}

/* removing outlines from all links */
a,
.ast-mobile-popup-header,
button.menu-toggle-close { 
  outline: 0 !important;
}


/****************/
/* HIDING STUFF */
/****************/


/* hiding category in meta section */
.product_meta > .posted_in,
/* hiding number of products in category */
mark.count,
/* removing filtering on empty categories and main page of shop */ 
body.sklep-glowna > div#page > div#content > div.ast-container > div#primary > main#main > div.ast-woocommerce-container > div.ast-shop-toolbar-container,
/* removing shop category name on main page */
body.sklep-glowna > div#page > div#content > div.ast-container > div#primary > main#main > div.ast-woocommerce-container > header.woocommerce-products-header,
/* removing products list caption on main page */
body.sklep-glowna > div#page > div#content > div.ast-container > div#primary > main#main > div.ast-woocommerce-container > h2.ourProducts,
/* same for "dedykowane wsparcie" */
body.term-7727 > div#page > div#content > div.ast-container > div#primary > main#main > div.ast-woocommerce-container > div.ast-shop-toolbar-container,
/* single "Vat" caption in mini-cart on sidebar */
.ast-mini-cart-price-wrap > small.tax_label,
/* "VAT" from cart in header */
.ast-woo-header-cart-total > small.tax_label,
/*meta under product title */
.product_meta > span.tagged_as
{ 
  display: none !important;
}


/**********************/
/* PRODUCT CATEGORIES */
/**********************/


body.archive.ast-woo-shop-archive > div#page > div#content { margin-top: 20px !important; }

/* out of stock colored in red */
.ast-shop-product-out-of-stock { color: red; }

/* adding Kategoria caption to category name on single product page */
.single-product-category:before { content: "Kategoria: "; }

/* little category content styling */
/* product category filter height adjustment */
.ast-collapse-filter .ast-filter-wrap { max-height: 550px !important; }

/* removing extra margin from answers in FAQ section of product categories */
.secondary_category_desc#secondSecondaryDesc > ol > li > p { margin-bottom: 5px !important; }

/* display catego name under the category picture */
h2.woocommerce-loop-category__title { bottom: -35px !important; }


/**************/
/* HEADER     */
/**************/


/* mobile toggle top menu */
button.menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal { background-color: var(--ast-global-color-0); }
ul#menu-mobileheadertoggle1 { text-align: center; }
ul#menu-mobileheadertoggle1 > li > a { color: var(--ast-global-color-8); }


/**************/
/* FOOTER     */
/**************/


/* info block in footer */
#block_contact_infos {
  background: #116379;
  color: #fff;
  padding: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 5px;
}

#block_contact_infos > h2, #block_contact_infos > .content, #block_contact_infos > .content > h3 {
  text-align: left;
  color: white;
}

/* adding extra margin to info block in footer and for extra desc fields for product categories */
#block_contact_infos > h3:nth-child(n+2),
.secondary_category_desc#firstSecondaryDesc, 
.secondary_category_desc#accordionDesc, 
.secondary_category_desc#secondSecondaryDesc {
  margin-top: 30px;
}

/* footer links adjustment */
aside.footer-widget-area > section > nav > ul { line-height: 1.5em; }
aside.footer-widget-area > section > nav > ul > li.menu-item > a { font-size: 0.76em; }


/* mobile fix for footer info block */
@media only screen and (min-width: 545px) {
  .site-footer-primary-section-4.site-footer-section.site-footer-section-4 { margin-top: -50px !important; }
}


/***********************/
/* SINGLE PRODUCT PAGE */
/***********************/


/* smaller gaps on product pages */
.woocommerce-products-header__title.page-title { margin-bottom: 0.4em !important; }

/* centering add-to-cart button */
.astra-shop-summary-wrap > a { text-align: center !important; }


/****************/
/* BLOG         */
/****************/


/* tag cloud styling */
.tagcloud a,
.wp-block-tag-cloud a,
#allTagsCloud > div > div > div > ul > li > a,
.post_tags > ul > li > a { 
  padding: 6px;
  border-radius: 12px;
  text-transform: lowercase;
  background-color: var(--ast-global-color-7);
  color:#fff;
  font-size: 18px !important;
  text-decoration: none !important;
}

.tagcloud,
#allTagsCloud > div > div > div > ul > li > a,
.post_tags > ul > li > a { 
  line-height: 2.5em !important;
}

/* extra margin below headers */
.elementor-widget-theme-post-content > div > h2,
.elementor-widget-theme-post-content > div > h3 { margin-bottom: 20px; }


/************************/
/* SINGLE CATEGORY PAGE */
/************************/


div#primary.content-area { margin: 0; }

div.widget-area.secondary { margin: 0 0 2.5em !important; }

h5.tags-title,
nav.menu-blogcategorysidemenu-container > ul > li > a { 
  font-size: 18px !important;
}

aside#block-17 > p.wp-block-tag-cloud > a {
  padding: 6px !important;
}

div.post-content > header.entry-header > div.entry-meta > span.cat-links:before { content: "Kategoria: "; }

.ast-pagination {
  padding: 0px !important;
  margin: 25px 0 25px 0;
}


/**************************/
/* VARIOUS SINGLE PAGES   */
/**************************/


/* CART - fix to show "Z Vat" correctly */
span.woocommerce-Price-amount.amount { width: 30% !important; }

/* HOMEPAGE - gap on main page */
body.page-id-49 > div.site#page > div#content > div.ast-container > div.content-area.primary { margin-top: -40px !important; }

body.term-7727 > div > div > div > div > main > div > h2.ourProducts { display: none; }


/*********************/
/* VARIOUS CHANGES   */
/*********************/

/* text coloring */
.term-description,
.secondary_category_desc,
.woocommerce-product-details__short-description,
.entry-content.wc-tab { 
  color: #1E293B;
}


/* header quick search extra border */
.dgwt-wcas-suggestions-wrapp.js-dgwt-wcas-initialized { border: 2px solid rgba(109,109,109, 0.1); }

/* shorter excerpt */
.elementor-post__excerpt { overflow: hidden; width:100%; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

/* vat caption alignment in side mini-cart */
p.woocommerce-mini-cart__total.total > small.tax_label { padding-top: 4px; }

/* cart caption in side mini-cart */
.astra-cart-drawer-title { font-size: 42px; }

/* pagination blog */
nav.elementor-pagination { margin-top: 30px; }

/* exerpt color change */
.post-content > .entry-content {
  font-size: 16px;
  color: #777 !important;
  text-align: justify;
  text-justify: newspaper;
}


/* ADDED TO CART */
.added-to-cart-notification {
  display: none;
  position: fixed;
  right: 20px;
  background-color: #4CAF50;
  color: white;
  padding: 15px;
  border-radius: 5px;
  z-index: 9999;
}
.added-to-cart-notification a {
  color: var(--e-global-color-astglobalcolor0);
  text-decoration: underline;
}

/*************************/
/* PC ONLY CHANGES   */
/*************************/

/* Tag cloud on archive page */
@media (min-width:768px) {

  h5.tags-title { 
    margin-bottom: -40px;
  }
  
  #mobileSearch,
  #fixedCartButton { display: none; }

  .added-to-cart-notification {  
    bottom: 20px;
  }

}

/*************************/
/* MOBILE ONLY CHANGES   */
/*************************/

@media (max-width:767px) {
  
  #mobileSearch {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4em;
    width: 90%; 
  }
  
  #fixedCartButton {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: var(--ast-global-color-5);
    background: var(--ast-global-color-7);
    padding: 20px 0;
    text-align: center;
    z-index: 9999;
    border-top: 2px solid var(--ast-global-color-2);
    box-sizing: border-box;
  }
  
  #fixedCartButton > a { color: var(--ast-global-color-5); }

  ul#menu-footerkategorie,
  ul#menu-footersklep,
  ul#menu-footerstrony { 
    margin-top: -20px;
  }
  
  section#mobileSearchBar { margin-top: 50px; }
  
  .uc_icon_carousel_container_holder { min-height: 280px !important; }
  
  aside.header-widget-area > section.widget_nav_menu { margin-left: 5% !important; }
  
  .added-to-cart-notification {  
    bottom: 100px;
  }
  
}
