/* RESET */
*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
}

:root{
--rosa:#ff4d88;
--rosa2:#ff7aa8;
--rosaClaro:#fff0f6;
--texto:#333;
--sombra:0 15px 40px rgba(0,0,0,0.08);
}

/* BODY */
body{
font-family:'Poppins',sans-serif;
color:var(--texto);
background:
radial-gradient(circle at 10% 20%, #ffe6f0 0%, transparent 40%),
radial-gradient(circle at 90% 10%, #ffd6e8 0%, transparent 40%),
radial-gradient(circle at 50% 90%, #fff0f6 0%, transparent 40%),
#ffffff;
overflow-x:hidden;
}

.container{
max-width:1200px;
margin:auto;
padding:100px 20px;
}

/* NAVBAR */
.navbar{
position:fixed;
top:0;
width:100%;
padding:18px 6%;
display:flex;
justify-content:space-between;
align-items:center;
background:rgba(255,255,255,0.7);
backdrop-filter:blur(12px);
border-bottom:1px solid rgba(255,255,255,0.4);
z-index:1000;
}

.logo{
font-family:'Pacifico',cursive;
font-size:28px;
color:var(--rosa);
text-decoration:none;
}

.nav-links a{
margin-left:35px;
font-weight:500;
text-decoration:none;
color:#555;
transition:.3s;
}

.nav-links a:hover{
color:var(--rosa);
}

/* HERO */
.hero{
min-height:30vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
background:url("/static/foto_home/home.png");
background-size:cover;
background-position:center;
padding:40px;
}

.hero-content{
background:rgba(255,255,255,0.75);
backdrop-filter:blur(10px);
padding:60px;
border-radius:30px;
box-shadow:var(--sombra);
max-width:650px;
margin-top:250px;
animation:fadeUp 1s ease;
}

.hero h1{
font-family:'Pacifico',cursive;
font-size:64px;
color:var(--rosa);
margin-bottom:10px;
}

.hero p{
font-size:18px;
color:#666;
margin-bottom:30px;
}

/* BOTÕES */
.btn{
background:linear-gradient(45deg,var(--rosa),var(--rosa2));
padding:16px 45px;
border:none;
border-radius:50px;
color:white;
font-weight:600;
font-size:16px;
cursor:pointer;
box-shadow:0 10px 25px rgba(255,77,136,0.4);
transition:.35s;
}

.btn:hover{
transform:translateY(-4px) scale(1.03);
box-shadow:0 20px 45px rgba(255,77,136,0.45);
}

/* TITULOS */
.section-title{
text-align:center;
font-size:40px;
font-weight:700;
margin-bottom:10px;
}

.section-subtitle{
display:block;
text-align:center;
color:var(--rosa);
letter-spacing:2px;
font-size:14px;
margin-bottom:60px;
font-weight:600;
}

/* GRID */
.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:40px;
}

/* CARD PRODUTO */
.card{
background:white;
border-radius:24px;
overflow:hidden;
position:relative;
box-shadow:var(--sombra);
transition:.35s;
}

.card:hover{
transform:translateY(-12px) scale(1.02);
box-shadow:0 25px 60px rgba(255,77,136,0.25);
}

.card-img-wrapper{
height:230px;
overflow:hidden;
}

.card img{
width:100%;
height:100%;
object-fit:cover;
transition:.5s;
}

.card:hover img{
transform:scale(1.08);
}

/* EFEITO BRILHO */
.card::after{
content:"";
position:absolute;
top:0;
left:-120%;
width:60%;
height:100%;
background:linear-gradient(120deg,transparent,rgba(255,255,255,0.6),transparent);
transform:skewX(-25deg);
transition:.8s;
}

.card:hover::after{
left:130%;
}

/* TAG MAIS PEDIDO */
.queridinho{
position:absolute;
top:15px;
left:15px;
background:var(--rosa);
color:white;
font-size:12px;
padding:6px 12px;
border-radius:20px;
font-weight:600;
}

/* CARD BODY */
.card-body{
padding:28px;
text-align:center;
}

.card-body h3{
font-size:21px;
margin-bottom:10px;
}

.card-body p{
font-size:14px;
color:#777;
margin-bottom:18px;
}

/* PREÇO */
.preco{
font-size:22px;
font-weight:700;
color:var(--rosa);
margin-bottom:15px;
}

/* BOTÃO CARD */
.btn-card{
width:100%;
padding:13px;
border-radius:12px;
border:2px solid var(--rosa);
background:white;
color:var(--rosa);
font-weight:600;
cursor:pointer;
transition:.3s;
}

.btn-card:hover{
background:var(--rosa);
color:white;
}

/* CARRINHO BOTÃO */
.carrinho-btn{
position:fixed;
bottom:30px;
right:30px;
width:70px;
height:70px;
border-radius:50%;
background:linear-gradient(45deg,var(--rosa),var(--rosa2));
display:flex;
align-items:center;
justify-content:center;
color:white;
font-size:26px;
cursor:pointer;
box-shadow:0 15px 40px rgba(255,77,136,0.5);
z-index:999;
}

/* CONTADOR */
.contador{
position:absolute;
top:-6px;
right:-6px;
width:26px;
height:26px;
background:#ff3c6e;
border-radius:50%;
color:white;
display:flex;
align-items:center;
justify-content:center;
font-size:12px;
font-weight:700;
border:2px solid white;
}

/* MODAL CARRINHO */
.carrinho{

position:fixed;

top:50%;
left:50%;

transform:translate(-50%, -50%);

width:380px;
max-width:92%;

max-height:85vh;

overflow-y:auto;

background:white;

border-radius:20px;

padding:25px;

display:none;

box-shadow:0 25px 60px rgba(0,0,0,0.25);

z-index:1000;

animation:fadeUp .3s ease;

}

.carrinho h3{
color:var(--rosa);
margin-bottom:20px;
}

/* ITEM CARRINHO */
.item-carrinho{
display:flex;
align-items:center;
justify-content:space-between;
gap:10px;
margin-bottom:12px;
font-size:14px;
}

.quantidade{
display:flex;
align-items:center;
gap:8px;
}

.quantidade button{
background:var(--rosa);
border:none;
color:white;
width:25px;
height:25px;
border-radius:5px;
cursor:pointer;
}

.remover{
background:none;
border:none;
color:red;
font-size:16px;
cursor:pointer;
}

.total-box{
margin-top:20px;
padding-top:15px;
border-top:1px dashed #ddd;
display:flex;
justify-content:space-between;
font-weight:700;
}

/* CAIXINHA */
.caixinha{
text-align:center;
padding:80px 20px;
}

.caixa-opcoes{
display:flex;
justify-content:center;
gap:40px;
margin-top:40px;
flex-wrap:wrap;
}

.caixa-card{
background:white;
padding:30px;
border-radius:15px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
width:220px;
transition:0.3s;
}

.caixa-card:hover{
transform:translateY(-5px);
}

.caixa-card .preco{
font-size:26px;
color:var(--rosa);
font-weight:700;
display:block;
margin:10px 0;
}

.caixa-card button{
background:var(--rosa);
border:none;
color:white;
padding:10px 20px;
border-radius:8px;
cursor:pointer;
}

.destaque{
border:2px solid var(--rosa);
}

/* MODAL CAIXINHA (Unificado) */
.modal-caixa{
position:fixed;
top:50%;
left:50%;
transform:translate(-50%,-50%);
background:white;
padding:30px;
border-radius:15px;
box-shadow:0 20px 50px rgba(0,0,0,0.3);
display:none;
z-index:1000;
width:350px;
text-align:center;
/* Responsivo */
width:90%;
max-width:400px;
max-height:80vh;
overflow-y:auto;
}

.grid-doces{
display:grid;
grid-template-columns:1fr 1fr;
gap:10px;
margin:20px 0;
}

.doce-btn{
background:#ffe6f0;
border:none;
padding:10px;
border-radius:8px;
cursor:pointer;
}

.doce-escolhido{
display:flex;
justify-content:space-between;
align-items:center;
background:#ffe6f0;
padding:8px 12px;
border-radius:8px;
margin-bottom:6px;
}

.doce-escolhido button{
background:none;
border:none;
color:red;
cursor:pointer;
font-size:14px;
}

.fechar{
margin-top:10px;
background:none;
border:none;
color:red;
cursor:pointer;
}

/* FOOTER */
.footer{
background:#2b1a1a;
color:white;
margin-top:80px;
}

.footer-container{
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
flex-wrap:wrap;
padding:50px 20px;
}

.footer-logo h2{
font-family:'Pacifico';
color:var(--rosa);
font-size:28px;
margin-bottom:10px;
}

.footer-logo p{
color:#ddd;
}

.footer-info p{
margin:8px 0;
color:#ddd;
font-size:14px;
}

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

.footer-copy{
text-align:center;
padding:20px;
background:#1d1212;
font-size:13px;
color:#bbb;
}

/* ANIMAÇÕES */
@keyframes fadeUp{
from{
opacity:0;
transform:translateY(40px);
}
to{
opacity:1;
transform:translateY(0);
}
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* RESPONSIVIDADE (Unificado) */
@media(max-width:768px){
    /* Navbar */
    .navbar{
        justify-content:center;
    }
    .logo{
        font-size:24px;
    }
    .nav-links{
        display:none;
    }

    /* Hero */
    .hero{
        min-height:25vh;
        padding:20px;
    }
    .hero-content{
        margin-top:120px;
        padding:25px;
    }
    .hero h1{
        font-size:38px;
    }
    .hero p{
        font-size:15px;
    }

    /* Grid e Cards */
    .grid{
        grid-template-columns:1fr 1fr;
        gap:15px;
    }
    .card-img-wrapper{
        height:140px;
    }
    .card-body{
        padding:15px;
    }
    .card-body h3{
        font-size:16px;
    }

    /* Carrinho */
    .carrinho{
        width:90%;
        right:5%;
        bottom:100px;
    }
}

@media(max-width:600px){
    .grid-doces{
        grid-template-columns:1fr;
    }
}

/* Estilos adicionais (Pedido Opções) */
.pedido-opcoes h4{
margin-top:15px;
margin-bottom:8px;
font-size:15px;
}

.opcoes{
display:flex;
gap:10px;
margin-bottom:10px;
}

.radio-opcao{
background:#fff0f6;
padding:8px 12px;
border-radius:8px;
cursor:pointer;
font-size:14px;
}

.radio-opcao input{
margin-right:5px;
}

.pagamentos{
display:flex;
gap:10px;
flex-wrap:wrap;
}

.pagamento{
background:white;
border:2px solid #ff4d88;
padding:8px 14px;
border-radius:8px;
cursor:pointer;
font-size:14px;
font-weight:600;
}

.pagamento input{
display:none;
}

.pagamento:hover{
background:#ff4d88;
color:white;
}

/* Scroll Hint (Extraído do meio do código) */
.scroll-hint {
  text-align: center;
  color:#666;
  margin-bottom: 20px;
  font-size: 16px;
  animation: pulse 2s infinite;
}

.whatsapp-float{
position:fixed;
bottom:100px;
right:30px;
background:#25D366;
color:white;
width:60px;
height:60px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:30px;
box-shadow:0 10px 20px rgba(0,0,0,0.2);
z-index:999;
}

.info-loja{

display:flex;
justify-content:center;
gap:25px;

padding:25px;

background:#fff0f6;

font-weight:500;

flex-wrap:wrap;

}

.info-item{

background:white;

padding:12px 20px;

border-radius:10px;

box-shadow:0 5px 10px rgba(0,0,0,0.05);

font-size:14px;

}

.avaliacoes{

padding:60px 20px;
text-align:center;

}

.avaliacoes h2{

margin-bottom:30px;

}

.avaliacoes-grid{

display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;

}

.avaliacao{

background:white;

padding:20px;

border-radius:12px;

width:250px;

box-shadow:0 5px 15px rgba(0,0,0,0.08);

}

.avaliacao p{

margin:10px 0;

font-style:italic;

}

.fechar-carrinho{

position:absolute;

top:10px;
right:10px;

background:none;
border:none;

font-size:22px;

cursor:pointer;

color:#999;

}

.fechar-carrinho:hover{

color:#ff4d88;

}

.whatsapp-float {

position: fixed;

bottom: 30px;
left: 30px;

width: 60px;
height: 60px;

background: #25D366;

border-radius: 50%;

display: flex;
align-items: center;
justify-content: center;

color: white;
font-size: 28px;

box-shadow: 0 10px 25px rgba(0,0,0,0.25);

z-index: 999;

transition: 0.3s;

}

.whatsapp-float:hover {

transform: scale(1.1);

}

@keyframes whatsappPulse {

0% { transform: scale(1); }
50% { transform: scale(1.08); }
100% { transform: scale(1); }

}

.whatsapp-float{
animation: whatsappPulse 2s infinite;
}

@media (max-width:768px){

.carrinho{

width:95%;

max-height:80vh;

padding:20px;

}

}

.radio-opcao input,
.pagamento input{
display:none;
}

.radio-opcao span,
.pagamento span{

display:inline-block;

padding:10px 18px;

border-radius:8px;

border:2px solid #ddd;

cursor:pointer;

transition:0.3s;

background:white;

}

/* quando selecionado */

.radio-opcao input:checked + span,
.pagamento input:checked + span{

background:#ff4d88;

color:white;

border-color:#ff4d88;

}