/* Criativa - Loja: página individual do produto */

body.single-product .entry-summary { color: #222; }

/* ---------- Título ---------- */
body.single-product .entry-summary h1.product_title {
	font-size: 34px;
	line-height: 1.2;
	font-weight: 800;
	color: #1d1d1d;
	margin-bottom: 14px;
}

/* ---------- Preço ---------- */
body.single-product .entry-summary p.price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 10px;
	margin: 0 0 4px;
	color: #111;
}
body.single-product .entry-summary p.price .amount,
body.single-product .entry-summary p.price ins .amount {
	font-size: 36px;
	font-weight: 800;
	color: #111;
	line-height: 1.1;
}
body.single-product .entry-summary p.price del { order: 1; background: none; }
body.single-product .entry-summary p.price del .amount { font-size: 18px; font-weight: 400; color: #8a8a8a; }
body.single-product .entry-summary p.price ins { order: 2; background: none; text-decoration: none; }

/* Parcelamento */
body.single-product .entry-summary .installment-prices-for-woocommerce,
body.single-product .entry-summary .installment-prices-for-woocommerce p {
	margin: 0 0 14px !important;
	padding: 0 !important;
	font-size: 16px !important;
	line-height: 1.4 !important;
	font-weight: 500;
	color: #2a7a46 !important;
}
body.single-product .entry-summary .installment-prices-for-woocommerce .amount { font-size: 16px !important; font-weight: 800; color: #2a7a46 !important; }
/* Aviso solto do simulador ("Parcelamento indisponível no momento") */
body.single-product .entry-summary .simuparc--resumo .simuparc-notice { display: none !important; }

/* Preço sob consulta (adicionado pelo plugin) */
body.single-product .entry-summary .criativa-sem-preco {
	margin: 4px 0 14px;
	font-size: 22px;
	font-weight: 800;
	color: #444;
}

/* ---------- Compra: quantidade + carrinho na mesma linha ---------- */
body.single-product .entry-summary form.cart {
	display: flex !important;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 10px;
	margin: 0 0 10px !important;
}
body.single-product .entry-summary form.cart .quantity {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	height: 54px;
	margin: 0 !important;
}
body.single-product .entry-summary form.cart .single_add_to_cart_button {
	flex: 1 1 auto;
	height: 54px;
	margin: 0 !important;
	padding: 0 18px !important;
	border-radius: 10px !important;
	background: #f1ca00 !important;
	color: #111 !important;
	border: 2px solid #f1ca00 !important;
	font-size: 17px !important;
	font-weight: 800;
	text-transform: none;
	box-shadow: none !important;
}
body.single-product .entry-summary form.cart .single_add_to_cart_button:hover {
	background: #d9b500 !important;
	border-color: #d9b500 !important;
}

/* ---------- WhatsApp: largura total, mesma altura ---------- */
body.single-product .entry-summary .wa-order-class,
body.single-product .entry-summary .wa-order-unpurchasable { display: block !important; width: 100%; margin: 0 0 6px !important; }
body.single-product .entry-summary .wa-order-class .wa-order-button,
body.single-product .entry-summary .wa-order-unpurchasable .wa-order-button {
	width: 100% !important;
	height: 54px;
	border-radius: 10px !important;
	background: #fff !important;
	color: #11823f !important;
	border: 2px solid #25d366 !important;
	font-size: 17px !important;
	font-weight: 800;
	text-transform: none;
	box-shadow: none !important;
}
body.single-product .entry-summary .wa-order-class .wa-order-button:hover,
body.single-product .entry-summary .wa-order-unpurchasable .wa-order-button:hover {
	background: #25d366 !important;
	color: #fff !important;
}
/* Sem preço/estoque: o WhatsApp é a ação principal */
body.single-product .entry-summary .wa-order-unpurchasable .wa-order-button {
	background: #25d366 !important;
	color: #fff !important;
}
body.single-product .entry-summary .wa-order-unpurchasable .wa-order-button:hover { background: #1ebe5d !important; }

/* ---------- Bloco de informação ---------- */
body.single-product .entry-summary .criativa-info {
	margin: 14px 0 0;
	padding: 12px 14px;
	background: #f7f7f7;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: #444;
}
body.single-product .entry-summary .criativa-info strong { color: #222; }
body.single-product .entry-summary .criativa-info div + div { margin-top: 4px; }

/* ---------- Categoria / tags ---------- */
body.single-product .entry-summary .product_meta {
	margin-top: 20px;
	padding-top: 14px;
	border-top: 1px solid #ececec;
	font-size: 14px;
	color: #666;
}
body.single-product .entry-summary .product_meta > span { display: block; margin-bottom: 6px; }
body.single-product .entry-summary .product_meta a { color: #333; }

/* ---------- Celular ---------- */
@media (max-width: 640px) {
	body.single-product .entry-summary h1.product_title { font-size: 26px; }
	body.single-product .entry-summary p.price .amount,
	body.single-product .entry-summary p.price ins .amount { font-size: 30px; }
	body.single-product .entry-summary .installment-prices-for-woocommerce,
	body.single-product .entry-summary .installment-prices-for-woocommerce p { font-size: 14px !important; }
	body.single-product .entry-summary form.cart .single_add_to_cart_button { font-size: 15px !important; padding: 0 10px !important; }
	body.single-product .entry-summary .wa-order-class .wa-order-button,
	body.single-product .entry-summary .wa-order-unpurchasable .wa-order-button { font-size: 15px !important; }
}
