:root {
    /* Paleta de Cores (simplificada) */
    --marrom-escuro: #8B4513;
    --marrom-logo: #A0522D;
    --bege-claro: #F5DEB3;
    --branco: #FFFFFF;
    --verde-whatsapp: #25D366;
}

/* ===== BASE ===== */
body {
    background-color: var(--bege-claro);
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
}

/* ===== BIO INSTAGRAM ===== */
.bio-instagram {
    max-width: 100%;
    overflow-x: hidden;
}

.hero-wave {
    position: relative;
    height: 30vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 2rem;
}

.wave-top, .wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-top {
    top: 0;
}

.wave-bottom {
    bottom: 0;
    transform: rotate(180deg);
}

.wave-top svg, .wave-bottom svg {
    display: block;
    width: calc(100% + 1.3px);
    width: 100%;
}

.logo-container {
    margin: 2rem 0;
    z-index: 2;
}

.logo-bio {
    height: 200px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.cta-bio {
    z-index: 2;
    margin-top: 1rem;
}

.btn-whatsapp-bio {
    background-color: var(--verde-whatsapp);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.btn-whatsapp-bio:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background-color: #128C7E;
    color: white;
}

.categorias-bio {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    padding: 2rem 1rem;
    background: var(--bege-claro);
    scrollbar-width: none;
}

.categorias-bio::-webkit-scrollbar {
    display: none;
}

.categoria-card {
    min-width: 250px;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(160, 82, 45, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.categoria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(160, 82, 45, 0.2);
}

.categoria-img {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.categoria-card h3 {
    color: var(--marrom-escuro);
    padding: 1rem 1rem 0.5rem;
    margin: 0;
    font-size: 1.2rem;
}

.categoria-card p {
    color: var(--marrom-logo);
    padding: 0 1rem 1rem;
    margin: 0;
    font-size: 0.9rem;
}

/* ===== FOOTER BIO ===== */
.footer-bio {
    /*background: linear-gradient(to right, var(--marrom-escuro), var(--marrom-logo));*/
    padding: 1.5rem 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.social-bio {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-link {
    color: white;
    background: linear-gradient(to right, var(--marrom-escuro), var(--marrom-logo));
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link.whatsapp {
    background: var(--verde-whatsapp);
}

.social-link:hover {
    transform: translateY(-3px);
    background: #fff;
	color: linear-gradient(to right, var(--marrom-escuro), var(--marrom-logo));
}

.copyright {
    color: linear-gradient(to right, var(--marrom-escuro), var(--marrom-logo));
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.8;
}

.footer-bio::before {
    content: '';
    display: block;
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 20" xmlns="http://www.w3.org/2000/svg"><path fill="%23F5DEB3" d="M0,0V5.63C149.93,10,314.09,12,475.83,8.57c43-1.53,84.23-4.02,127.61-5.06C663.86,2.48,778.14,4,891.3,3.05c113.16-0.95,226.33-3.57,308.7-5.05V0Z"/></svg>');
    background-size: cover;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .hero-wave {
        height: 20vh !important;
		margin-top: -2px;
    }
    
    .logo-bio {
        height: 150px !important;
    }
    
    .wave-top svg, .wave-bottom svg {
        height: 40px;
    }
    
    .categoria-card {
        min-width: 200px;
    }
}

/* ===== PÁGINAS DE CATEGORIAS ===== */
.categoria-page {
    background: var(--bege-claro);
    padding-bottom: 2rem;
}

.categoria-header {
    background: linear-gradient(to right, var(--marrom-escuro), var(--marrom-logo));
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.categoria-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.categoria-divider {
    height: 4px;
    width: 100px;
    background: var(--bege-claro);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.categoria-info {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin: -2rem auto 2rem;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1);
    position: relative;
    z-index: 3;
}

.categoria-info h5 {
    color: var(--marrom-logo);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.categoria-info ul {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.categoria-info li {
    margin-bottom: 0.5rem;
}

/* Cards de Produtos */
.card-produto {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1);
    background: white;
}

.card-produto:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.2);
}

.card-produto .card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.card-produto .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 200px);
}

.card-produto .card-title {
    color: var(--marrom-escuro);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-produto .card-text {
    color: #666;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.card-produto .preco {
    color: var(--marrom-logo);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.btn-whatsapp {
    background-color: var(--verde-whatsapp);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    width: 100%;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 768px) {
    .categoria-header {
        padding: 2rem 0;
    }
    
    .categoria-header h1 {
        font-size: 2rem;
    }
    
    .categoria-info {
        padding: 1rem;
        margin: -1rem auto 1.5rem;
    }
    
    .card-produto .card-img-top {
        height: 150px;
    }
}

.btn-voltar-home {
    background-color: var(--marrom-logo);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
	text-align: center;
    gap: 8px;
    margin: 0 auto;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 2px solid var(--marrom-escuro);
}

.btn-voltar-home:hover {
    background-color: var(--marrom-escuro);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(139, 69, 19, 0.3);
    color: white;
}

.btn-voltar-home i {
    font-size: 1.2rem;
}