@keyframes fade-in {
from {
background-color: rgba(0, 0, 0, 0);
}
to {
background-color: rgba(0, 0, 0, 0.8);
}
}
@keyframes fade-out {
from {
background-color: rgba(0, 0, 0, 0.8);
}
to {
background-color: rgba(0, 0, 0, 0);
}
}
@keyframes slide-in {
from {
transform: translateX(500px);
}
to {
transform: translateX(0px);
}
}
@keyframes slide-out {
from {
transform: translateX(0px);
}
to {
transform: translateX(500px);
}
}
@layer base {
}
#cart-drawer[data-state="open"] {
animation: fade-in 0.4s forwards;
}
#cart-drawer[data-state="closed"] {
animation: fade-out 0.4s forwards;
}
#cart-drawer[data-state="open"] > div {
animation: slide-in 0.4s forwards;
}
#cart-drawer[data-state="closed"] > div {
animation: slide-out 0.4s forwards;
}
.dialog[data-state="open"] {
animation: fade-in 0.4s forwards;
}
.dialog[data-state="closed"] {
animation: fade-out 0.4s forwards;
}
.dialog[data-state="open"] > div {
animation: dialog-in 0.2s forwards;
}
.dialog[data-state="closed"] > div {
animation: dialog-out 0.2s forwards;
}
@keyframes dialog-in {
from {
opacity: 0;
scale: 50%;
}
to {
opacity: 1;
scale: 100%;
}
}
@keyframes dialog-out {
from {
opacity: 1;
scale: 100%;
}
to {
opacity: 0;
scale: 50%;
}
}
#category-section,
#category #products-list {
scroll-margin-top: 100px;
transition: opacity 0.5s ease-out, transform 0.5s ease-out;
opacity: 0;
transform: translateY(20px);
}
#category-section.visible,
#category #products-list.visible {
opacity: 1;
transform: translateY(0);
}
@keyframes loading {
0% {
left: -50%;
}
to {
left: 100%;
}
}
/* Botão Flutuante */
.whatsapp-float {
position: fixed;
bottom: 20px;
right: 20px;
width: 60px;
height: 60px;
background: #25d366;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
transition: all 0.3s ease;
z-index: 1000;
}
.whatsapp-float:hover {
transform: scale(1.1);
box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}
.whatsapp-float svg {
width: 32px;
height: 32px;
fill: white;
}
/* Interface do Chat */
.chat-container {
position: fixed;
bottom: 90px;
right: 20px;
width: 350px;
height: 500px;
background: white;
border-radius: 12px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
display: none;
flex-direction: column;
z-index: 1001;
overflow: hidden;
}
.chat-container.active {
display: flex;
}
/* Header do Chat */
.chat-header {
background: #075e54;
color: white;
padding: 15px 20px;
display: flex;
align-items: center;
gap: 12px;
}
.chat-avatar {
width: 40px;
height: 40px;
background-image: url("https://i.imgur.com/YYs7WJm.png");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 16px;
border: 2px solid rgba(255, 255, 255, 0.2);
}
.chat-info h3 {
font-size: 16px;
font-weight: 500;
}
.chat-info p {
font-size: 12px;
opacity: 0.8;
}
.chat-close {
margin-left: auto;
cursor: pointer;
padding: 5px;
border-radius: 50%;
transition: background 0.2s;
}
.chat-close:hover {
background: rgba(255, 255, 255, 0.1);
}
/* Área de Mensagens */
.chat-messages {
flex: 1;
padding: 20px;
overflow-y: auto;
background: #e5ddd5;
background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
/* Mensagem do Bot */
.message {
margin-bottom: 15px;
display: flex;
align-items: flex-end;
gap: 8px;
}
.message.bot {
justify-content: flex-start;
}
.message.user {
justify-content: flex-end;
}
.message-bubble {
max-width: 80%;
padding: 10px 15px;
border-radius: 18px;
font-size: 14px;
line-height: 1.4;
position: relative;
color: #000;
}
.message.bot .message-bubble {
background: white;
border-bottom-left-radius: 4px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.message.user .message-bubble {
background: #dcf8c6;
border-bottom-right-radius: 4px;
}
.message-time {
font-size: 11px;
color: #999;
margin-top: 5px;
text-align: right;
}
/* Botões Interativos */
.interactive-buttons {
margin-top: 10px;
display: flex;
flex-direction: column;
gap: 8px;
}
.interactive-btn {
background: white;
border: 1px solid #e0e0e0;
border-radius: 20px;
padding: 10px 15px;
cursor: pointer;
transition: all 0.2s;
font-size: 14px;
text-align: left;
}
.interactive-btn:hover {
background: #f5f5f5;
border-color: #25d366;
}
/* Área de Input */
.chat-input {
padding: 15px 20px;
background: white;
border-top: 1px solid #e0e0e0;
display: flex;
align-items: center;
gap: 10px;
}
.chat-input input {
flex: 1;
border: none;
outline: none;
padding: 10px 15px;
border-radius: 20px;
background: #f0f0f0;
font-size: 14px;
}
.send-btn {
width: 40px;
height: 40px;
background: #25d366;
border: none;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
}
.send-btn:hover {
background: #128c7e;
}
.send-btn svg {
width: 20px;
height: 20px;
fill: white;
}
/* Animações */
.typing-indicator {
display: flex;
align-items: center;
gap: 4px;
padding: 10px 15px;
background: white;
border-radius: 18px;
border-bottom-left-radius: 4px;
margin-bottom: 15px;
}
.typing-dot {
width: 8px;
height: 8px;
background: #999;
border-radius: 50%;
animation: typing 1.4s infinite;
}
.typing-dot:nth-child(2) {
animation-delay: 0.2s;
}
.typing-dot:nth-child(3) {
animation-delay: 0.4s;
}
@keyframes typing {
0%,
60%,
100% {
transform: translateY(0);
opacity: 0.5;
}
30% {
transform: translateY(-10px);
opacity: 1;
}
}
/* Responsivo */
@media (max-width: 480px) {
.chat-container {
width: calc(100vw - 40px);
height: calc(100vh - 140px);
bottom: 90px;
right: 20px;
left: 20px;
}
}
/* Estilos para campos de input e botões do chat */
.message-bubble input[type="email"] {
width: 100%;
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 8px;
margin-bottom: 10px;
font-size: 14px;
outline: none;
transition: border-color 0.2s;
}
.message-bubble input[type="email"]:focus {
border-color: #25d366;
}
.message-bubble button {
background: #25d366;
color: white;
border: none;
padding: 8px 16px;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
transition: background 0.2s;
}
.message-bubble button:hover {
background: #128c7e;
}
/* Estilos para links nas mensagens */
.message-bubble a {
color: #25d366;
text-decoration: none;
word-break: break-all;
}
.message-bubble a:hover {
text-decoration: underline;
}
/* NÃO REMOVA ESSA BUCETA DE CSS E VAI TOMAR NO CU */
#popup-notify {
position: fixed;
bottom: 20px;
left: 20px;
background: linear-gradient(135deg, #dc2626, #000000);
color: white;
padding: 15px 20px;
border-radius: 5px;
border: 2px solid #dc2626;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
opacity: 0;
transition: opacity 0.5s ease-in-out;
z-index: 1000;
max-width: 320px;
font-family: Arial, sans-serif;
display: flex;
align-items: center;
gap: 10px;
}
#popup-notify.show {
opacity: 1;
}
#popup-notify i {
font-size: 20px;
flex-shrink: 0;
}
#alert-popup {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.8);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
opacity: 1;
transition: opacity 0.5s ease;
}
#alert-popup.fade-out {
opacity: 0;
}
.popup-content {
background-color: #0a0a0a;
border: 2px solid #dc2626;
color: #ffffff;
padding: 2rem;
max-width: 600px; /* bom para desktop */
text-align: center;
border-radius: 12px;
box-shadow: 0 0 20px #ffd15240;
animation: fadeIn 0.3s ease-in-out;
}
/* Ajuste para celular */
@media (max-width: 600px) {
.popup-content {
width: 90%; /* ocupa quase toda a largura */
max-width: none; /* remove limite para não encolher */
}
}
.popup-icon {
font-size: 2.5rem;
color: #dc2626;
display: block;
margin-bottom: 1rem;
}
#close-popup {
margin-top: 1rem;
padding: 0.5rem 1.5rem;
background-color: #dc2626;
border: none;
border-radius: 8px;
color: #000;
font-weight: bold;
cursor: pointer;
transition: background 0.3s ease;
}
#close-popup:hover {
background-color: #dc2626;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
.effect {
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
}
.effect::before {
content: "";
position: absolute;
top: -50%;
left: 0;
width: 80px;
height: 300px;
background: linear-gradient(
to right,
transparent 0%,
rgba(255, 255, 255, 0.25) 50%,
transparent 100%
);
filter: blur(10px);
rotate: -25deg;
animation: effect-hover 1.2s ease infinite; /* velocidade aumentada */
}
@keyframes effect-hover {
from {
left: -40%;
}
to {
left: 120%;
}
}
.reveal-fade-up {
opacity: 0;
transform: translateY(30px);
transition:
opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
transition-delay: var(--delay, 0s);
will-change: opacity, transform;
}
.reveal-fade-up.visible {
opacity: 1;
transform: translateY(0);
}
