@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --cor-primaria: #9b59b6;   /* Lavanda Vibrante */
    --cor-escua: #4a235a;      /* Roxo Profundo */
    --cor-fundo: #fbf8fc;      /* Branco Lavanda Suave */
    --cor-dourado: #d4af37;    /* Dourado Premium */
    --cor-texto: #555;
    --sombra-suave: 0 10px 30px rgba(155, 89, 182, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    padding-bottom: 100px;
}

/* --- TIPOGRAFIA GERAL --- */
h1, h2, h3, h4, h5, .titulo-elegante {
    font-family: 'Playfair Display', serif;
    color: var(--cor-escua);
}

/* --- NAVBAR ESTRUTURA --- */
.navbar {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(155, 89, 182, 0.1);
}

/* --- AQUI ESTÁ A CORREÇÃO DA LOGO --- */

.navbar-brand-centered {
    display: flex;
    align-items: center;     /* Alinha verticalmente no centro */
    justify-content: center; /* Alinha horizontalmente */
    text-decoration: none !important; /* Remove sublinhado */
    cursor: pointer;
}

/* O texto "Sonho de Flor" */
.logo-texto-group {
    display: flex;
    flex-direction: column;  /* Empilha o texto */
    align-items: flex-end;   /* Alinha o texto à direita (perto da imagem) */
    line-height: 0.85;       /* Junta as linhas */
    margin-right: 12px;      /* Espaço entre o texto e a imagem */
    color: var(--cor-escua) !important; /* FORÇA A COR ROXA (Mata o azul) */
}

.logo-parte1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;       /* Tamanho Grande "Sonho" */
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--cor-escua) !important;
}

.logo-parte2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.0rem;       /* Tamanho Grande "de Flor" */
    font-weight: 400;
    font-style: italic;
    color: var(--cor-escua) !important;
}

/* A Imagem da Lavanda (PNG) */
.logo-img-custom {
    height: 75px;      /* Altura fixa */
    width: auto;       /* Largura automática */
    display: block;    /* Garante que o navegador renderize como bloco */
    object-fit: contain;
}

/* --- OUTROS ELEMENTOS (Botões, Cards) --- */

/* Botões */
.btn-primary, .btn-comprar {
    background: linear-gradient(135deg, var(--cor-primaria), var(--cor-escua));
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
    color: #fff !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(155, 89, 182, 0.4);
    background: linear-gradient(135deg, var(--cor-escua), var(--cor-primaria));
}

/* Cards */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: 0.3s;
    background-color: #fff;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sombra-suave); }

/* Banner */
.hero-banner {
    position: relative;
    overflow: hidden;
}

/* Footer */
footer { border-top: 1px solid #eee; }

/* RESPONSIVIDADE (Mobile) */
@media (max-width: 991px) {
    .logo-parte1 { font-size: 1.8rem; } /* Diminui um pouco no celular */
    .logo-parte2 { font-size: 1.4rem; }
    .logo-img-custom { height: 50px; }
}
/* --- CORREÇÃO MOBILE (FOTOS E LAYOUT) --- */
@media (max-width: 768px) {
    /* Ajusta a altura da imagem dos produtos no celular */
    .card a div {
        height: 200px !important; /* Diminui de 280px para 200px */
    }
    
    .card img {
        object-fit: contain !important; /* "contain" mostra a foto inteira sem cortar nada */
        background-color: #fff; /* Fundo branco caso a foto não preencha tudo */
    }

    /* Ajuste do banner para não ficar muito alto no celular */
    .hero-banner {
        height: 250px !important;
    }
    
    .hero-banner h1 {
        font-size: 2rem !important; /* Texto menor */
    }
}
/* --- CORREÇÃO PAINEL ADMIN --- */
/* Força a barra lateral a ser roxa e o texto branco */
.sidebar-admin, .bg-sidebar {
    background: linear-gradient(180deg, #2e1437 0%, #4a235a 100%) !important;
    color: #fff !important;
}

.sidebar-admin a, .bg-sidebar a {
    color: rgba(255,255,255,0.8) !important; 
    text-decoration: none;
}

.sidebar-admin a:hover, .bg-sidebar a:hover {
    color: #d4af37 !important; /* Dourado ao passar o mouse */
    background-color: rgba(255,255,255,0.1);
}