:root { --primary: #0d6efd; --bg: #f4f6f9; --footer-bg: #212529; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: var(--bg); color: #444; display: flex; flex-direction: column; min-height: 100vh; }

/* Navbar Clean */
.navbar { background: white; box-shadow: 0 4px 20px rgba(0,0,0,0.03); padding: 0.8rem 0; z-index: 1000; }
.brand { font-weight: 800; font-size: 1.4rem; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.nav-link { color: #666; font-weight: 500; margin-right: 15px; transition: .3s; font-size: 0.95rem; }
.nav-link:hover { color: var(--primary); }

/* Botão Carrinho */
.btn-cart-nav {
    border: 1px solid #e2e8f0; background: white; color: #333; font-size: 0.9rem; padding: 8px 16px; border-radius: 8px; transition: .3s; display: flex; align-items: center; gap: 8px;
}
.btn-cart-nav:hover { border-color: var(--primary); color: var(--primary); background: #f8faff; }
.cart-badge { background: #ef4444; color: white; font-size: 0.7rem; padding: 2px 6px; border-radius: 10px; }

/* Banner Principal */
.main-banner {
    background: linear-gradient(135deg, #0d6efd 0%, #0043a8 100%);
    color: white;
    padding: 50px 0;
    margin-bottom: 40px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.15);
}
.banner-title { font-weight: 800; font-size: 2.2rem; margin-bottom: 10px; }

/* --- SIDEBAR PREMIUM --- */
.sidebar-widget {
    background: white; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); margin-bottom: 25px; overflow: hidden; border: 1px solid #f0f0f0;
}
.widget-header {
    padding: 15px 20px; background: #fbfbfb; border-bottom: 1px solid #f0f0f0; font-weight: 700; color: #333; display: flex; align-items: center; gap: 10px; font-size: 0.95rem;
}
.sidebar-cta {
    background: linear-gradient(135deg, #0d6efd 0%, #0039a6 100%); padding: 30px 20px; text-align: center; color: white;
}
.sidebar-cta h5 { font-weight: 800; margin-bottom: 5px; font-size: 1.2rem; }
.sidebar-cta p { font-size: 0.9rem; opacity: 0.9; margin-bottom: 20px; }
.btn-whatsapp-white {
    background: white; color: #0d6efd; font-weight: 700; border-radius: 50px; padding: 10px 25px; text-decoration: none; display: inline-block; transition: .3s; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn-whatsapp-white:hover { background: #f0f0f0; color: #0039a6; transform: translateY(-2px); }

/* Menu Lateral */
.sidebar-menu a {
    display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; color: #555; text-decoration: none; border-bottom: 1px solid #f8f9fa; transition: all 0.2s; font-size: 0.9rem; font-weight: 500;
}
.sidebar-menu a:last-child { border-bottom: none; }
.sidebar-menu a:hover { background-color: #f8faff; color: var(--primary); padding-left: 25px; }
.sidebar-menu a.active { background-color: var(--primary); color: white; }
.sidebar-menu i { color: #adb5bd; font-size: 1.1rem; }
.sidebar-menu a:hover i { color: var(--primary); }
.sidebar-menu a.active i { color: white; }

/* Cards Produtos */
.card { background: white; border-radius: 12px; border: 1px solid #eee; transition: .3s; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: transparent; }
.card-img { height: 180px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid #f0f0f0; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: .3s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.price { font-size: 1.4rem; font-weight: 800; color: var(--primary); margin: 10px 0; }
.btn-primary { background: var(--primary); border: none; font-weight: 600; padding: 12px; width: 100%; border-radius: 8px; margin-top: auto; }
.btn-primary:hover { background: #0b5ed7; box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3); }

/* Footer */
.main-footer { background: var(--footer-bg); color: #ccc; padding: 60px 0 30px; margin-top: auto; }
.footer-title { color: white; font-weight: 700; margin-bottom: 20px; font-size: 1.1rem; }
.footer-link { color: #999; text-decoration: none; display: block; margin-bottom: 10px; transition: 0.3s; font-size: 0.9rem; }
.footer-link:hover { color: white; transform: translateX(5px); }
.copy-bar { border-top: 1px solid #333; margin-top: 40px; padding-top: 20px; text-align: center; font-size: 0.85rem; opacity: 0.6; }
/* =========================================
   SINGLE PAGE PRODUCT (AJUSTE DESKTOP)
   ========================================= */

/* Container da Imagem */
.product-gallery-wrapper {
    background: radial-gradient(circle at center, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 2rem;
    /* AJUSTE: Altura mínima reduzida para equilibrar com o texto */
    min-height: 350px; 
    height: 100%; /* Ocupa a altura total da coluna */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.product-image-zoom {
    /* AJUSTE: Limita a altura da imagem para não estourar */
    max-height: 320px; 
    width: auto;
    max-width: 100%;
    object-fit: contain; /* Garante que a imagem inteira apareça */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.product-gallery-wrapper:hover .product-image-zoom {
    transform: scale(1.05) translateY(-5px);
}

/* Tipografia e Preço */
.product-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    line-height: 1.2;
    font-size: 2rem; /* Leve ajuste para não ficar gigante */
}

.product-price {
    font-size: 2.5rem; /* Ajustado de 3rem para 2.5rem */
    font-weight: 800;
    color: #0d6efd; 
    letter-spacing: -1px;
}

.product-sku {
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Botão de Compra */
.btn-buy-lg {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    padding: 15px 24px; /* Levemente mais compacto */
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(13, 110, 253, 0.2);
}

.btn-buy-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(13, 110, 253, 0.3);
    background: linear-gradient(135deg, #0b5ed7 0%, #084298 100%);
}

/* Benefícios (Trust Badges) */
.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 0;
    border: 1px solid #e9ecef;
}
.trust-badge i {
    font-size: 1.25rem;
    color: #0d6efd;
}
.trust-text h6 { margin: 0; font-weight: 700; font-size: 0.85rem; }
.trust-text p { margin: 0; font-size: 0.75rem; color: #6c757d; }

/* Descrição */
.product-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #495057;
}

/* Link de voltar */
.hover-underline:hover {
    text-decoration: underline !important;
    color: #0d6efd !important;
}
/* =========================================
   RESPONSIVIDADE (AJUSTES MOBILE)
   ========================================= */

@media (max-width: 991px) {
    /* 1. Galeria menor no celular para o usuário ver o título mais rápido */
    .product-gallery-wrapper {
        min-height: 300px; /* Reduz de 450px para 300px */
        padding: 1.5rem;
        border-radius: 16px 16px 0 0; /* Arredonda só em cima */
    }

    /* 2. Remove a borda lateral e adiciona uma divisória sutil */
    .col-lg-6.border-start {
        border-left: none !important;
        border-top: 1px solid #f0f0f0;
    }

    /* 3. Ajuste de Tipografia para telas pequenas */
    .product-title {
        font-size: 1.75rem; /* Reduz um pouco o tamanho do título */
    }

    .product-price {
        font-size: 2.2rem; /* Preço mais equilibrado */
    }

    /* 4. Ajuste dos Trust Badges para não quebrar */
    .trust-badge {
        padding: 10px;
        flex-direction: column; /* Ícone em cima, texto embaixo */
        text-align: center;
        gap: 5px;
    }
    
    .trust-badge i {
        font-size: 1.2rem;
        margin-bottom: 2px;
    }
}