/**
Theme Name: Astra Child
Author: LC
Author URI: https://www.libreriacasagrande.ch
Description: LC
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


/* Remove Read More product page link button */
.woocommerce-js ul.products li.product .button, .woocommerce-page ul.products li.product .button  { display: none !important;}

/* Remove category on product page */
.ast-woo-product-category { display: none !important;}
/* .ast-nav-menu .sub-menu { line-height: 0px; padding-bottom: 10px; } */

/* AWS search form  height: 35px; */
.aws-container .aws-search-form .aws-wrapper { width: 350px; height: 35px; }
.aws-container .aws-search-form .aws-search-btn { width: 35px; height: 35px; }  /* */
.aws-container .aws-search-form .aws-search-btn_icon { width: 35px; }
span.aws_result_title { color: #c00 !important; }

/* Post carousel */
.uagb-post__image { padding: 20px 40px 20px 40px; min-height: 250px !important;} /*  background-color: #E1E0D5; */
.lc-eventi .uagb-post__image { padding: 0 !important;; }
.uagb-post__title { padding-top: 15px; }


/* .woocommerce-js div.product div.images img { padding: 20px 40px 20px 40px; }  background-color: #E1E0D5; */

.uagb-post__text.uagb-post__title a:hover { color: #c00; !important; }
.wp-block-latest-posts__post-title:hover { color: #c00; !important; }  

/* Articles list */
.lc-events .wp-block-latest-posts__featured-image img { border-radius: 20px; }
.wp-block-latest-posts__post-title { font-family: "Open Sans"; text-transform: uppercase; font-weight: bold; }

/*.sub-menu { background-color: #f4f3ed !important; }  dark grey #E1E0D5 */
/* .ast-desktop .ast-builder-menu-1 .menu-item .sub-menu .menu-link { border-style: dotted !important; } */

/* Woocommerce force image height >> .woocommerce-js ul.products li.product a img { height: 335px !important;} */
/*  .lc-thumb div */ .astra-shop-thumbnail-wrap { height: 335px !important;}  

/* .woocommerce ul.products li.product a img { width: 150px; height: 225px; object-fit: cover; }  */
.attachment-medium.size-medium.wp-post-image { height: 225px; } 

.lc-thumb-2 div.astra-shop-thumbnail-wrap { height: 270px !important;}
#ast-cart-wrapper .ast-cart-non-sticky { width: 65%; }
#ast-cart-wrapper .cart-collaterals { width: 33%; }
.woocommerce-page.woocommerce-checkout table.shop_table thead, .woocommerce.woocommerce-checkout table.shop_table thead { background-color: var(--ast-global-dark-lfs); }

/* Woocommerce products list astra theme */
.astra-shop-thumbnail-wrap { height: 255px !important; width: 150px; }
.woocommerce-js ul.products li.product a img { width: 150px; height: 225px; display: block; }
.woocommerce-js ul.products li.product .ast-shop-product-out-of-stock, .woocommerce-page ul.products li.product .ast-shop-product-out-of-stock { bottom: 5em; font-weight: 700;  font-size: 0.8em; } /* text-transform: uppercase; */
.astra-shop-summary-wrap { padding-top: 15px; }
.woocommerce ul.products li.product .astra-shop-summary-wrap, .woocommerce-page ul.products li.product .astra-shop-summary-wrap, .woocommerce.ast-woocommerce-shop-page-list-style ul.products li.product .astra-shop-summary-wrap, .woocommerce-page.ast-woocommerce-shop-page-list-style ul.products li.product .astra-shop-summary-wrap { padding-top: 10px; }
.wp-block-latest-posts__post-excerpt { line-height: 1.5em; }

/* Remove related products */
.related.products { display: none !important; }

/* Customize single post o singl product page with header full width image */
.lc-fw img { display: flex; float: left; width: 100%; height: 250px; object-fit: cover; margin: 0px !important; padding: 0px; margin-bottom: 20px !important; text-align: left; }
div.lc-first-letter::first-letter{ font-family: "Jost"; font-size: 200%; font-weight: bold; color: #c00; }

/* Limit products title length in products list */
h2.woocommerce-loop-product__title, .autore { color: #000; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.autore { padding-top: 1em; }
.ast-loop-product__link :hover { color: #c00; }

/* Woocommerce search results force 5 columns layout
.woocommerce ul.products:not(.elementor-grid), .woocommerce-page ul.products:not(.elementor-grid) {
    grid-template-columns: repeat(5, 1fr);
}
*/

/* Punt search box in search results page on center */
.woocommerce-search-wrapper { width: 100% !important; text-align: center; display: block !important; margin: 20px auto;}
.woocommerce-search-wrapper form { display: inline-block; max-width: 600px; }
.woocommerce-search-wrapper { display: block !important; justify-content: center; align-items: center; }
.woocommerce-page #primary { width: 100% !important; }
.woocommerce-page #secondary { display: none !important; }
.woocommerce-search-container { width: 100% !important; text-align: center; margin-bottom: 20px;}
.woocommerce-search-container form { display: inline-block; width: 50%; }
.woocommerce-search-wrapper, .woocommerce-search-wrapper form { display: block !important; width: 100% !important; max-width: 100% !important; margin-bottom: 20px; }

/* AWS search form */
.aws-search-field { font-size: 1em !important; }
/* .woocommerce-page .content-area header.woocommerce-products-header img { width: 100%; display: block; } */
.woocommerce-page .content-area { display: block; }
.full-width-header img { width: 100% !important; height: 500px; }
.full-width-header { width: 100vw; max-width: 100%; overflow: hidden; display: block;}
.woocommerce-breadcrumb { display: none !important; }

/* Astra single article display featured image on left */
.single-post .post-container { display: flex !important; align-items: center; }
.single-post .featured-image img{ margin-right: 20px; }
.single-post .post-content { flex-grow: 1; }



/* sticky header for transparent header version 
.main-header-bar { top: 0px; position: fixed; width: 100%!important; } */