/**
Theme Name: Astra Child
Author: All is Singular
Author URI: https://allissingular.com
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
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
*/

/* Forçar height nas imagens do slide da homepage */
/*.site-content .ast-article-image-container--full{
	max-height: 600px;
    overflow: hidden;
}*/

.hidden {
	display: none;
}


/* Cor de Fundo da página Catalogo */
.page-id-5415, .page-id-6013, .page-id-6015 {
	background-color: var(--ast-global-color-7);
}


/* Alinhar button Load more images da image gallery*/
.spectra-image-gallery__control-button.wp-block-button__link {
    width: auto;
}

.spectra-image-gallery__control-wrapper.wp-block-button {
	padding:20px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Traço antes e depois de Titulos H2 */

h2.sc_item_title:before {
    content: '';
    height: 1px;
    width: 15%;
    position: relative;
    display: inline-block;
    top: -6px;
    margin-right: 0.7em;
    background-color: #bfa34b !important;
}
h2.sc_item_title:after {
    content: '';
    height: 1px;
    width: 15%;
    position: relative;
    display: inline-block;
    top: -6px;
    margin-left: 0.3em;
    background-color: #bfa34b !important;
}


/* Formatação Catalogo */
.product-grid h4, .necrologia-item h4 {
    font-size: 0.9em;
	text-transform: none;
}

.product-filters {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding: 0;
	margin: 0 0 20px 0;
}

.product-filters li {
	padding: 6px 12px;
	cursor: pointer;
	transition: background 0.3s;
	color: var(--ast-global-color-0);
	font-weight: 600;
}

.product-filters li.active,
.product-filters li:hover {
	background-color: var(--ast-global-color-0);
	color: white;
}

.product-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}

.product-item {
	width: 290px;
	padding: 10px;
	text-align: center;
}

.product-item img {
width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* Makes container square */
    object-fit: cover;   /* Ensures image fills space */
	padding-bottom: 10px;
}

ul.product-filters {
    justify-content: center;
}

.glightbox-clean .gslide-title{
	margin-bottom:0px !important;
}


/* Formatação Necrologia Gallery */

.necrologia-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.necrologia-item {
    text-align: center;
    width: 275px;
}

.necrologia-item img {
    width: 100%;
    height: auto; /* natural height */
    display: block;
    margin: 0 auto;
    border-radius: 8px;
	padding-bottom: 10px;
}


@media (max-width: 600px) {
    .product-item {
        width: 100% !important;
    }
	.site-content .ast-article-image-container--full{
		max-height: inherit;
    	overflow: hidden;
	}
}