/* ============================================
   BANNER FULL-WIDTH
   ============================================ */

.product-banner-top {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #f8f9fa;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.product-banner-top .banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.product-banner-top .banner-image {
    width: 100%;
    height: var(--banner-height, 400px);
    object-fit: cover;
    object-position: center;
    display: block;
}

.product-banner-top .banner-title {
    font-size: 2rem;
    margin: 20px 0 0;
    font-weight: 600;
}

.product-banner-top .banner-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-banner-top .banner-title a:hover {
    color: #d47600;
}

.product-banner-description {
    max-width: 800px;
    margin: 15px auto 0;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    text-align: center;
    border-left: 4px solid #d47600;
    border-right: 4px solid #d47600;
}

/* ============================================
   OCULTAR A ROW PRINCIPAL DO PRODUTO
   ============================================ */

body#product .product-info-row {
    display: none !important;
}

/* ============================================
   LAYOUT DE DUAS COLUNAS
   ============================================ */

.product-content-wrapper {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.product-main-column {
    flex: 1;
    min-width: 0;
}

.product-sidebar-column {
    width: 300px;
    flex-shrink: 0;
}

/* Estilo para a descrição curta original (se for usada) */
.product-short-description-original {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #3498db;
}

/* Garantir que os módulos da sidebar mantenham estilo */
.product-sidebar-column .module {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Responsivo: em mobile, sidebar fica abaixo */
@media (max-width: 768px) {
    .product-content-wrapper {
        flex-direction: column;
    }
    
    .product-sidebar-column {
        width: 100%;
    }
}

/* Forçar expansão da category tree */
.product-sidebar-column .category-sub-menu ul,
.product-sidebar-column .categories-tree ul ul,
.product-sidebar-column .block-categories ul ul,
.product-sidebar-column [class*="category"] ul ul {
    display: block !important;
}

/* Remover indicadores de colapso se necessário */
.product-sidebar-column .collapse-icons .fa-plus,
.product-sidebar-column .collapse-icons .add {
    display: none !important;
}

/* Garantir que os subníveis estão visíveis */
.product-sidebar-column .collapse {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
}

.product-sidebar-column .collapsed {
    display: block !important;
}

/* Garantir que não há abas duplicadas visíveis */
.product-tabs:not(.product-main-column .product-tabs) {
    display: none !important;
}