/* Espaçamento geral da página interna */
.page-content {
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--pink-primary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--brown-dark);
    font-size: 1.2rem;
}

/* --- SEPARAÇÃO POR CATEGORIAS --- */
.menu-category {
    margin-bottom: 80px;
}

.category-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px dashed var(--pink-light);
    padding-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.category-title-menu {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--brown-dark);
    margin-bottom: 10px;
}

.category-desc {
    color: #666;
    font-size: 1.1rem;
}

/* --- GRID DE PRODUTOS --- */
.products-grid {
    display: grid;
    /* Isso faz a mágica da responsividade: cria colunas automáticas */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-align: center;
    border: 1px solid var(--pink-light);
    display: flex;
    flex-direction: column; /* Garante que os itens fiquem alinhados caso textos tenham tamanhos diferentes */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(242, 66, 122, 0.15); /* Sombra rosada */
}

/* Estilização da Foto Real do Doce */
.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover; /* Corta a imagem perfeitamente sem achatar */
    border-bottom: 2px solid var(--bg-cream);
}

/* Estilo para quando a imagem falhar ao carregar (se faltar algum arquivo) */
.fallback-img {
    object-fit: contain !important;
    padding: 30px;
    background-color: var(--pink-light);
}

.product-info {
    padding: 25px 20px;
    flex-grow: 1; /* Empurra o botão sempre pro final do card */
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.3rem;
    color: var(--brown-dark);
    margin-bottom: 10px;
}

.product-info p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1; /* Faz o texto preencher o espaço restante */
}

.price {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--pink-primary);
    margin-bottom: 20px;
}

.btn-order {
    display: inline-block;
    background-color: var(--brown-dark);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    width: 100%; /* Botão ocupando a largura do cartão */
}

.btn-order:hover {
    background-color: var(--pink-primary);
}