/* ARQUIVO: manual.css */

/* Wrapper que força a largura total (Full Width) */
.cp-ftp-wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background-color: #1c1c1c;
    color: #fff;
    font-family: 'Inter Tight', sans-serif, Arial;
    padding: 60px 0;
    line-height: normal;
    box-sizing: border-box;
    position: relative;
    /* Isso garante que o manual fique abaixo do cabeçalho da loja */
    z-index: 1 !important; 
}

.cp-container {
    width: 94%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

/* Reset de box-sizing */
.cp-ftp-wrapper *, .cp-ftp-wrapper *::before, .cp-ftp-wrapper *::after {
    box-sizing: border-box;
}

/* --- COLUNA ESQUERDA (CONTEÚDO) --- */
.cp-content-box {
    flex: 1;
    min-width: 300px;
    background-color: #2a2a2a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 40px;
    min-height: 600px;
}

/* Abas (Conteúdo) */
.cp-tab-pane {
    display: none;
    animation: cpFade 0.4s ease;
}
.cp-tab-pane.active {
    display: block;
}
@keyframes cpFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- COLUNA DIREITA (MENU) --- */
.cp-menu-box {
    flex: 0 0 320px;
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Botões */
.cp-nav-btn {
    background-color: #252525;
    padding: 18px 20px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s;
    user-select: none;
}
.cp-nav-btn:hover { background-color: #333; }

.cp-nav-btn.active {
    background-color: #333;
    border: 1px solid #5FD0DF;
    box-shadow: 0 0 15px rgba(95, 208, 223, 0.15);
}

/* --- TIPOGRAFIA E ELEMENTOS --- */
.cp-tab-pane h2 { color: #5FD0DF; border-bottom: 2px solid #333; padding-bottom: 20px; margin-top: 0; font-size: 28px; font-weight: 700; }
.cp-tab-pane h3 { color: #5FD0DF; margin-top: 40px; border-bottom: 1px solid #444; padding-bottom: 5px; font-size: 20px; font-weight: 700; }
.cp-tab-pane ul { padding-left: 20px; margin-bottom: 20px; color: #ddd; }
.cp-tab-pane li { margin-bottom: 8px; line-height: 1.6; }
.cp-tab-pane p { color: #ddd; line-height: 1.6; font-size: 15px; margin-bottom: 15px; }
.cp-tab-pane strong { color: #fff; font-weight: 700; }
.cp-tab-pane .aviso-importante { color: #ff5555; font-weight: 700; font-style: italic; margin-top: 30px; display: block; border: 1px solid #ff5555; padding: 10px; border-radius: 4px;}

/* Grid Combustível */
.cp-fuel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 15px; margin-top: 25px; }
.cp-fuel-card { background: #1f1f1f; border: 1px solid #333; padding: 15px 5px; text-align: center; border-radius: 6px; }
.cp-fuel-card img { height: 40px; display: block; margin: 0 auto 8px; object-fit: contain; }
.cp-fuel-card span { font-size: 11px; font-weight: 700; color: #fff; text-transform: uppercase; }

/* Ícones Menu */
.cp-menu-icon { font-size: 24px; width: 30px; text-align: center; }
.cp-menu-text h4 { margin: 0; font-size: 15px; font-weight: 700; color: #fff; }
.cp-menu-text p { margin: 2px 0 0; font-size: 12px; color: #aaa; }

/* --- AJUSTE DEFINITIVO PARA TEMA MORELIA (MOBILE) --- */
@media (max-width: 900px) {
    
    /* O fundo da página continua preto */
    .cp-ftp-wrapper {
        padding: 20px 0 !important;
        background-color: #1c1c1c !important;
        overflow-x: hidden !important;
    }

    /* O container centraliza os elementos */
    .cp-container { 
        display: flex !important;
        flex-direction: column !important; 
        width: 100% !important;
        padding: 0 !important;
        gap: 20px !important;
    }

    /* CONTEÚDO: Vira um "card" arredondado que não encosta nas bordas */
    .cp-content-box { 
        order: 1 !important; 
        /* Define que a caixa ocupa 90% da largura da tela */
        width: 90% !important; 
        /* Centraliza a caixa (sobrando 5% de margem preta de cada lado) */
        margin: 0 auto !important; 
        padding: 25px !important; 
        background-color: #2a2a2a !important;
        border: 1px solid #333 !important;
        border-radius: 15px !important; /* Bordas bem arredondadas */
        min-height: auto !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
    }

    /* MENU: Também arredondado e centralizado */
    .cp-menu-box { 
        order: 2 !important; 
        width: 90% !important;
        margin: 0 auto 40px auto !important;
        flex: none !important;
        gap: 10px !important;
    }

    /* Botões do menu também arredondados */
    .cp-nav-btn {
        width: 100% !important;
        padding: 15px !important;
        border-radius: 10px !important;
    }
}