/* Reset e Estilos Globais */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: #2980b9;
}

/* Cabeçalho */


/* Navegação */
.main-nav ul {
    margin-top: 0;
    padding: 0;
    list-style: none;
   
}





/* Conteúdo Principal */
.site-main {
    padding: 3rem 0;
}

.page-title {
    font-size: 2.5rem;
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.element {
    margin-bottom: 2rem;
}

/* --- NOVOS ESTILOS PARA PÁGINA DE PRODUTOS --- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.product-card-image {
    width: 100%;
    height: 200px; /* Altura fixa para a imagem */
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ESSENCIAL: Preenche o container sem distorcer */
    transition: transform 0.4s;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.product-card-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #27ae60;
    margin-bottom: 1rem;
}

.product-card-description {
    font-size: 0.9rem;
    color: #666;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.product-card-button {
    display: block;
    background-color: #3498db;
    color: #fff;
    text-align: center;
    padding: 0.75rem;
    border-radius: 5px;
    font-weight: bold;
    margin-top: auto; /* Empurra o botão para o fundo */
}

/* --- NOVOS ESTILOS PARA DETALHES DO PRODUTO --- */

.produto-detalhe-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
}

.produto-imagens {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image-view {
    width: 100%;
    height: 400px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.main-image-view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
}

.gallery-thumbnails img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s, opacity 0.3s;
}

.gallery-thumbnails img:hover {
    opacity: 0.8;
}

.gallery-thumbnails img.active {
    border-color: #3498db;
}

.produto-info h1 {
    margin-top: 0;
    font-size: 2.2rem;
}

.produto-info .product-price {
    font-size: 2rem;
    color: #27ae60;
    margin-bottom: 1.5rem;
}

.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    margin-top: 1.5rem;
    transition: background-color 0.3s, transform 0.2s;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .produto-detalhe-container {
        grid-template-columns: 1fr;
    }
}


/* Rodapé */
.site-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}



/* ESTILOS PARA ÁLBUNS */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.album-card {
    display: block;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}
.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px Bpx rgba(0,0,0,0.15);
}
.album-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}


.album-description {
    text-align: center;
    max-width: 700px;
    margin: -10px auto 30px;
    color: #666;
}
.album-section-title {
    margin-top: 40px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* ESTILOS PARA GALERIA DE FOTOS E LIGHTBOX */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}
.photo-thumbnail {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.photo-thumbnail:hover {
    transform: scale(1.05);
}
.photo-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}
#lightbox-caption {
    text-align: center;
    color: #fff;
    margin-top: 15px;
    font-size: 1.1rem;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    user-select: none;
    z-index: 1001;
}
.lightbox-close { top: 20px; right: 30px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }




/* ... (todo o seu CSS existente fica aqui em cima) ... */

/* --- NOVOS ESTILOS PARA BLOCOS DE CONTEÚDO --- */

/* Contêiner geral para um bloco de conteúdo */
.content-block {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

/* Bloco de Produto inserido em uma página */
.product-block .product-card-standalone {
    display: flex;
    gap: 20px;
    background-color: #fdfdfd;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    align-items: flex-start;
}

.product-block .product-image-link {
    flex-shrink: 0;
}

.product-block .product-image-link img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.product-block .product-details h3 {
    margin-top: 0;
}

.product-block .product-details .price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 10px;
}

.product-block .product-details p {
    color: #666;
    line-height: 1.6;
}

.product-block .product-details .button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
    transition: background-color 0.2s;
}

.product-block .product-details .button:hover {
    background-color: #0056b3;
}

/* Bloco de Álbum inserido em uma página */
.album-block .album-section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
    display: inline-block;
}

/* Garante que o photo-grid do álbum também funcione aqui */
.album-block .photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}














/* ... seu CSS existente ... */

/* Estilos para a Logo no Cabeçalho */
.site-header .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
}

.site-header .logo img {
    max-height: 50px; /* Ajuste a altura máxima da sua logo */
    width: auto;
}







/* ... seu CSS existente ... */

/* --- ESTILOS ATUALIZADOS DO HEADER --- */
.site-header .container {
    display: flex;
    justify-content: space-between; /* Padrão (alinhado à direita) */
    align-items: center;
}
.site-header .container.header-layout-left { justify-content: flex-start; }
.site-header .container.header-layout-center { justify-content: center; position: relative; }
.site-header .container.header-layout-center .logo { position: absolute; left: 20px; } /* Ajuste conforme necessário */

.site-header .logo img {
    transition: transform 0.3s ease; /* Animação suave para a posição da logo */
}

/* --- ESTILOS ATUALIZADOS DO MENU --- */
.main-nav a {
    position: relative;
    padding: 10px 0;
    transition: color 0.2s ease;
}

/* Efeito: Linha Abaixo */
.menu-effect-underline .main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--menu-text-hover-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.menu-effect-underline .main-nav a:hover::after,
.menu-effect-underline .main-nav .active a::after {
    transform: scaleX(1);
}

/* Efeito: Linha Acima */
.menu-effect-overline .main-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--menu-text-hover-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.menu-effect-overline .main-nav a:hover::before,
.menu-effect-overline .main-nav .active a::before {
    transform: scaleX(1);
}

/* Efeito: Ambas as Linhas */
.menu-effect-both .main-nav a::before,
.menu-effect-both .main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--menu-text-hover-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.menu-effect-both .main-nav a::before { top: 0; }
.menu-effect-both .main-nav a::after { bottom: 0; }
.menu-effect-both .main-nav a:hover::before,
.menu-effect-both .main-nav a:hover::after,
.menu-effect-both .main-nav .active a::before,
.menu-effect-both .main-nav .active a::after {
    transform: scaleX(1);
}



/* ... seu CSS existente ... */

/* --- ESTILOS ATUALIZADOS DO MENU --- */
.main-nav a {
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease; /* Mudei para 'all' para incluir background */
}

/* Efeito: Linha Abaixo */
.menu-effect-underline .main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--menu-text-hover-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.menu-effect-underline .main-nav a:hover::after,
.menu-effect-underline .main-nav .active a::after {
    transform: scaleX(1);
}

/* Efeito: Linha Acima */
.menu-effect-overline .main-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--menu-text-hover-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.menu-effect-overline .main-nav a:hover::before,
.menu-effect-overline .main-nav .active a::before {
    transform: scaleX(1);
}

/* Efeito: Ambas as Linhas */
.menu-effect-both .main-nav a::before,
.menu-effect-both .main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--menu-text-hover-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.menu-effect-both .main-nav a::before { top: 0; }
.menu-effect-both .main-nav a::after { bottom: 0; }
.menu-effect-both .main-nav a:hover::before,
.menu-effect-both .main-nav a:hover::after,
.menu-effect-both .main-nav .active a::before,
.menu-effect-both .main-nav .active a::after {
    transform: scaleX(1);
}

/* Efeito: Fundo Colorido - ESTILO QUE ESTAVA FALTANDO */
.menu-effect-background .main-nav a {
    padding: 8px 16px !important; /* Adiciona padding para o fundo */
    border-radius: 6px;
    transition: all 0.3s ease;
}

.menu-effect-background .main-nav a:hover,
.menu-effect-background .main-nav .active a {
    background-color: var(--menu-text-hover-color) !important;
    color: white !important;
    transform: translateY(-2px);
}

/* Efeito: Nenhum */
.menu-effect-none .main-nav a:hover {
    /* Sem efeito */
    transform: none;
}

