/* ======================================================
   VARIÁVEIS GLOBAIS – Mantemos a base do site
====================================================== */
:root {
    --primaria: #7b2cbf;
    --primaria-dark: #5a189a;

    --texto: #111;
    --texto-suave: #555;

    --bg: #ffffff;
    --bg-cinza: #f4f4f4;

    --radius: 4px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* ======================================================
   CONTAINER GLOBAL
====================================================== */
.loja-main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px; 
}


/* ======================================================
   TÍTULO DA PÁGINA — igual aos LIVROS
====================================================== */
.loja-hero h1 {
    text-align: center;
    font-size: 1.9rem;
    color: var(--primaria);
    margin: 40px 0 30px;
}


/* ======================================================
   FORMULÁRIO DE BUSCA / FILTRO — igual aos LIVROS
====================================================== */
.loja-filtros {
    margin-bottom: 40px;
}

.loja-filtros-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.loja-filtros-form input,
.loja-filtros-form select {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: var(--radius);
    min-width: 220px;
    font-size: .95rem;
    color: var(--texto);
}

/* Botão igual ao dos livros */
.btn-filtro {
    border: none;
    padding: 10px 22px;
    background: var(--primaria);
    color: #fff;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: .95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: .2s ease;
}

.btn-filtro:hover {
    background: var(--primaria-dark);
}


/* ======================================================
   GRID DE PRODUTOS — igual ao GRID DE LIVROS
====================================================== */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
}

/* ======================================================
   CARD DO PRODUTO — idêntico ao CARD DE LIVRO
====================================================== */
.produto-card {
    text-align: center;
    padding: 5px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Capa reta, sem sombra, sem borda */
.produto-img-wrapper img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 10px;
    transition: transform .2s ease-in-out;
}

.produto-img-wrapper img:hover {
    transform: scale(1.04);
}

/* Títulos e metadados */
.produto-info h2 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--texto);
}

.produto-categoria {
    font-size: .85rem;
    color: var(--texto-suave);
    margin-bottom: 3px;
}

/* Preço */
.produto-preco-page {
    font-size: .95rem;
    font-weight: 600;
    color: var(--primaria);
    margin: 5px 0 10px;
}

/* Botão Ver detalhes — no fundo */
.produto-card .btn-produto {
    margin-top: auto;
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background: var(--primaria);
    color: #fff;
    border-radius: var(--radius);
    transition: .2s;
    text-decoration: none;
}

.produto-card .btn-produto:hover {
    background: var(--primaria-dark);
}


/* ======================================================
   SEM RESULTADOS
====================================================== */
.loja-sem-resultados {
    text-align: center;
    color: var(--texto-suave);
    margin-top: 40px;
    font-size: 1rem;
}


/* ======================================================
   RESPONSIVIDADE — igual LIVROS
====================================================== */
@media (max-width: 600px) {
    .produtos-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .loja-filtros-form input,
    .loja-filtros-form select {
        min-width: 180px;
    }
}


/* ======================================================
   FOOTER — protegido
====================================================== */
footer,
.footer,
#footer {
  background: #1a1423 !important;
  color: #fff !important;
}
body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, .title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}
