/* Bafinho — Estilos da Marca */

/* Barra de anúncio no topo */
.bafinho-announcement-bar {
	background-color: #E8734A;
	color: white;
	text-align: center;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	width: 100%;
	box-sizing: border-box;
}

/* Barra de selos de confiança */
.bafinho-trust-badges {
	background-color: #FFF6EE;
	padding: 40px 20px;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
	margin-top: 40px;
}

.bafinho-trust-badges-container {
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0 auto;
}

.bafinho-trust-badge {
	flex: 1;
	min-width: 150px;
}

.bafinho-trust-badge-icon {
	font-size: 28px;
	margin-bottom: 8px;
	display: block;
}

.bafinho-trust-badge-text {
	margin: 0;
	font-size: 13px;
	color: #2B2420;
}

/* Footer — Link Livro de Reclamações */
.bafinho-footer-legal {
	text-align: center;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #eee;
	font-size: 12px;
	color: #666;
	width: 100%;
	box-sizing: border-box;
}

.bafinho-footer-legal-link {
	color: #0073aa;
	text-decoration: none;
	transition: color 0.2s ease;
}

.bafinho-footer-legal-link:hover {
	color: #E8734A;
	text-decoration: underline;
}

/* Responsividade mobile */
@media (max-width: 768px) {
	.bafinho-announcement-bar {
		font-size: 12px;
		padding: 8px 15px;
	}

	.bafinho-trust-badges {
		padding: 30px 15px;
	}

	.bafinho-trust-badges-container {
		gap: 20px;
	}

	.bafinho-trust-badge-icon {
		font-size: 24px;
	}

	.bafinho-trust-badge-text {
		font-size: 11px;
	}
}

/* ===== Homepage (redesign 2026-07-17) ===== */
.bafinho-hero {
	background: linear-gradient(135deg, #FFF6EE 0%, #FCEADD 100%);
	padding: 56px 24px 40px;
}
.bafinho-hero h1 {
	font-size: clamp(2rem, 4.5vw, 3.2rem);
	line-height: 1.15;
	color: #2B2420;
	margin-bottom: 16px;
}
.bafinho-hero-sub {
	font-size: 1.15rem;
	color: #5C5148;
	max-width: 46ch;
	margin-bottom: 24px;
}
.bafinho-hero-img img {
	max-height: 420px;
	width: auto;
	margin: 0 auto;
	display: block;
}
.bafinho-btn-primary .wp-block-button__link {
	background-color: #E8734A;
	color: #fff;
	border-radius: 8px;
	padding: 14px 28px;
	font-weight: 600;
	transition: background-color .2s ease, transform .15s ease;
}
.bafinho-btn-primary .wp-block-button__link:hover {
	background-color: #D45F37;
	transform: translateY(-1px);
}
.bafinho-btn-outline .wp-block-button__link {
	border: 2px solid #E8734A;
	color: #E8734A;
	border-radius: 8px;
	padding: 12px 26px;
	font-weight: 600;
}
.bafinho-btn-outline .wp-block-button__link:hover {
	background-color: #E8734A;
	color: #fff;
}
.bafinho-section {
	padding: 48px 0 8px;
}
.bafinho-section h2 {
	color: #2B2420;
	margin-bottom: 24px;
}
.bafinho-card {
	background: #FFF6EE;
	border-radius: 14px;
	padding: 24px;
	height: 100%;
	transition: box-shadow .2s ease, transform .15s ease;
}
.bafinho-card:hover {
	box-shadow: 0 8px 24px rgba(43, 36, 32, .10);
	transform: translateY(-2px);
}
.bafinho-card img {
	border-radius: 10px;
	max-height: 280px;
	width: auto;
	margin: 0 auto;
	display: block;
}
.bafinho-chips a {
	display: inline-block;
	background: #FFF6EE;
	border: 1px solid #EAD9C9;
	color: #2B2420;
	border-radius: 999px;
	padding: 8px 16px;
	margin: 4px;
	font-size: .95rem;
	text-decoration: none;
	transition: border-color .15s ease, background .15s ease;
}
.bafinho-chips a:hover {
	background: #E8734A;
	border-color: #E8734A;
	color: #fff;
}
.bafinho-promo-strip {
	background: #E8734A;
	padding: 44px 24px;
	margin-top: 40px;
}
.bafinho-promo-strip h2,
.bafinho-promo-strip p {
	color: #fff;
}
.bafinho-btn-invert .wp-block-button__link {
	background: #fff;
	color: #E8734A;
	border-radius: 8px;
	padding: 13px 28px;
	font-weight: 700;
}
.bafinho-btn-invert .wp-block-button__link:hover {
	background: #FFF6EE;
}
.bafinho-seo {
	max-width: 760px;
	margin: 0 auto;
	padding-bottom: 48px;
}
.bafinho-seo p {
	color: #5C5148;
	line-height: 1.7;
}
@media (max-width: 781px) {
	.bafinho-hero {
		padding: 32px 16px 24px;
	}
	.bafinho-hero .wp-block-columns {
		flex-direction: column-reverse;
	}
	.bafinho-hero-img img {
		max-height: 260px;
	}
	.bafinho-section {
		padding: 32px 0 4px;
	}
}

/* Header: o logo (imagem) já contém o wordmark — esconder o título em texto duplicado */
.site-title-container {
	display: none;
}

/* ===== Micro-interações (2026-07-17) ===== */
.bafinho-anim {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .55s ease, transform .55s ease;
}
.bafinho-visivel {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.bafinho-anim { opacity: 1; transform: none; transition: none; }
}
ul.products li.product {
	transition: transform .2s ease, box-shadow .2s ease;
	border-radius: 12px;
	padding-left: 16px;
	padding-right: 16px;
	box-sizing: border-box;
}
ul.products li.product figure {
	margin-left: 0;
	margin-right: 0;
}
ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(43, 36, 32, .12);
}
ul.products li.product img {
	transition: transform .3s ease;
}
ul.products li.product:hover img {
	transform: scale(1.04);
}
@keyframes bafinho-pulse-kf {
	0% { transform: scale(1); }
	40% { transform: scale(1.45); }
	100% { transform: scale(1); }
}
.bafinho-pulse {
	animation: bafinho-pulse-kf .5s ease;
	display: inline-block;
}
.bafinho-sticky-atc {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	background: #fff;
	border-top: 1px solid #EAD9C9;
	box-shadow: 0 -6px 20px rgba(43, 36, 32, .12);
	padding: 10px 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	z-index: 999;
	transform: translateY(110%);
	transition: transform .25s ease;
}
.bafinho-sticky-atc.bafinho-sticky-visivel {
	transform: none;
}
.bafinho-sticky-atc-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}
.bafinho-sticky-atc-nome {
	font-weight: 600;
	font-size: .9rem;
	color: #2B2420;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.bafinho-sticky-atc-preco {
	font-size: .9rem;
	color: #E8734A;
	font-weight: 700;
}
.bafinho-sticky-atc-btn {
	background: #E8734A;
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 12px 18px;
	font-weight: 700;
	font-size: .95rem;
	cursor: pointer;
}
.bafinho-sticky-atc-btn:active {
	background: #D45F37;
}
/* FiboSearch no header — integração visual */
.bafinho-header-search {
	max-width: 420px;
	margin: 0 auto;
	padding: 8px 16px;
}
.bafinho-header-search .dgwt-wcas-search-wrapp {
	max-width: 100%;
}
