/*
 Theme Name: Astra Child
 Template: astra
*/

.custom-product-card {
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	background: #fff;
	text-align: left;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
	margin: 0 !important;
}

.custom-product-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.custom-product-content {
    padding: 8px;
}
.custom-product-card > div > a > img {
	max-width: 100%;
	border-radius: 5px;
	margin-bottom: 0 !important;
}

.custom-product-card .custom-product-title {
	font-size: 16px;
	font-weight: 400;
	margin: 0 0 5px;
    min-height: 55px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /** número de linhas que você quer exibir */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-product-card .custom-product-price {
	color: var(--ast-global-color-2);
	font-weight: 500;
	font-size: 18px;
}

.custom-product-wrapper .custom-price-pix,
.custom-product-wrapper .custom-installments {
	font-size: 14px;
	color: #555;
	margin: 0;
    line-height: 16px;
    font-weight: 200;
}

.custom-product-wrapper .custom-price-pix b,
.custom-product-wrapper .custom-installments b {
    font-weight: 400;
}

.custom-product-card .custom-buy-button {
	text-decoration: none;
	transition: background 0.3s;
}

.custom-product-card .add_to_cart_button {
    width: 100%;
    text-align: center;
}

.custom-product-card .custom-buy-button:hover {
	background-color: #019170;
}

.woocommerce ul.products, .woocommerce-page ul.products {
    gap: 12px;
}

@media (max-width: 767px) {
    .custom-product-card .custom-product-title {
        font-size: 11px;
        min-height: 40px;
    }
    
    .custom-product-wrapper .custom-price-pix,
    .custom-product-wrapper .custom-installments {
        font-size: 8px;
        line-height: 10px;
    }
    
    .custom-product-card .custom-product-price {
    	font-size: 11px;
    }
    
    .custom-product-card .custom-buy-button {
        font-size: 10px !important;   
        padding: 8px !important;
    }
}


/* Toast de confirmação */
#woo-toast {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: #4CAF50;
	color: white;
	padding: 12px 18px;
	border-radius: 5px;
	display: none;
	z-index: 9999;
}


.dgwt-wcas-open-pirx .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp {
    background-color: #251659;
}