/*----------------------------------------------------*\
	LeLiLiz Confeitaria - Tema Moderno (Loja)
\*----------------------------------------------------*/

:root{
	--lelibiz-rosa: #fad2c0;
	--lelibiz-rosa-claro: #fff4ef;
	--lelibiz-marrom: #6d4938;
	--lelibiz-marrom-claro: #8a5a45;
}

html{
	scroll-behavior: smooth;
}

body{
	font-family: 'Montserrat', sans-serif;
}

/*----------------------------*\
	Header com efeito no scroll
\*----------------------------*/

#header-principal{
	position: sticky;
	top: 0;
	z-index: 999;
	transition: box-shadow .3s ease;
}

#header-principal.header-scrolled{
	box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.header-search{
	padding: 10px 0;
}

.header-search form{
	display: flex;
	max-width: 420px;
	margin: 0 auto;
}

.header-search form .input{
	flex: 1 1 auto;
	width: auto;
	height: 44px;
	border: none;
	border-radius: 40px 0 0 40px;
	margin-right: 0;
}

.header-search form .search-btn{
	flex: 0 0 auto;
	height: 44px;
	width: 50px;
	border-radius: 0 40px 40px 0;
	background: var(--lelibiz-marrom) !important;
	border-color: var(--lelibiz-marrom) !important;
}

.logo-wordmark{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.logo-wordmark i{
	font-size: 26px;
	color: var(--lelibiz-rosa);
}

.logo-wordmark span{
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	font-size: 1.5rem;
	letter-spacing: .5px;
	color: #fff;
	line-height: 1.1;
}

.btn-hero-outline{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 2px solid #fff;
	color: #fff !important;
	padding: 8px 18px;
	border-radius: 40px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	transition: all .25s ease;
}

.btn-hero-outline:hover{
	background: #fff;
	color: var(--lelibiz-marrom) !important;
}

/*----------------------------*\
	Hero
\*----------------------------*/

.hero-moderno{
	position: relative;
	overflow: hidden;
	padding: 80px 0;
	background: linear-gradient(135deg, var(--lelibiz-rosa) 0%, var(--lelibiz-rosa-claro) 60%, #ffffff 100%);
}

.hero-blob{
	position: absolute;
	border-radius: 50%;
	filter: blur(10px);
	opacity: .5;
	z-index: 0;
}

.hero-blob-1{
	width: 340px;
	height: 340px;
	background: var(--lelibiz-marrom-claro);
	opacity: .12;
	top: -120px;
	right: -80px;
	animation: flutuar 8s ease-in-out infinite;
}

.hero-blob-2{
	width: 220px;
	height: 220px;
	background: var(--lelibiz-marrom);
	opacity: .10;
	bottom: -80px;
	left: -60px;
	animation: flutuar 10s ease-in-out infinite reverse;
}

@keyframes flutuar{
	0%, 100%{ transform: translateY(0px); }
	50%{ transform: translateY(25px); }
}

.hero-moderno .container{
	position: relative;
	z-index: 1;
}

.anim-entrada-esquerda{
	animation: entradaEsquerda .8s ease both;
}

.anim-entrada-zoom{
	animation: entradaZoom .8s ease both;
	animation-delay: .15s;
}

@keyframes entradaEsquerda{
	from{ opacity: 0; transform: translateX(-30px); }
	to{ opacity: 1; transform: translateX(0); }
}

@keyframes entradaZoom{
	from{ opacity: 0; transform: scale(.9); }
	to{ opacity: 1; transform: scale(1); }
}

.hero-tag{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: var(--lelibiz-marrom);
	padding: 6px 16px;
	border-radius: 40px;
	font-size: 13px;
	font-weight: 600;
	box-shadow: 0 4px 14px rgba(109,73,56,0.15);
	margin-bottom: 20px;
}

.hero-title{
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	color: var(--lelibiz-marrom);
	font-size: 2.7rem;
	line-height: 1.2;
	margin-bottom: 20px;
}

.hero-subtitle{
	font-size: 1.05rem;
	color: #6a5a52;
	max-width: 560px;
	margin-bottom: 28px;
}

.hero-btns{
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 30px;
}

.btn-hero-principal{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--lelibiz-marrom);
	color: #fff !important;
	padding: 13px 28px;
	border-radius: 40px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(109,73,56,0.30);
	transition: all .25s ease;
}

.btn-hero-principal:hover{
	background: var(--lelibiz-marrom-claro);
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(109,73,56,0.38);
}

.hero-moderno .btn-hero-outline{
	border-color: var(--lelibiz-marrom);
	color: var(--lelibiz-marrom) !important;
}

.hero-moderno .btn-hero-outline:hover{
	background: var(--lelibiz-marrom);
	color: #fff !important;
}

.hero-badges{
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
}

.hero-badge{
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--lelibiz-marrom-claro);
}

.hero-badge i{
	color: var(--lelibiz-marrom);
}

.hero-logo-wrapper{
	position: relative;
	display: inline-block;
}

.hero-logo-img{
	width: 100%;
	max-width: 340px;
	border-radius: 24px;
	box-shadow: 0 25px 60px rgba(109,73,56,0.35);
	animation: flutuarLogo 4s ease-in-out infinite;
}

@keyframes flutuarLogo{
	0%, 100%{ transform: translateY(0px) rotate(-1deg); }
	50%{ transform: translateY(-14px) rotate(1deg); }
}

/*----------------------------*\
	Diferenciais (faixa)
\*----------------------------*/

.diferenciais-strip{
	background: #fff;
	border-bottom: 1px solid #f1e2da;
	padding: 22px 0;
}

.diferencial-item{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	color: var(--lelibiz-marrom);
	padding: 6px 4px;
}

.diferencial-item i{
	color: var(--lelibiz-marrom-claro);
	font-size: 20px;
	flex: 0 0 auto;
}

/*----------------------------*\
	Section Titles
\*----------------------------*/

.section-title-moderno{
	margin-bottom: 30px;
}

.section-eyebrow{
	display: inline-block;
	color: var(--lelibiz-marrom-claro);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.section-title-moderno .title{
	font-family: 'Playfair Display', serif;
	color: var(--lelibiz-marrom);
	font-weight: 700;
}

.section-subtitle{
	color: #8a7a72;
	font-size: 0.95rem;
	margin-top: -6px;
}

.section-produtos-bg{
	background: var(--lelibiz-rosa-claro);
}

/*----------------------------*\
	Categorias
\*----------------------------*/

.categorias-grid{
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
}

.btn-categoria-moderno{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid #f1e2da;
	padding: 20px 26px;
	border-radius: 18px;
	box-shadow: 0 4px 14px rgba(109,73,56,0.08);
	transition: all .25s ease;
	min-width: 140px;
}

.btn-categoria-moderno:hover,
.btn-categoria-moderno.ativa{
	background: var(--lelibiz-marrom);
	border-color: var(--lelibiz-marrom);
	transform: translateY(-4px);
	box-shadow: 0 12px 26px rgba(109,73,56,0.28);
}

.btn-categoria-moderno .icone-categoria{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--lelibiz-rosa);
	color: var(--lelibiz-marrom);
	font-size: 19px;
	transition: all .25s ease;
}

.btn-categoria-moderno:hover .icone-categoria,
.btn-categoria-moderno.ativa .icone-categoria{
	background: #fff;
}

.btn-categoria-moderno .nome-categoria{
	font-weight: 700;
	font-size: 14px;
	color: var(--lelibiz-marrom);
	transition: color .25s ease;
}

.btn-categoria-moderno .qtd-categoria{
	font-size: 11px;
	color: #a2938c;
	transition: color .25s ease;
}

.btn-categoria-moderno:hover .nome-categoria,
.btn-categoria-moderno.ativa .nome-categoria{
	color: #fff;
}

.btn-categoria-moderno:hover .qtd-categoria,
.btn-categoria-moderno.ativa .qtd-categoria{
	color: rgba(255,255,255,0.75);
}

/*----------------------------*\
	Como Pedir
\*----------------------------*/

.passo-card{
	position: relative;
	background: #fff;
	border: 1px solid #f1e2da;
	border-radius: 16px;
	padding: 34px 24px 26px;
	text-align: center;
	height: 100%;
	transition: transform .3s ease, box-shadow .3s ease;
}

.passo-card:hover{
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(109,73,56,0.14);
}

.passo-numero{
	position: absolute;
	top: -16px;
	left: 50%;
	transform: translateX(-50%);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--lelibiz-marrom);
	color: #fff;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 14px rgba(109,73,56,0.35);
}

.passo-icone{
	font-size: 34px;
	color: var(--lelibiz-marrom-claro);
	margin: 14px 0;
	display: block;
}

.passo-card h4{
	color: var(--lelibiz-marrom);
	font-weight: 700;
	margin-bottom: 10px;
}

.passo-card p{
	color: #786a63;
	font-size: 0.92rem;
	margin-bottom: 0;
}

/*----------------------------*\
	CTA Final
\*----------------------------*/

.cta-final{
	background: linear-gradient(135deg, var(--lelibiz-marrom) 0%, var(--lelibiz-marrom-claro) 100%);
	padding: 60px 0;
	text-align: center;
}

.cta-final h3{
	font-family: 'Playfair Display', serif;
	color: #fff;
	font-weight: 700;
	font-size: 2rem;
	margin-bottom: 10px;
}

.cta-final p{
	color: rgba(255,255,255,0.85);
	margin-bottom: 26px;
	font-size: 1.05rem;
}

.cta-final .btn-hero-principal{
	background: #fff;
	color: var(--lelibiz-marrom) !important;
	box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.cta-final .btn-hero-principal:hover{
	background: var(--lelibiz-rosa);
	color: var(--lelibiz-marrom) !important;
}

/*----------------------------*\
	Mapa no rodapé
\*----------------------------*/

.footer-map{
	margin-top: 30px;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,0.12);
	filter: grayscale(.2);
}

/*----------------------------*\
	Cards de Produtos (listar_produtos.php)
\*----------------------------*/

.product-widget-moderno{
	border: 1px solid #f1e2da;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 6px 18px rgba(109,73,56,0.08);
	transition: transform .3s ease, box-shadow .3s ease;
	height: 100%;
}

.product-widget-moderno:hover{
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(109,73,56,0.18);
}

.product-widget-moderno .product-img-moderno{
	position: relative;
	height: 170px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--lelibiz-rosa-claro);
}

.product-widget-moderno .product-img-moderno img{
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.product-widget-moderno:hover .product-img-moderno img{
	transform: scale(1.08);
}

.product-widget-moderno .whats-overlay{
	position: absolute;
	inset: 0;
	background: rgba(109,73,56,0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity .3s ease;
}

.product-widget-moderno:hover .whats-overlay{
	opacity: 1;
}

.product-widget-moderno .whats-overlay span{
	background: #fff;
	color: var(--lelibiz-marrom);
	padding: 8px 16px;
	border-radius: 30px;
	font-size: 12px;
	font-weight: 700;
}

/*----------------------------*\
	Skeleton (carregando produtos)
\*----------------------------*/

.skeleton-card{
	border: 1px solid #f1e2da;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	padding-bottom: 16px;
}

.skeleton-img{
	height: 170px;
	background: linear-gradient(90deg, #f6e8df 25%, #fbf1ec 37%, #f6e8df 63%);
	background-size: 400% 100%;
	animation: skeletonPulso 1.4s ease infinite;
}

.skeleton-linha{
	height: 12px;
	margin: 12px auto 0;
	border-radius: 6px;
	background: linear-gradient(90deg, #f6e8df 25%, #fbf1ec 37%, #f6e8df 63%);
	background-size: 400% 100%;
	animation: skeletonPulso 1.4s ease infinite;
}

@keyframes skeletonPulso{
	0%{ background-position: 100% 50%; }
	100%{ background-position: 0 50%; }
}

/*----------------------------*\
	Estado vazio (sem produtos)
\*----------------------------*/

.estado-vazio-produtos{
	text-align: center;
	padding: 50px 20px;
	color: #a2938c;
}

.estado-vazio-produtos i{
	font-size: 42px;
	color: var(--lelibiz-rosa);
	margin-bottom: 14px;
	display: block;
}

.estado-vazio-produtos p{
	color: var(--lelibiz-marrom);
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 4px;
}

.estado-vazio-produtos span{
	font-size: 0.9rem;
}

/*----------------------------*\
	Whatsapp Flutuante
\*----------------------------*/

.whatsapp-flutuante{
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #25D366;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 30px;
	box-shadow: 0 6px 20px rgba(37,211,102,0.5);
	z-index: 998;
	text-decoration: none;
}

.whatsapp-flutuante:hover{
	color: #fff;
}

.whatsapp-pulso{
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #25D366;
	animation: pulso 1.8s infinite;
	z-index: -1;
}

@keyframes pulso{
	0%{ transform: scale(1); opacity: .6; }
	100%{ transform: scale(1.9); opacity: 0; }
}

/*----------------------------*\
	Voltar ao topo
\*----------------------------*/

#btn-voltar-topo{
	position: fixed;
	bottom: 24px;
	left: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--lelibiz-marrom);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all .3s ease;
	z-index: 998;
	box-shadow: 0 6px 16px rgba(109,73,56,0.35);
}

#btn-voltar-topo.mostrar{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

#btn-voltar-topo:hover{
	background: var(--lelibiz-marrom-claro);
	color: #fff;
}

/*----------------------------*\
	Footer
\*----------------------------*/

.footer-moderno{
	background: #1c1310;
	color: #d9c9c1;
}

.footer-moderno .footer-logo{
	width: 90px;
	border-radius: 12px;
	margin-bottom: 15px;
}

.footer-moderno .footer-title{
	color: var(--lelibiz-rosa);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 16px;
	margin-bottom: 18px;
}

.footer-moderno .footer-links li{
	margin-bottom: 10px;
	list-style: none;
}

.footer-moderno .footer-links a,
.footer-moderno .footer-links li{
	color: #d9c9c1;
	text-decoration: none;
}

.footer-moderno .footer-links i{
	color: var(--lelibiz-rosa);
	margin-right: 8px;
}

.footer-moderno .footer-links a:hover{
	color: var(--lelibiz-rosa);
}

.footer-social{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255,255,255,0.08);
	color: #fff !important;
	margin-right: 10px;
	transition: background .25s ease;
}

.footer-social:hover{
	background: var(--lelibiz-marrom-claro);
}

.footer-copy{
	border-top: 1px solid rgba(255,255,255,0.1);
	margin-top: 30px;
	padding-top: 20px;
	font-size: 13px;
	color: #a2938c;
}

/*----------------------------*\
	Responsivo
\*----------------------------*/

@media only screen and (max-width: 991px){
	.hero-title{
		font-size: 2rem;
	}

	.hero-logo-wrapper{
		margin-top: 30px;
	}
}

@media only screen and (max-width: 767px){
	#top-header .header-links li{
		font-size: 11px;
		margin-right: 10px;
	}

	.header-logo{
		text-align: center;
		margin-bottom: 4px;
	}

	.logo-wordmark span{
		font-size: 1.2rem;
	}

	.logo-wordmark i{
		font-size: 20px;
	}

	.header-search{
		padding: 6px 0 14px;
	}

	.header-search form{
		max-width: 100%;
	}

	.hero-moderno{
		padding: 50px 0;
		text-align: center;
	}

	.hero-subtitle{
		margin-left: auto;
		margin-right: auto;
	}

	.hero-btns, .hero-badges{
		justify-content: center;
	}

	.diferencial-item{
		font-size: 12px;
		flex-direction: column;
		gap: 6px;
	}

	.btn-categoria-moderno{
		min-width: 110px;
		padding: 16px 18px;
	}

	.cta-final h3{
		font-size: 1.5rem;
	}

	.passo-card{
		margin-bottom: 8px;
	}
}

@media only screen and (max-width: 480px){
	.diferenciais-strip .col-6{
		padding-left: 6px;
		padding-right: 6px;
	}

	.categorias-grid{
		gap: 10px;
	}

	.btn-categoria-moderno{
		min-width: 100px;
		padding: 14px 14px;
	}
}
